Created
August 10, 2017 09:28
-
-
Save junmakii/b74840dd87fb1c22277162851e9e7f3b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| nltk.corpus — NLTK 3.0 documentation <http://www.nltk.org/_modules/nltk/corpus.html> | |
| """ | |
| import nltk | |
| corpuses = """averaged_perceptron_tagger | |
| ptb | |
| brown | |
| stopwords | |
| sinica_treebank | |
| punkt | |
| words | |
| jeita | |
| knbc | |
| reuters | |
| treebank | |
| tagsets""".split('\n') | |
| for corpus in corpuses: | |
| nltk.download(corpus) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment