本文介绍了Python NLTK Brill Tagger没有SymmetricProximateTokensTemplate,ProximateTokensTemplate,ProximateTagsRule,ProximateWordsRule的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试导入时,

Python抛出导入错误,

Python Throws Import Error,

出什么问题了?

但这可行

推荐答案

NLTK的Brill部分已在NLTK 3中进行了重新设计.因此,您尝试导入的所有这些类均已不存在.
参见 https://github.com/nltk/nltk/pull/549

The Brill part of NLTK has been redesigned in NLTK 3. So all those classes you try to import do not exist any more.
See https://github.com/nltk/nltk/pull/549

我正在寻找一个如何使用Brill Tagger的示例,但是到目前为止,我什么都没找到.

I'm looking for an example how to use the Brill Tagger but till now, I didn't find anything.

这篇关于Python NLTK Brill Tagger没有SymmetricProximateTokensTemplate,ProximateTokensTemplate,ProximateTagsRule,ProximateWordsRule的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-09 23:28