How to determine a strings dna for likeness to another

后端 未结 6 2031
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-28 20:44

I am hoping I am wording this correctly to get across what I am looking for.

I need to compare two pieces of text. If the two strings are alike I would like to get s

6条回答
  •  隐瞒了意图╮
    2020-12-28 20:56

    What you're looking for is a LCS algorithm (see also Levenshtein distance). You may also try Soundex or some other phonetic algorithm.

提交回复
热议问题