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

后端 未结 4 1923
悲哀的现实
悲哀的现实 2020-11-27 15:20

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 fu

4条回答
  •  北荒
    北荒 (楼主)
    2020-11-27 15:48

    JWI (the WordNet library by MIT) also has a stemmer (WordNetStemmer) which converts different morphological forms of a word like ("written", "writes", "wrote") to their base form. It seems it works only for nouns (like plurals) and verbs though.

    Word Stemming in Java with WordNet and JWNL also shows how to do this kind of stemming using JWNL, another Java-based Wordnet library:

提交回复
热议问题