Text data structuring method and apparatus using line information
Abstract
A text data structuring apparatus according to the present invention includes: a data extraction unit which extracts text included in an image and position information of the text on the basis of OCR; a data processing unit which extracts line information included in the image by using the text, the position information, and the image; a labeling unit which labels the text as keys or values; and a relationship identification unit which acquires a mapping candidate group including first text, second text, and third text labeled on the basis of the line information, calculates a first similarity score representing meaning similarity between the first text and the third text and a second similarity score representing meaning similarity between the second text and the third text, and decides text to be mapped with the third text among of the first text and the second text.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 18 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A text data structuring apparatus comprising: a processor; and a memory storing instructions executable by the processor, wherein the processor is configured to: extract text included in an image and position information of the text on the basis of Optical Character Recognition (OCR), extract line information included in the image by using the text, the position information, and the image, classify a form of the image on the basis of the text, label the text as keys or values by applying the text to a natural language processing model that is trained in advance on the basis of training data of the natural language processing model by transforming training data about characters that have a high misrecognition rate in case that any one of the characters is extracted by the OCR, acquire a mapping candidate group including first text, second text, and third text labeled on the basis of the line information, calculate a first similarity score representing meaning similarity between the firs
- Claim 2Depends on #1
The text data structuring apparatus according to claim 1, wherein the processor is further configured to classify a form by searching the text in a search engine, which includes a plurality of form samples and label a form most similar to the text.
- Claim 3Depends on #1
The text data structuring apparatus according to claim 1, wherein the processor is further configured to classify the text included in the image into text units by applying the image to the natural language processing model and label the classified text units as the keys or the values.
- Claim 4Depends on #1
The text data structuring apparatus according to claim 1, wherein the processor is further configured to acquire the first text, the second text, and the third text included in a first compartment as a mapping candidate group on the basis of the line information.
- Claim 5Depends on #4
The text data structuring apparatus according to claim 4, wherein the processor is further configured to exclude fourth text included in a second compartment and not the first compartment from the mapping candidate group so as not to be mapped with the first text to the third text on the basis of the line information.
- Claim 6Depends on #1
The text data structuring apparatus according to claim 1, wherein the processor is further configured to acquire a first text vector by vectorizing the first text, acquire a second text vector by vectorizing the second text, acquire a third text vector by vectorizing the third text, calculates the first similarity score by comparing the first text vector with the third text vector through a similarity verification model, and calculate the second similarity score by comparing the second text vector with the third text vector through the similarity verification model.
- Claim 7Depends on #1
The text data structuring apparatus according to claim 1, wherein the processor is further configured to compare the first similarity score with the second similarity score to map a key and a value corresponding to the similarity score representing a higher score.
- Claim 8Depends on #1
The text data structuring apparatus according to claim 1, wherein the processor is further configured to improve accuracy of mapping between text and text by using information extracted from the image, and wherein the information extracted from the image includes one or more of the line information, table information, width information, height information, and tilt angle information of the image.
Technical Overview & Description
BACKGROUND OF THE INVENTION Field of the Invention The present invention relates to a text data structuring method and apparatus, and more specifically, to a text data structuring method and apparatus to improve efficiency of operation management of a document by structuring text included in an unstructured image document. Description of the Related Art In the industrial field, there has been a continuous demand to process unstructured documents that are mutually transmitted between individuals, organizations, or different organizations in a form that can be effectively managed and operated. However, there is a disadvantage that a large cost is required for the simple repetitive input process of information due to different document formats and diversity of terms. SUMMARY OF THE INVENTION The purpose of the present invention is to solve the above-mentioned problems, and to efficiently perform operation management of image documents through classification of image documents, extraction of text (key and value) in image documents, structuring of text data, correction of misrecognition, and the like. The problem to be solved by the present invention is not limited to the above-mentioned problems, and the problems not mentioned will be clearly understood by those of ordinary skill in the art to which the present invention belongs from the present specification and the accompanying drawings. A text data structuring apparatus according to an embodiment of the present invention to achieve such a purpose may include: a data extraction unit which extracts text included in an image and position information of the text on the basis of OCR; a data processing unit which extracts line information included in the image by using the text, the position information, and the image; a form classification unit which classifies a form of the image on the basis of the text; a labeling unit which labels the text as keys or values; and a relationship identification unit which acquires a mapp
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (18)
Non-Patent Literature (10)
- Wikipedia,
- “
- Semantic similarity
- ”
- , Last edited on Jan. 8, 2018 (13 pages) , Accessed via the Internet: https://en.wikipedia.org/w/index.php?title=Semantic_similarity
- &
- oldid+819210970.
- Lulu Wan, et al.,
- “
- Long-length Legal Document Classification