我有机场名称的列表,我的用户有可能进入一个机场名称来选择它获得进一步的处理。
I have a list of airport names and my users have the possibility to enter one airport name to select it for futher processing.
你会如何处理拼错的名称和present的建议清单?
How would you handle misspelled names and present a list of suggestions?
查找莱文斯坦距离来匹配正确的名称对一个给定的用户输入。
Look up Levenshtein distances to match a correct name against a given user input.