analysis-pinyin icon indicating copy to clipboard operation
analysis-pinyin copied to clipboard

使用拼音搜索英文的时候能够不拆分单词吗?如搜索hello world的时候

Open sinhang opened this issue 6 years ago • 3 comments

{ "tokens": [ { "token": "he", "start_offset": 0, "end_offset": 0, "type": "word", "position": 0 }, { "token": "l", "start_offset": 0, "end_offset": 0, "type": "word", "position": 1 }, { "token": "lo", "start_offset": 0, "end_offset": 0, "type": "word", "position": 2 }, { "token": "wo", "start_offset": 0, "end_offset": 0, "type": "word", "position": 3 }, { "token": "r", "start_offset": 0, "end_offset": 0, "type": "word", "position": 4 }, { "token": "l", "start_offset": 0, "end_offset": 0, "type": "word", "position": 5 }, { "token": "d", "start_offset": 0, "end_offset": 0, "type": "word", "position": 6 }, { "token": "helloworld", "start_offset": 0, "end_offset": 0, "type": "word", "position": 6 } ] } 其实我是想搜索hello world 。这个怎么处理呢?

sinhang avatar Mar 28 '18 03:03 sinhang

建议能像Ik一样添加字典 建议增加拼音不分词配置 建议增加英文不分词配置 现在oppo能搜出iphone,OnePlus(一加),因为分词分出了o,p

yhan219 avatar Jul 19 '18 02:07 yhan219

您这个问题解决了吗? 实现英语单词不分词的

JillZhou-star avatar Oct 30 '19 06:10 JillZhou-star

您这个问题解决了吗? 实现英语单词不分词的

没有呢,你解决了吗?解决了在这里回复一下,谢谢。

sinhang avatar Nov 01 '19 06:11 sinhang