Skip to content
Advertisement

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)

Advertisement

Answer

For singularity and plurality you can always use ‘pattern-en‘ library.

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement