Skip to content
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

DictSegment匹配函数代码 #8

Closed
GoogleCodeExporter opened this issue Apr 7, 2016 · 2 comments
Closed

DictSegment匹配函数代码 #8

GoogleCodeExporter opened this issue Apr 7, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

DictSegment.java中第89-92行:
for(DictSegment seg : segmentArray){
    if(seg != null && seg.nodeChar.equals(keyChar)){
        //找到匹配的段
        ds = seg;
    }
}
其中ds=seg;找到匹配之后似乎应该break跳出for循环

Original issue reported on code.google.com by scomouse@163.com on 28 Apr 2010 at 3:41

@GoogleCodeExporter
Copy link
Author

非常感谢您的意见,我们将在下个版本修订。

Original comment by linliang...@gmail.com on 14 May 2010 at 4:06

@GoogleCodeExporter
Copy link
Author

问题已经修订,详见源码更新记录

Original comment by linliang...@gmail.com on 14 May 2010 at 4:24

  • Changed state: Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant