Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

说明

jieba分词示例说明

输出:

/home/kuo/anaconda2/envs/py3/bin/python /home/kuo/NLP/NLP_basis/0_jieba_example/jieba_demo.py
Building prefix dict from the default dictionary ...

jieba分词全模式:
Loading model from cache /tmp/jieba.cache
Loading model cost 2.429 seconds.
Full Mode: 我/ 来到/ 北京/ 清华/ 清华大学/ 华大/ 大学

Prefix dict has been built succesfully.
jieba分词精确模式:
Default Mode: 我/ 来到/ 北京/ 清华大学

jieba默认分词是精确模式:
他, 来到, 了, 网易, 杭研, 大厦

jiba搜索引擎模式:
小明, 硕士, 毕业, 于, 中国, 科学, 学院, 科学院, 中国科学院, 计算, 计算所, ,, 后, 在, 日本, 京都, 大学, 日本京都大学, 深造

jieba词性标注:
是 v
广泛 a
使用 v
的 uj
中文 nz
分词 n
工具 n
, x
具有 v
以下 f
特点 n
: x

Process finished with exit code 0