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

search mode下的细粒度分词问题 #8

Open
ruanqb opened this issue Feb 8, 2014 · 0 comments
Open

search mode下的细粒度分词问题 #8

ruanqb opened this issue Feb 8, 2014 · 0 comments

Comments

@ruanqb
Copy link

ruanqb commented Feb 8, 2014

例子描述:
在搜索模式下, ”13亿美元“ 被 分为了 “13/x 亿/m 亿美元/m”, 期望的是“13/x 美元/m 亿美元/m ”

看了一下代码, 可能是segmenter.go的120行
token.segments[iSegmentsToAdd] = &segments[iSegmentsToAdd]
应改为
token.segments[iSegmentsToAdd] = &segments[iToken] ?

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

No branches or pull requests

1 participant