We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
这是我的切分例子: 未分词:十九元套餐包括什么 标准分词:[十/m, 九/b, 元/q, 套餐/n, 包括/v, 什么/ry] 智能分词:[十/m, 九/b, 元/q, 套餐/n, 包括/v, 什么/ry] 索引分词:[十/m, 九/b, 元/q, 套餐/n, 包括/v, 什么/ry]
理想效果: [十九元/mq, 套餐/n, 包括/v, 什么/ry]
The text was updated successfully, but these errors were encountered:
已经增加了数量词识别功能,请参考:https://github.com/hankcs/HanLP/blob/7f008891de48fdb78d88a5bee21fdfb28357456d/src/test/java/com/hankcs/demo/DemoNumberAndQuantifierRecognition.java
Sorry, something went wrong.
另外,由于我修改了data/dictionary/CoreNatureDictionary.txt,所以需要删除缓存data/dictionary/CoreNatureDictionary.txt.bin才能生效。
No branches or pull requests
这是我的切分例子:
未分词:十九元套餐包括什么
标准分词:[十/m, 九/b, 元/q, 套餐/n, 包括/v, 什么/ry]
智能分词:[十/m, 九/b, 元/q, 套餐/n, 包括/v, 什么/ry]
索引分词:[十/m, 九/b, 元/q, 套餐/n, 包括/v, 什么/ry]
理想效果:
[十九元/mq, 套餐/n, 包括/v, 什么/ry]
The text was updated successfully, but these errors were encountered: