Skip to content

Commit

Permalink
add train desc to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
isnowfy committed Mar 10, 2014
1 parent 4e98e09 commit 1a28cac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ $ pip install snownlp
分词在`snownlp/seg`目录下
~~~~{python}
from snownlp.seg.seg import Seg
seg = Seg()
seg.train('data.txt')
seg.save('data.marshal')
~~~~
Expand Down

0 comments on commit 1a28cac

Please sign in to comment.