1. 程式人生 > >大資料學習[15]:elasticsearch之同義詞

大資料學習[15]:elasticsearch之同義詞

[ { "token": "我", "start_offset": 0, "end_offset": 1, "type": "CN_CHAR", "position": 0 }, { "token": "來自", "start_offset": 1, "end_offset": 3, "type": "CN_WORD", "position": 1 }, { "token": "中國", "start_offset": 3
, "end_offset": 5, "type": "CN_WORD", "position": 2 }, { "token": "華夏", "start_offset": 3, "end_offset": 5, "type": "SYNONYM", "position": 2 }, { "token": "中華人民共和國", "start_offset": 3, "end_offset": 5, "type": "SYNONYM"
, "position": 2 }, { "token": "你", "start_offset": 6, "end_offset": 7, "type": "CN_CHAR", "position": 3 }, { "token": "來自", "start_offset": 7, "end_offset": 9, "type": "CN_WORD", "position": 4 }, { "token
": "華夏", "start_offset": 9, "end_offset": 11, "type": "CN_WORD", "position": 5 }, { "token": "中國", "start_offset": 9, "end_offset": 11, "type": "SYNONYM", "position": 5 }, { "token": "中華人民共和國", "start_offset": 9, "end_offset": 11, "type": "SYNONYM", "position": 5 }, { "token": "他", "start_offset": 12, "end_offset": 13, "type": "CN_CHAR", "position": 106 }, { "token": "生了", "start_offset": 13, "end_offset": 15, "type": "CN_WORD", "position": 107 }, { "token": "一個", "start_offset": 15, "end_offset": 17, "type": "CN_WORD", "position": 108 }, { "token": "小寶寶", "start_offset": 17, "end_offset": 20, "type": "CN_WORD", "position": 109 }, { "token": "嬰兒", "start_offset": 17, "end_offset": 20, "type": "SYNONYM", "position": 109 }, { "token": "新生兒", "start_offset": 17, "end_offset": 20, "type": "SYNONYM", "position": 109 }, { "token": "寶寶", "start_offset": 17, "end_offset": 20, "type": "SYNONYM", "position": 109 }, { "token": "嬰幼兒", "start_offset": 17, "end_offset": 20, "type": "SYNONYM", "position": 109 }, { "token": "我", "start_offset": 21, "end_offset": 22, "type": "CN_CHAR", "position": 110 }, { "token": "也", "start_offset": 22, "end_offset": 23, "type": "CN_CHAR", "position": 111 }, { "token": "生了", "start_offset": 23, "end_offset": 25, "type": "CN_WORD", "position": 112 }, { "token": "一個", "start_offset": 25, "end_offset": 27, "type": "CN_WORD", "position": 113 }, { "token": "嬰兒", "start_offset": 27, "end_offset": 29, "type": "CN_WORD", "position": 114 }, { "token": "新生兒", "start_offset": 27, "end_offset": 29, "type": "SYNONYM", "position": 114 }, { "token": "寶寶", "start_offset": 27, "end_offset": 29, "type": "SYNONYM", "position": 114 }, { "token": "小寶寶", "start_offset": 27, "end_offset": 29, "type": "SYNONYM", "position": 114 }, { "token": "嬰幼兒", "start_offset": 27, "end_offset": 29, "type": "SYNONYM", "position": 114 }, { "token": "小明", "start_offset": 30, "end_offset": 32, "type": "CN_WORD", "position": 215 }, { "token": "家有", "start_offset": 32, "end_offset": 34, "type": "CN_WORD", "position": 216 }, { "token": "一個", "start_offset": 34, "end_offset": 36, "type": "CN_WORD", "position": 217 }, { "token": "貓", "start_offset": 36, "end_offset": 39, "type": "SYNONYM", "position": 218 }, { "token": "小花", "start_offset": 40, "end_offset": 42, "type": "CN_WORD", "position": 219 }, { "token": "家有", "start_offset": 42, "end_offset": 44, "type": "CN_WORD", "position": 220 }, { "token": "一個", "start_offset": 44, "end_offset": 46, "type": "CN_WORD", "position": 221 }, { "token": "貓", "start_offset": 46, "end_offset": 48, "type": "SYNONYM", "position": 222 }, { "token": "我們", "start_offset": 49, "end_offset": 51, "type": "CN_WORD", "position": 323 }, { "token": "開著", "start_offset": 51, "end_offset": 53, "type": "CN_WORD", "position": 324 }, { "token": "小船", "start_offset": 53, "end_offset": 55, "type": "CN_WORD", "position": 325 }, { "token": "與", "start_offset": 55, "end_offset": 56, "type": "CN_CHAR", "position": 326 }, { "token": "輪船", "start_offset": 56, "end_offset": 58, "type": "CN_WORD", "position": 327 }, { "token": "去", "start_offset": 58, "end_offset": 59, "type": "CN_CHAR", "position": 328 }, { "token": "航海", "start_offset": 59, "end_offset": 61, "type": "SYNONYM", "position": 329 }, { "token": "輪船", "start_offset": 59, "end_offset": 61, "type": "SYNONYM", "position": 329 }, { "token": "小船", "start_offset": 59, "end_offset": 61, "type": "SYNONYM", "position": 329 } ]
}