-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
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
5.1.6版本NlpAnalysis分词器无法从读取用户自定义词典 #800
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Forest myDictionary = new Forest();
Library.insertWord(myDictionary, new Value("债基","nw","25000"));
NlpAnalysis.parse("还是看看债基吧",myDictionary);
分词结果如下:
还是 看看 债 基吧
期望分词应该是债基 吧,而债基吧 被拆分为 债 基吧
表示自定义词典在分词过程中并未生效?
The text was updated successfully, but these errors were encountered: