运用 nltk.tag.stanford.POSTagger.tag_sents() 用于标记多个句子。
nltk.tag.stanford.POSTagger.tag_sents()
该 tag_sents 已取代旧的 batch_tag 功能,见 https://github.com/nltk/nltk/blob/develop/nltk/tag/stanford.py#L61
tag_sents
batch_tag
的 弃用: 强>
使用标记句子 batch_tag 代替 tag ,见 http://www.nltk.org/_modules/nltk/tag/stanford.html#StanfordTagger.batch_tag
tag