An algorithm to find common edits

前端 未结 3 2024
暗喜
暗喜 2021-02-20 13:35

I\'ve got two word lists, an example:

 list 1  list 2

 foot    fuut
 barj    kijo
 foio    fuau
 fuim    fuami
 kwim    kwami
 lnun    lnun
 kizm    kazm
         


        
3条回答
  •  清歌不尽
    2021-02-20 13:44

    You can use edit distance algorithms, for example, Levenshtein distance. It may be necessary to make some minor changes in algorithms to register exact modifications.

提交回复
热议问题