【发布时间】:2015-04-12 23:19:05
【问题描述】:
运行以下命令需要哪些包?
代码
import nltk
from nltk.corpus import wordnet
v = 'go'
present = present_tense(v)
I got an error saying-
错误信息
NameError:名称“present_tense”未定义
【问题讨论】:
-
我从那里拿起了命令。他没有提到需要导入的包。你能帮帮我吗?
-
应用程序,他们在问如何实现
present_tense函数,而不是导入现有函数。 -
en 包是 NodeBox 英语语言学库,@larsmans 在评论中引用