我使用python的pyhanlp包,但是对于英文的词性标注所有的结果都是nw,
代码如下,
from pyhanlp import *
a1=HanLP.segment(a)
for i in a1:
print(i.word,i.nature)
类似结果如下:
however nx
, w
w
at nx
w
50 m
w
bucks nx
w
apiece nx
w
i nx
w
was nx
w
pleasantly nx
我尝试用中文就很顺利的词性标注,但是官网介绍可以用于其他语种,请问该怎么用于英文呢?