'ntlk: how to get inflections of words
I have a list of words, nearly 5000 English words, and for each word I need these inflectional forms:
noun: singular and plural
verb: infinitive, present simple, present simple 3rd person, past simple, present participle (ing form), past participle
adjective: comparative and superlative
adverb
How can I extract these information from a given word (e.g. help) in ntlk via python? (or maybe there is a ready made list)
Solution 1:[1]
For singularity and plurality you can always use 'pattern-en' library.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 |