Anyone hear when NLTK 3.0 will be out?

前端 未结 5 1107
無奈伤痛
無奈伤痛 2021-01-05 18:15

The website, http://www.nltk.org, says mid 2011 in a very vague manner. I would like to start using NLTK however I have done a fair amount of work with Python 3.x and I don

相关标签:
5条回答
  • 2021-01-05 18:34

    There is a "2and3" branch in the main nltk repo - see https://github.com/nltk/nltk/tree/2and3

    It appears to be getting updated regularly, although I haven't tried it myself.

    0 讨论(0)
  • 2021-01-05 18:42

    There's a Python 3 branch:

    https://github.com/nltk/nltk/tree/nltk-py3k

    It's a transformation of the trunk and gets updated every so often to keep up with changes. You can check it out directly from git (instead of using the NLTK installation) and give it a shot.

    git clone git://github.com/nltk/nltk.git nltk --branch nltk-py3k
    

    I haven't used it personally, but I assume it works.

    0 讨论(0)
  • 2021-01-05 18:44

    For those who got here wondering when will nltk support python3:

    Good news, the NLTK 3.0 series (currently on alpha and in development since Jan 2013) now support Python 2.6, 2.7 and Python 3 (http://www.nltk.org/nltk3-alpha/), We'll probably see a stable release soon :)

    And the book is also being updated for python3, available at: http://www.nltk.org/book3/

    0 讨论(0)
  • 2021-01-05 18:45

    So, the official release was in September 2014, just to add closure to the question

    0 讨论(0)
  • 2021-01-05 18:50

    Here's the alpha release: https://github.com/nltk/nltk3-alpha

    Alternative NLP: TextBlob is fully Python 3. https://github.com/sloria/TextBlob

    Tutorial: http://www.stevenloria.com/how-to-build-a-text-classification-system-with-python-and-textblob/

    0 讨论(0)
提交回复
热议问题