We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d5191a commit dea1b00Copy full SHA for dea1b00
README.md
@@ -10,7 +10,8 @@ A simple Rocchio-tfidf text categorizer.
10
## Installation
11
12
To get `textcat` up and running, the following code snippet should suffice on a
13
-UNIX terminal:
+UNIX terminal (note that depending on your Python distribution, you may need to
14
+use `pip3` instead of `pip`, and `python3` instead of `python`):
15
16
```
17
$ git clone https://github.com/eigenfoo/textcat.git
nltk_download.py
@@ -1,5 +1,8 @@
1
-import nltk
+'''
2
+Download all necessary nltk packages.
3
4
5
+import nltk
6
nltk.download('stopwords')
7
nltk.download('punkt')
8
nltk.download('wordnet')
requirements.txt
@@ -1,2 +1,2 @@
-dill==0.2.7.1
-nltk==3.2.5
+dill>=0.2.7.1
+nltk>=3.2.5
0 commit comments