Search for the completion process of the Korean input process

Asked 2 years ago, Updated 2 years ago, 64 views

There's something like automatic completion of Korean in the Naver search box.

If you type "Shoes", I want to expose the recommended search words through automatic completion in the process of 'ㅅ', "Shi", "Shinb", "Shoes".

I'm currently using elasticsearch for my search engine, so it would be better if there was a way to use it in this environment if possible. Is there an elastic search tokenizer that spits out the process of completing Korean typing super-intermediate? Should I make it and use it?

It would be better to have an open source, but if there is no open source, I would like to hear the approach and advice of the implementation.

elasticsearch search

2022-09-22 21:54

1 Answers

If you use DB instead of elastic search, I think you can handle it as follows.

It is a method of separating Hangul into its own resources, storing it as a separate column, and processing it through LIKE search. For example, in the case of "Shoes", save "ㄴㅂㄹ'ㅏ 을" and separate the letters that entered the search box, and search for "'%" when 'ㅅ' is entered, and search for "'%" when "Si" is entered, the desired result will be obtained.

Please refer to the following for Korean alphabet separation.

http://warmz.tistory.com/entry/%ED%95%9C%EA%B8%80%EC%9C%A0%EB%8B%88%EC%BD%94%EB%93%9C-%EC%B4%88%EC%84%B1-%EC%A4%91%EC%84%B1-%EC%A2%85%EC%84%B1-%EB%B6%84%EB%A6%AC


2022-09-22 21:54

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.