开发者

Is there an implementation of Levenshtein distance or similar for iphone?

I want to take a string entered in an iphone app and populate a tableview with strings from a dictionary that are likely correct spellings of the word开发者_开发百科. I understand levenshtein distance is the way to do this but wondering if anyone was aware of any way to do this natively or whether there was a library that i could use?


In addition to the implementation referenced in the comments, there is also a implementation here which gives you a bit more flexibility and is built for 64bit.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜