Rule-based official document checking method and device
The invention relates to an official document checking method based on rules. The method comprises the following steps: configuring basic data; the category of each part of the official document is defined, a plurality of rules are configured for each category, and parameters are configured for each...
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 an official document checking method based on rules. The method comprises the following steps: configuring basic data; the category of each part of the official document is defined, a plurality of rules are configured for each category, and parameters are configured for each rule; analyzing an official document structure: analyzing the official document according to a preset judgment expression and the paragraph tag of the official document, and determining a category corresponding to each paragraph; and regular matching of the official document and the rules: matching all the rules under the category according to the category corresponding to the paragraph, then judging whether the paragraph needs to check the rules by utilizing parameters configured in the rules, if so, analyzing the configured parameters, generating a regular expression and matching with the paragraph, and if there is an error, prompting in the official document. The invention further relates to an official documen |
---|