-
Notifications
You must be signed in to change notification settings - Fork 117
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
error case for cut #3
Comments
好的,我跟踪下 :) |
个人认为是在yaha/init.py文件的人名前缀匹配函数SurnameCutting2()中,while循环中的判断条件没有考虑到klen2大于2的情况,会造成死循环导致的。可以这么改看看
` |
好的,感谢,我改着试试。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在cut类似“东方XXX”的词时,eg:东方电视台,会无法返回分词结果,但也不会报错。
The text was updated successfully, but these errors were encountered: