Skip to content

Commit e18dd1c

Browse files
committed
install nltk and data
1 parent 571bd5e commit e18dd1c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tensorlayer/nlp.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,12 @@ def process_sentence(sentence, start_word="<S>", end_word="</S>"):
298298
>>> c = tl.nlp.process_sentence(c)
299299
>>> print(c)
300300
... ['<S>', 'how', 'are', 'you', '?', '</S>']
301+
302+
Notes
303+
-------
304+
- You have to install the following package.
305+
- `Installing NLTK <http://www.nltk.org/install.html>`_
306+
- `Installing NLTK data <http://www.nltk.org/data.html>`_
301307
"""
302308
try:
303309
import nltk

0 commit comments

Comments
 (0)