Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Active Publication Date: 2021-07-02
成都环宇知了科技有限公司
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, most mock exam systems on the market process docx documents through Com components, relying on a specific environment, and there are certain problems in the accuracy and fineness of scoring

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • OpenXml-based document positioning and scoring method and system
  • OpenXml-based document positioning and scoring method and system

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an OpenXml-based document positioning and scoring method. The method comprises the following steps: S1, analyzing a target document structure and a reference document structure through OpenXml SDK; s2, positioning a parent style of a certain specified style in the document according to the analyzed document structure; s3, obtaining all style attributes under the parent style, and filtering out the attributes of the style; s4, comparing the attributes obtained from the target document and the reference document in a specified mode; and S5, obtaining a scoring result according to a comparison result. The invention further provides an OpenXml-based document positioning and scoring system. The system comprises an analysis unit, a positioning unit, an attribute acquisition unit, a comparison unit and a display unit.

Description

technical field [0001] The present invention relates to the technical field of content styles of docx documents, in particular to a method and system for locating and scoring documents based on OpenXml. Background technique [0002] Most of the computer rank test simulation software currently on the market cannot accurately obtain the properties of Office documents. In the MS Office application subject of the National Computer Rank Examination, the word processing questions are graded by machines. At present, most mock exam systems on the market process docx documents through Com components, relying on a specific environment, and there are certain problems in the accuracy and fineness of scoring. Contents of the invention [0003] In order to solve the problems existing in the prior art, the present invention provides a method and system for locating and scoring documents based on OpenXml, which can analyze the actual xml file structure and content of the document, and ha...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F40/221G06F40/194
CPCG06F40/221G06F40/194Y02P90/30
Inventor 杨帆
Owner 成都环宇知了科技有限公司