Converting Adjectives And Adverbs To Their Noun Forms
Solution 1:
Search google or SO for terms like 'stemming' and 'lemmatization', these terms might help you get what you are looking for.
For example, go to http://qaa.ath.cx/porter_js_demo.html and enter the words 'beautiful' and 'beauty', and you will see they both stem to the same token.
Porter stemmer essentially removes common suffixes found in the english language, so is by no means definitive, but is a pretty good place to start.
You can consider words that map to the same stem to be in some sense synonymous. If you can procure part of speech tags for all these words as well, you will be able to infer that beauty is the noun form of the adjective beautiful.
Solution 2:
6
Search google or SO for terms like 'stemming' and 'lemmatization', these terms might help you get what you are looking for. For example, go to http://qaa.ath.cx/porter_js_demo.html and enter the words 'beautiful' and 'beauty', and you will see they both stem to the same token. Porter stemmer essentially removes common suffixes found in the english language, so is by no means definitive, but is a pretty good place to start. You can consider words that map to the same stem to be in some sense synonymous. If you can procure part of speech tags for all these words as well, you will be able to infer that beauty is the noun form of the adjective beautiful.
Post a Comment for "Converting Adjectives And Adverbs To Their Noun Forms"