自然语言处理

2.5节的wordnet的层次结构里

motorcar = wn.synsets('car.n.01')
types_of_motorcar = motorcar.hypernyms()
print(types_of_motorcar[26])

这里运行不同,一直说

wordnet 里上下位词

没有解决

相关文章: