Algorithm for autocomplete?

后端 未结 9 1252
暖寄归人
暖寄归人 2020-11-28 00:45

I am referring to the algorithm that is used to give query suggestions when a user types a search term in Google.

I am mainly interested in: 1. Most important resul

9条回答
  •  独厮守ぢ
    2020-11-28 01:17

    There are tools like soundex and levenshtein distance that can be used to find fuzzy matches that are within a certain range.

    Soundex finds words that sound similar and levenshtein distance finds words that are within a certain edit distance from another word.

提交回复
热议问题