yanyiwu / gojieba

"结巴"中文分词的Golang版本
MIT License
2.43k stars 302 forks source link

关键词提取的时候可以返回权重么 #6

Closed hengfeiyang closed 8 years ago

hengfeiyang commented 8 years ago

类似jieba python标准版中的,用法示例:https://github.com/fxsjy/jieba/blob/master/test/extract_tags_with_weight.py

权重对于提取出来的词进一步计算还是有很大作用的。感谢。

yanyiwu commented 8 years ago

@safeie v0.17.0 里面新增 ExtractWithWeight 函数可以返回带权重的。

hengfeiyang commented 8 years ago

thank you.