HuangFJ / pyltp

LTP wrapper module for Python. Move to https://github.com/HIT-SCIR/pyltp
26 stars 365 forks source link

分词功能外部词典不work #2

Open opcoder opened 7 years ago

opcoder commented 7 years ago

你好,我用segment.load_with_lexicon('ltp.model/cws.model', 'extras/test.txt')调用外部词典,test.txt只有一行俄外长拉夫罗夫, 分词结果为 俄, 外长, 拉夫罗夫。是我使用姿势不对吗?

Miraclemarvel55 commented 4 years ago

词权重不够