나는 NLTK pos_tag에서 "hello"가 명사로 분류 된 이유는 무엇입니까?
text = nltk.word_tokenize("hello, my name is John")
words = nltk.pos_tag(text)
for w in words:
print "%s = %s" % (w[0], w[1])
을 시도했습니다 그리고 내가 가지고 :
hello = NN
, = ,
my = PRP$
name = NN
is = VBZ
John = NNP
Keyne, 대답입니다. –
@Ben : 멋지다! – joce
이것이 이것입니까? –