suchen

Heim  >  Fragen und Antworten  >  Hauptteil

diff - php的文本比较库

php中有什么比较好的文本库,可以比对一篇文章的两个版本修改了哪些内容。

PHP中文网PHP中文网2820 Tage vor307

Antworte allen(1)Ich werde antworten

  • PHP中文网

    PHP中文网2017-04-10 15:09:23

    https://github.com/chrisboulton/php-diff
    http://paulbutler.org/archives/a-simple-diff-algorithm-in-php/

    http://php.net/manual/en/function.similar-text.php
    http://php.net/manual/en/function.levenshtein.php
    http://php.net/manual/en/function.soundex.php
    http://php.net/manual/en/function.metaphone.php

    http://php.net/manual/en/book.xdiff.php
    http://pear.php.net/package/Text_Diff

    Antwort
    0
  • StornierenAntwort