John Jason Jordan wrote: > For a class I am taking (Applied Linguistics) the class has just been > given an assignment from a guest lecturer involving python and the > Natural Language Toolkit (NTLK). I need to do the work on my Xubuntu > 14.04 laptop, as I have no computers with any kind of current Windows. > > Here are the instructions: > ----- > I'd also like them to check out the NLTK website at > http://www.nltk.org/ and do the following: 1) install python and NLTK > following these instructions: http://www.nltk.org/install.html a) > install the NLTK data following these instructions: > http://www.nltk.org/data.html > > Rather than follow the instructions at ntlk.org/install I just found > python-ntlk in Synaptic and installed it. Apparently this also > installed numpy. > > Then I tried to follow this to download the data: > ----- > from the ntlk.org/install page: > To install the data, first install NLTK (see > http://nltk.org/install.html), then use NLTK’s data downloader as > described below. > ... > Reading through the rest of the download options the only one that made > any sense was: > Run the command python -m nltk.downloader all > ----- > > But this command just gave a 404 (not found) error. > > I should get this done by class time Friday, but at the moment I am > stuck and there is little point in asking the professor or guest > lecturer as it is clear that they only know how to do these things on > Windows. On the other hand I am just auditing the class, so it's not > the end of the world if I can't get it done. Yet, as a Linux user I > am compelled to do my best to get it working on Linux. Oh, and all I > know about python is that it is some kind of programming language. > > Any ideas or suggestions welcome! > _______________________________________________ > PLUG mailing list > PLUG@lists.pdxlinux.org > http://lists.pdxlinux.org/mailman/listinfo/plug John Jason Jordan,
Did you look for a deb or rpm package with the nltk name. Fedora 22 has a python-nltk and python3-nltk package available. Ken CAD2CAM.COM _______________________________________________ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug