NLTK # NLTK分词 words = tokenize.word_tokenize(result, language='portuguese') # NLTK词性标注 words_tagger = nltk.pos_tag(words, lang='pt') nltk只支持英语、俄语的词性标注