Skip to content
Advertisement

Using NLTK and WordNet; how do I convert simple tense verb into its present, past or past participle form?

Using NLTK and WordNet, how do I convert simple tense verb into its present, past or past participle form?

For example:

I want to write a function which would give me verb in expected form as follows.

JavaScript

Advertisement

Answer

I think what you’re looking for is the NodeBox::Linguistics library. It does exactly that:

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