Skip to content

Commit dea1b00

Browse files
committedMar 19, 2018
DOC updated docstrings, requirements
1 parent 5d5191a commit dea1b00

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed
 

‎README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ A simple Rocchio-tfidf text categorizer.
1010
## Installation
1111

1212
To get `textcat` up and running, the following code snippet should suffice on a
13-
UNIX terminal:
13+
UNIX terminal (note that depending on your Python distribution, you may need to
14+
use `pip3` instead of `pip`, and `python3` instead of `python`):
1415

1516
```
1617
$ git clone https://github.com/eigenfoo/textcat.git

‎nltk_download.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
import nltk
1+
'''
2+
Download all necessary nltk packages.
3+
'''
24

5+
import nltk
36
nltk.download('stopwords')
47
nltk.download('punkt')
58
nltk.download('wordnet')

‎requirements.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
dill==0.2.7.1
2-
nltk==3.2.5
1+
dill>=0.2.7.1
2+
nltk>=3.2.5

0 commit comments

Comments
 (0)