sloria / textblob-aptagger

*Deprecated* A fast and accurate part-of-speech tagger for TextBlob.
MIT License
103 stars 40 forks source link

Textblob 0.9 broke compatibility #3

Closed matheuscas closed 10 years ago

matheuscas commented 10 years ago

After upgrade to latest version of Texblob (0.9.0 - 2014-09-15), text blob-aptagger has broken. The following error raised:

----> 1 from textblob_aptagger import PerceptronTagger

/Users/matheuscas/Envs/pesquisa/lib/python2.7/site-packages/textblob_aptagger/__init__.py in <module>()
      6 '''
      7 from __future__ import absolute_import
----> 8 from textblob_aptagger.taggers import PerceptronTagger
      9
     10 __version__ = '0.2.0'

/Users/matheuscas/Envs/pesquisa/lib/python2.7/site-packages/textblob_aptagger/taggers.py in <module>()
      8
      9 from textblob.base import BaseTagger
---> 10 from textblob.packages import nltk
     11 from textblob.exceptions import MissingCorpusException
     12 from textblob_aptagger._perceptron import AveragedPerceptron

ImportError: No module named packages

Besides that, I think I found some other problems like

Backwards-incompatible: MissingCorpusException to MissingCorpusError.
sloria commented 10 years ago

Closed by #4