Skip to content

Commit

Permalink
Update nlp.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zsdonghao committed Aug 6, 2016
1 parent e5b7185 commit c025b4f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tensorlayer/nlp.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,7 @@ def build_vocab(data):
Returns
--------
word_to_id : a dictionary
mapping words to unique IDs.
e.g. {'campbell': 2587, 'atlantic': 2247, 'aoun': 6746 .... }
mapping words to unique IDs. e.g. {'campbell': 2587, 'atlantic': 2247, 'aoun': 6746 .... }
Code References
---------------
Expand Down

0 comments on commit c025b4f

Please sign in to comment.