擅长:python、mysql、java
<p>此问题还取决于您使用的scipy版本。在</p>
<p>NLTK利用scipy.max熵它在scipy0.10中被弃用,并在0.11中被删除,请参阅它的文档:<a href="http://docs.scipy.org/doc/scipy-0.10.0/reference/maxentropy.html#" rel="nofollow">http://docs.scipy.org/doc/scipy-0.10.0/reference/maxentropy.html#</a></p>
<p>我确实在github上为此创建了一个问题:<a href="https://github.com/nltk/nltk/issues/307" rel="nofollow">https://github.com/nltk/nltk/issues/307</a></p>