wordnet 里上下位词

自然语言处理

2.5节的wordnet的层次结构里

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

这里运行不同,一直说

没有解决

猜你喜欢

转载自blog.csdn.net/weixin_41965702/article/details/81206623