Python 中的动词时态转换

Verb tense conversion in Python

我正在尝试将某些动词转换为其他时态以完成某些 NLP 任务。

我正在尝试按照此处的建议使用 NodeBox::Linguistics 库: Using NLTK and WordNet; how do I convert simple tense verb into its present, past or past participle form?

但我发现这段代码没有打印出正确的单词形式:

print en.verb.present("found")
print en.verb.infinitive("found")

我希望它打印 'find' 但它实际上只打印 'found'。

  1. 这是库中的错误还是我遗漏了什么?
  2. 出于任何其他原因,您会推荐使用任何其他库吗?

Nodebox 使用 Ogden Basic 英语单词表 (2000)。 https://www.nodebox.net/code/index.php/Linguistics#ogden

据我所知,'Found' 不在该列表中.. http://ogden.basic-english.org/word2000.html