nodejieba icon indicating copy to clipboard operation
nodejieba copied to clipboard

stop words not working?

Open b051 opened this issue 8 years ago • 2 comments

this is from my console:

> var jieba = require('nodejieba')
undefined
> jieba.cut('一个十一岁 一个十三岁 一个十四岁')
[ '一个', '十一岁', ' ', '一个十三岁', ' ', '一个十四岁' ]

'个' is in the stop words file, does '一个十三岁' have more priority defined? I can't seem to find it in the default dict.

b051 avatar Apr 04 '17 08:04 b051

stop words does not works in cut api, it only works for (keyword) extract api.

yanyiwu avatar Apr 04 '17 08:04 yanyiwu

This issue has not been updated for over 5 years and will be marked as stale. If the issue still exists, please comment or update the issue, otherwise it will be closed after 7 days.

github-actions[bot] avatar Sep 07 '24 13:09 github-actions[bot]