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
hanlp-index模式下,全量池测试得到一个很特殊的词组方式
hanlp-index
全量池测试
例子(hanlp版本1.5.3):
POST _analyze { "analyzer" : "hanlp-index", "text": "搜索全量池测试" } { "tokens": [ { "token": "搜索", "start_offset": 0, "end_offset": 2, "type": "vn", "position": 0 }, { "token": "全量池测试", "start_offset": 2, "end_offset": 7, "type": "nt", "position": 1 }, { "token": "测试", "start_offset": 5, "end_offset": 7, "type": "vn", "position": 2 } ] }
希望能切成搜索 全量池 测试,或者max_word方式的搜索 全量池测试 全量池 测试,不知道该怎么配置
搜索 全量池 测试
max_word
搜索 全量池测试 全量池 测试
The text was updated successfully, but these errors were encountered:
我也要研究下,如果你知道怎么修改,帮提交 PR
Sorry, something went wrong.
感觉是你的词库问题
"tokens": [ { "token": "搜索", "start_offset": 0, "end_offset": 2, "type": "vn", "position": 0 }, { "token": "全量池", "start_offset": 2, "end_offset": 5, "type": "nr", "position": 1 }, { "token": "测试", "start_offset": 5, "end_offset": 7, "type": "vn", "position": 2 } ] }
No branches or pull requests
hanlp-index
模式下,全量池测试
得到一个很特殊的词组方式例子(hanlp版本1.5.3):
希望能切成
搜索 全量池 测试
,或者max_word
方式的搜索 全量池测试 全量池 测试
,不知道该怎么配置The text was updated successfully, but these errors were encountered: