OpenXml-based document positioning and scoring method and system
A document and target document technology, applied in the field of docx document content style, can solve the problems of scoring accuracy and fineness, and achieve the effect of improving fineness, reducing difficulty, and improving accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0052] Such as figure 1 As shown, the present invention provides a method for positioning documents based on OpenXml and scoring, comprising the following steps:
[0053] S1. Parse the target document structure and reference document structure through OpeXmlSDK;
[0054] S2. Locate the parent style of a specified style in the document according to the parsed document structure;
[0055] S3. Obtain all style attributes under the parent style, and filter out the attributes of the style;
[0056] S4. Comparing the attributes obtained from the target document and the reference document in a specified manner;
[0057] S5. Obtain a scoring result according to the comparison result.
[0058] In this embodiment, since the xml file in the document is directly read, all style attributes of the specified element can be obtained, which has a high degree of integrity and can meet the requirements for obtaining different combinations of attributes.
[0059] In another embodiment, step S...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

