Simple way to install NLTK with optionals in Fedora


You can go to http://www.nltk.org and download NLTK and all the extras – pyyaml, matplotlib, etc. However, these packages are now in the Fedora repositories which makes it a dead simple task to install.

$ sudo yum install python-nltk

burmese_python_125x125

You get PyYAML, python-dateutil, python-matplotlib, and all the fix’ins installed as dependencies. This works at least as far back as Fedora 12.

Now run nltk.download() to fetch any corpora you need.

>>> nltk.download()

nltk-downloader


Posted on October 21st, by admica in Linux, simple.

Leave a Reply

Your email address will not be published. Required fields are marked *


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">