Skip to content

Commit

Permalink
add english-no space strings segmentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Yang Yang committed Sep 14, 2018
1 parent 4ec6baf commit 6ce5eb5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,12 @@ say wo i ni
```
**19\. 同义词库、反义词库、否定词库:**[phunterlau/wangfeng-rnn](https://github.com/phunterlau/wangfeng-rnn)

**20\. 无空格英文串分割、抽取单词:**[wordinja](https://github.com/keredson/wordninja)
```
>>> import wordninja
>>> wordninja.split('derekanderson')
['derek', 'anderson']
>>> wordninja.split('imateapot')
['im', 'a', 'teapot']
```
[jieba](https://github.com/fxsjy/jieba)[hanlp](https://github.com/hankcs/pyhanlp)就不必说了吧。。。

0 comments on commit 6ce5eb5

Please sign in to comment.