![]() ![]() ![]() Windows Vista users need to first turn on this option, using Start -> Properties -> Customize to check the box to activate the “Run…” option. Windows: Use the “Run…” option on the Start menu. To ensure central installation, run the command sudo python -m nltk.downloader -d /usr/local/share/nltk_data all. Run the command python -m nltk.downloader all. You can use the -d flag to specify a different location (but if you do this, be sure to set the NLTK_DATA environment variable accordingly). The recommended system location is C:\nltk_data (Windows) /usr/local/share/nltk_data (Mac) and /usr/share/nltk_data (Unix). If necessary, run the download command from an administrator account, or using sudo. If one does not exist it will attempt to create one in a central location (when using an administrator account) or otherwise in the user’s filespace. The downloader will search for an existing nltk_data directory to install NLTK data. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |