Text comparison method
The invention relates to a text comparison method, which comprises the following steps of: a, selecting two files and performing format conversion to ensure that the converted files are PDF files; b,analyzing the two PDF files, and recognizing characters contained in a picture by using OCR; c, for a...
Gespeichert in:
Hauptverfasser: | , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to a text comparison method, which comprises the following steps of: a, selecting two files and performing format conversion to ensure that the converted files are PDF files; b,analyzing the two PDF files, and recognizing characters contained in a picture by using OCR; c, for a common PDF file, generating a comparison result corresponding to the page number text content, andafter the common page number content is compared, if a certain file still has a residual page number, completely reading the residual part as a difference of the two files; d, dynamically generatingan html file according to all the comparison results, and displaying the difference of the two files through the html file; and e, when the html file is generated, traversing the difference compared by each comparison algorithm, and if a certain difference exists in a punctuation mark set, setting the background of the difference to be faint yellow or other inconspicuous colors in the generated html page. The method has the |
---|