Text difference algorithm

后端 未结 11 2122
温柔的废话
温柔的废话 2020-11-27 10:56

I need an algorithm that can compare two text files and highlight their difference and ( even better!) can compute their difference in a meaningful way (like two similar fi

11条回答
  •  误落风尘
    2020-11-27 11:33

    Take a look at the Fuzzy module. It has fast (written in C) based algorithms for soundex, NYSIIS and double-metaphone.

    A good introduction can be found at: http://www.informit.com/articles/article.aspx?p=1848528

提交回复
热议问题