英文词干提取器,import nltk,porter = nltk.PorterStemmer(),porter.stem('lying') . 词性标注器,pos_tag处理词序列,根据句子动态判断,import nltk,text = nltk.word_tokenize("And now for something completely different”),nltk.pos_tag(text) .CC 连接词,RB 副词,IN 介词,NN 名次,JJ 形容词. 标注自定义词性标注语料库