Text structure analysis method based on text semantics
A technology for structural analysis and text, applied in semantic analysis, word processing, special data processing applications, etc., to achieve the effect of wide application and general method framework
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- Publication Date
- 2017-09-08
Smart Images

Figure 1
Abstract
Description
technical field
[0001] The invention relates to a document semantic information analysis method. Background technique
[0002] Text structure is a kind of natural document semantic information, which can assist readers to understand the document hierarchy. Document writers usually use a combination of visual and semantic means to design document structures. Visual information such as font style, page layout, etc. Semantic information includes the use of multi-level headings, distinguishing between headings and text, and the order of paragraphs.
[0003] Text mining (Text Mining) technology refers to the use of computer programs to automatically process text content to mine and extract valuable text information. Text mining is a comprehensive computer technology, involving linguistic models, natural language processing technology, machine learning algorithms, etc.
[0004] From the perspective of the semantic role of document content, document chapter structure generally i...
Examples
Embodiment Construction
[0029] The present invention will be described in detail below in conjunction with the examples.
[0030] 1. Data acquisition
[0031] 101 plain text data. Get plain text TXT data in machine-unreadable formats such as PDF, images, etc. Documents to be processed can be converted to machine-readable TXT format using open source tools. For example, use PDFBOX to parse PDF documents into TXT documents, or use OCR technology to convert scanned files in JPEG format into TXT documents.
[0032] 2. Text extraction
[0033] 102 noise content filtering. Filter noise content for structure extraction tasks, such as blank lines, headers and footers, table content, etc. Header and footer can be filtered according to the repeated information of each page, or based on rules to filter the header and footer of specific types of documents. The content of the table may affect the judgment of the hierarchical structure, and table identification and elimination are required.
[0034] 103 dir...