Document analysis system, document analysis method, or document analysis program
The document analysis system effectively determines document types and their order by using a type determination unit and updating judgment information, addressing the challenges of diverse document formats and arrangements for improved analysis accuracy and efficiency.
Patent Information
- Application Number
- JP2023030496
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2024-09-09
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing document analysis techniques struggle to accurately determine the type and order of document parts within a document, especially when dealing with diverse formats and arrangements, leading to invalid analysis results.
A document analysis system that includes a type determination unit and a preceding/following determination information updating unit, which analyzes document features to determine the type of document parts and updates judgment information based on context, ensuring valid analysis results.
The system provides accurate determination of document types and their order within a document, improving analysis efficiency and reducing costs by using hardware implementations and flexible processing designs.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a document analysis system, a document analysis method, or a document analysis program technology for analyzing document data representing a document, where one document consists of one or more documents, one document consists of one or more document parts (e.g., pages), and one document includes multiple document parts (e.g., pages). [Background technology]
[0002] The following are prior arts related to analyzing document data. Patent Document 1 discloses a prior art that calculates feature amounts from a scanned document image and determines document divisions based on the calculated feature amounts. Patent Document 2 discloses a prior art that extracts layout information from a document image, recognizes character portions based on the extracted layout information, and displays the layout information and character recognition information. Patent Document 3 discloses a prior art that calculates page features for each page in a document image, and sets a division position between pages when the features of a certain page have changed by a certain value or more from the features of the previous page. Non-Patent Document 1 discloses a prior art that determines the role of each rectangular area in a paper (e.g., paper title, section title) in the document for each rectangular area set on the paper from a paper image. Non-Patent Document 2 discloses a prior art that performs processing for document understanding using a machine learning model that handles both text information and layout information from a document image. However, to apply the prior art disclosed in Non-Patent Document 2 to documents with a wide variety of formats, such as documents related to orders, a huge amount of learning data is required. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2002-24258 A [Patent Document 2] Japanese Patent Application Publication No. 4-147391 [Patent Document 3] JP 2009-169675 A [Non-patent literature]
[0004] [Non-Patent Document 1] Kenichi Iwatsuki, Tsuneaki Kato, Kazunori Yamaguchi, "Extraction of Paper Components Based on Layout Recognition", Proceedings of the 12th Workshop on Interactive Information Access and Visualization Mining, Japanese Society for Artificial Intelligence, March 17, 2016, pp.61-68 [Non-Patent Document 2] Yiheng Xu et al., "Layout LM : Pre-training of Text and Layout for Document Image Understanding", Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining (KDD '20), ACM, August 2020, pp.1192-1200 Summary of the Invention [Problem to be solved by the invention]
[0005] As part of the digitalization of corporate activities (sales activities), it is desirable to monitor or control a company's sales, etc. by managing certain documents (for example, documents relating to contracts (contract-related documents), documents relating to orders, documents relating to credit screening) as digital data (file data). To achieve this, it is desirable to extract essential management content from these documents (it is not sufficient to simply manage these documents as file data (for example, PDF data)) and to make it possible to search, analyze, or predict the content of corporate activities (sales activities) based on that content. And, among the essential content, what we want to know at the first stage of document analysis is what types of documents these documents consist of.
[0006] Here, the documents that make up these documents are in a wide variety of formats. Even documents of the same type (such as contracts, purchase orders, or specifications) can have a wide variety of formats. Furthermore, within a document, groups of different types of documents such as contracts, invoices, or specifications are generally arranged (bound in an irregular manner) with a certain margin that is acceptable as the order between documents, while following a certain style. Furthermore, the amount of each type of document can fit on one page or can extend to several tens of pages. For the above reasons, although it is desired to determine what types of documents these documents are made up of, it is not expected to obtain a valid determination result according to fixed rules that are determined in advance.
[0007] In addition, it is desirable that the judgment results for these documents (document data) show that the order of document types (within the document) is as it should be (in terms of the above-mentioned certain style) or is within an acceptable range (or that this is taken into consideration). For example, in the judgment results for a document that is expected to include documents such as contracts, invoices, and specifications, it is desirable that the order of contracts, invoices, specifications, etc. (order of document types) is natural in terms of the above-mentioned certain style.
[0008] However, none of the above-mentioned prior art technologies take into consideration the order of document types (within a document) in the determination results for document data. In light of the above, it is an object of the present disclosure to realize a method for taking into consideration the order of document types (within a document) in the analysis results for document data when analyzing what types of documents a document is made up of (obtaining appropriate analysis results). Means for solving the problem and effects of the invention
[0009] In order to achieve the above object, the present disclosure may have the following features and corresponding effects, for example. A document analysis system for analyzing document data indicating a document. The document is made up of one or more documents, and the document is made up of one or more document parts, and the document includes a plurality of the document parts. The document analysis system includes a type determination unit and a front-back determination information update unit. The type determination unit inputs information indicating a feature amount of a certain document part and determines a type of document to which the certain document part belongs. The information indicating the feature amount of the document part includes explanatory information that is information explaining the document part generated based on the document data, and front-back determination information that is determination information of a document type to which a front position or a back position in the document, as viewed from the document part, belongs. The front-back determination information update unit updates the front-back determination information for each document part included in the document, based on the determination information by the type determination unit of the document type to which each document part included in the document belongs.
[0010] When the document analysis system determines the type of document to which a document part belongs based on information indicating the feature amount of the document part, the determination can be made using before and after determination information, which is determination information for the type of document to which the previous or next position from the document part belongs. Therefore, it is possible to obtain a valid analysis result, in which the order of document types (within the document) in the determination result (determination information) is as it should be (from a certain style) or is within an acceptable range (this is taken into consideration).
[0011] In addition, a document analysis method and a document analysis program having a similar purpose can also obtain the same effects as those described above. Furthermore, the document analysis program can be applied to hardware, which can reduce costs in many cases. Furthermore, the document analysis program can also easily make design changes to the processes and operations for document analysis.
[0012] Other features that the present disclosure may have and the effects corresponding to these features will be disclosed in this specification, the claims, or the drawings. [Brief description of the drawings]
[0013] [Figure 1] 1 shows a functional configuration common to all embodiments of the present disclosure. [Diagram 2] 1 illustrates a system configuration of a system according to an embodiment of the present disclosure. [Diagram 3] 1 illustrates a computer architecture for implementing an embodiment of the present disclosure. [Figure 4] 1 illustrates a functional configuration of a first embodiment of the present disclosure. [Diagram 5] 1 shows a flowchart of processing and operation according to a first embodiment of the present disclosure. [Figure 6] The document database (DB) and a PDF file of an example of document data are shown below. [Figure 7] The page feature database (DB) is shown. [Figure 8] This page shows the (primary and secondary) judgment information database (DB). [Figure 9] Shows the contents of the comparison display output. [Figure 10] 1 shows a functional configuration of a second embodiment of the present disclosure. [Figure 11] 13 shows a flowchart of processing and operation according to a second embodiment of the present disclosure. [Figure 12] The contents of the inconsistency display output are shown below. [Figure 13] The model parameter database (DB) is shown. [Figure 14] This refers to learning data databases (DB) (including specialized types). DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] Each of the "devices" or "units" in the present disclosure may be integrated in terms of hardware, or may be divided into multiple parts that work together to perform their roles. Several "devices" or "units" may be integrated in terms of hardware. Furthermore, each of the "devices" or "units" in the present disclosure may be realized by having a computer execute software (programs) (as in FIG. 3 described below). Also, some of the functions of these "devices" or "units" may be realized by hardware (e.g., a logic circuit (hardwired logic) or FPGA), and the remaining functions may be realized by executing software (programs). Furthermore, all of the functions of these "devices" or "units" may be realized by hardware. Here, when each of the "devices" or "units" in the present disclosure is realized by having a computer execute software (programs), the computer may include at least an information processing device (CPU, etc.) and a storage device (memory), store software (programs) in the storage device (memory), and have the information processing device (CPU, etc.) execute the software (programs). Furthermore, the term "program" in this disclosure may be included in the concept that generally includes software that constitutes a specific information processing device or its operating method according to the intended purpose by cooperation between software and hardware resources. In other words, the "program" in this invention is not limited to a specific type or form of program. In addition, the "program" may be initially recorded in a compressed format. In this disclosure, processes and operations may be described using flowcharts. Some or all of the steps of the processes and operations shown in the flowcharts may be realized in hardware (for example, by using a logic circuit (hardwired logic) or an FPGA).
[0015] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings. The same reference numbers used in multiple drawings indicate the same or similar items.
[0016] 1. Matters common to all embodiments of the present disclosure 1-1. Functional configuration common to all embodiments of the present disclosure FIG. 1 shows a functional configuration common to all embodiments of the present disclosure.
[0017] (1) at the top of Fig. 1 shows the form of the document to be analyzed. Document 101 consists of one or more documents 102. In Fig. 1 (1), document 101 consists of documents 102a, 102b, and 103c, arranged in that order. Note that the number of documents in a document is an arbitrary integer equal to or greater than 1. Also, the types of documents 102 in document 101 are not limited to those exemplified in Fig. 1 (1). In Fig. 1(1), each document 102 consists of one or more document parts 103. In Fig. 1(1), document 102a consists of three document parts 103, document 102b consists of two document parts 103, and document 102c consists of four document parts 103. Note that the number of document parts 103 in document 102 is an arbitrary integer equal to or greater than 1. A document 101 includes a plurality of document portions 103. Note that it is often desirable for the document portions 103 to be pages. For example, documents related to contracts, documents related to orders, or documents related to credit screening have the characteristic that the type of document rarely changes midway through a page. By considering this characteristic and handling the document on a page-by-page basis, it is possible to process documents efficiently while conforming to the above-mentioned characteristics of the document. Therefore, although the following description will be given using an example in which the document portions 103 are pages, it is not essential that the document portions 103 are pages.
[0018] 1 shows a document analysis system 100 for analyzing document data. The document analysis system 100 includes a type determination unit 104 and a context determination information update unit 105. The type determination unit 104 inputs information 106 indicating the feature amount of a certain page 103, and determines the type 107 of the document 102 to which the certain page 103 belongs. (2) of FIG. 1 shows how the type determination unit 104 inputs information 106 indicating the feature amount of page "k", and determines the type 107 of the document 102 to which the page "k" belongs. This determination by the type determination unit 104 is performed for each of the pages 103 in the document 101. Information 106 indicating the feature amount of page 103 includes explanatory information (explanatory variables, for example, layout information and text information of page 103) 108 which is information explaining page 103 generated based on document data, and before / after determination information 109 which is information for determining the type 107 of document 102 to which the previous or next position in document 101 belongs as viewed from page 103. In other words, the input to type determination unit 104 includes before / after determination information 109. The before and after determination information update unit 105 updates the before and after determination information 109 for each of the pages 103 in the document 101 based on the determination information of the type 107 of the document 102 to which each of the pages 103 in the document 101 belongs. (2) of FIG. 1 shows that the before and after determination information update unit 105 uses the determination information of each page before page "k-1" which is located before page "k" and / or the determination information of each page after page "k+1" which is located after page "k" when updating the before and after determination information 109 included in the information 106 indicating the feature amount of page "k". Note that (2) of FIG. 1 shows only the range of pages "k-3" to "k+3" as the information 106 indicating the feature amount of page 103 and the determination information of the type 107 of the document 102 to which the page 103 belongs, but this is only for the convenience of the paper. In reality, it is not limited to only the pages 103 in this range. The updating of the before and after determination information 109 by the before and after determination information update unit 105 is performed for each of the pages 103 in the document 101 .
[0019] As described above, when determining the type 107 of the document 102 to which the page 103 belongs based on the information 106 indicating the feature amount of the page 103, the document analysis system 100 can also use as input the before and after determination information 109 that is determination information for the type 107 of the document 102 to which the page 103 belongs (the page 103 located before or after in the example of FIG. 1(2)). Therefore, when making this determination, it is possible to take into consideration the order of the types of documents 102 (within the document) (obtaining a reasonable determination result).
[0020] 1-2. System configuration of the system according to the embodiment of the present disclosure Fig. 2 shows a system configuration of a system according to an embodiment of the present disclosure. In this disclosure, two embodiments are mainly described, but the system configuration shown in Fig. 2 can be used for either embodiment. Note that hereinafter, "database" will be abbreviated as "DB."
[0021] The document analysis system 100 includes a document data storage device 201, a feature generating device 202, a judgment device 203, a display output control device 204, an inconsistent part correcting device 205, and a learning data updating device 206. The document analysis system 100 may be capable of communicating with a terminal 207 via a network. The document data storage device 201 includes a document DB 210, a feature storage unit 211, a judgment information storage unit 213, a learning data storage unit 216, and a specialized learning data storage unit 218. The feature storage unit 211 includes a page feature DB 212. The judgment information storage unit 213 includes a page primary judgment information DB 214 (primary judgment information storage unit) and a page secondary judgment information DB 215 (secondary judgment information storage unit). The learning data storage unit 216 includes a learning data DB 217. The specialized learning data storage unit 218 includes a specialized learning data DB 219. The feature generating device 202 comprises a document reading unit 221, a page dividing unit 222, a feature extracting unit 223, and a document boundary detecting unit 224. The judgment device 203 comprises a type judgment unit 104, a back and forth judgment information updating unit 105, and a model parameter storage unit 233. The type judgment unit 104 comprises a multi-criteria judgment unit 231 and a judgment integration unit 232. The model parameter storage unit 233 comprises a model parameter DB 234. The display output control device 204 comprises a comparison display output control unit 241 and an inconsistency display output control unit 242. The inconsistency part correcting device 205 comprises an inconsistency detection unit 252, a similar case extraction unit 253, and a learning unit 251. The learning data updating device 206 comprises a learning data updating unit 261.
[0022] 2, the model parameter storage unit 233 (model parameter DB 234), the inconsistency part correction device 205 (inconsistency detection unit 252, similar case extraction unit 253, learning unit 251), the learning data storage unit 216 (learning data DB 217), the specialized learning data storage unit 218 (specialized learning data DB 219), the learning data update device 206 (learning data update unit 261), and the inconsistency display output control unit 242 are used for the processing of the second embodiment and are not necessarily used in the first embodiment. In order to realize only the first embodiment, these device units and DBs do not have to be included in the system configuration.
[0023] The functions of the devices, units, and DBs shown in FIG. 2 and the processes and operations performed therein will be described later in "2-2. Processing of the first embodiment of the present disclosure" and "3-2. Processing of the second embodiment of the present disclosure."
[0024] 3 shows a computer architecture for implementing an embodiment of the present disclosure. The entire document analysis system 100 of FIG. 2, one or more devices, one or more units, or a portion of one unit may be implemented in the computer architecture shown in FIG.
[0025] In the document analysis system 100, each device, each unit, or each part of each unit shown in FIG. 3, an information processing device (e.g., a CPU) 301, a storage device (e.g., a memory) 302, a non-volatile recording medium (e.g., a non-volatile memory, a non-volatile disk device) 303, a drive for an external recording medium (e.g., a disk drive) 304, an output device (e.g., a printer, a display) 306, an input device (e.g., a mouse, a keyboard) 306, a communication device (e.g., a communication device for wired communication, a communication device for wireless communication) 308, and some or all of an external input / output port 309 may be interconnected by an interconnection unit (e.g., a bus, a crossbar switch) 310. The non-volatile recording medium 303 stores a document analysis program 320a, various DBs 321, and various information 322. Alternatively, the program, the tables, or some or all of the various information may be acquired (accessed) from outside the system shown in FIG. An external recording medium (for example, a portable recording disk) 305 can be connected to the external recording medium drive 304. Note that a document analysis program, various DBs, and various information are recorded in this external recording medium 305, and these items may be transferred and stored from the external recording medium 305 to the non-volatile recording medium 303 or the storage device (memory) 302. Furthermore, a document analysis program, various DBs, and various information may be provided via the communication device 308 , the external input / output port 309 , or the input device 307 , and stored in the non-volatile recording medium 303 or the storage device (memory) 302 .
[0026] In order for the document analysis system, the device in the system, each unit in the system, or each part of each unit to function as one or a series of units (or parts of a unit) (to execute one or a series of processes (steps)), the document analysis program 320a is first loaded into the storage device (e.g., memory) 302 (e.g., from the non-volatile recording medium 303). The document analysis program after being loaded is indicated as 320b in FIG. 3. Then, the information processing device (e.g., CPU) 301 executes the document analysis program 320b on the storage device (e.g., memory) 302 (using tables and various information present in the non-volatile recording medium 303 as necessary). By executing the document analysis program 320b, the function of one or a series of units (or parts of a unit) is realized (one or a series of processes (steps) is executed). At this time, various buffers 323 temporarily formed in the storage device (e.g., memory) 302 may also be used as appropriate.
[0027] 2. First embodiment of the present disclosure 2-1. Functional configuration of the first embodiment of the present disclosure Fig. 4 shows a functional configuration of the first embodiment of the present disclosure. The document analysis system 100 includes a type determination unit 104, a context determination information update unit 105, and a feature amount storage unit 211. Of these, the type determination unit 104 and the context determination information update unit 105 have the same functions as those in Fig. 1. The feature amount storage unit 211 stores, for each page 103, information 106 indicating the feature amount of the page 103. Here, the information 106 indicating the feature amount of the page 103 has the same content as that in Fig. 1. Fig. 4 also shows the type 107 of the document 102 to which the page 103 belongs, which is also the same as that in Fig. 1.
[0028] FIG. 4 (1) shows the processing and operation of the type determination unit 104 when the type 107 of the document 102 to which a certain page 103 belongs is determined for the first time. If the type 107 of the document 102 to which each of the document parts 103 belongs has never been determined for the document 101 including the certain page 103, meaningful information does not yet exist as the before and after determination information 109 in the information 106 indicating the feature amount of the certain page 103 (FIG. 4 (1) shows this as "meaningless information 402"). Therefore, the type determination unit 104 inputs the information 106 indicating the feature amount of the certain page 103, which does not include meaningful information as the before and after determination information 109 for the certain page 103, from the feature amount storage unit 211. The type determination unit 104 performs the determination based on the input information 106 indicating the feature amount of the certain page 103. Here, the type determination unit 104 makes the determination based on at least explanatory information (explanatory variables, for example, layout information and text information of the certain page 103) 108 that explains the certain page 103 generated based on the document data.
[0029] Fig. 4 (2) shows the processing and operation of the before and after determination information update unit 105 after obtaining determination information of the type 107 of the document 102 to which each of the pages 103 in the document 101 belongs. The before and after determination information update unit 105 updates before and after determination information 109 included in information 106 indicating the feature amount of each of the pages 103 in the document 101, and stores the updated before and after determination information 109 in the feature amount storage unit 211 (Fig. 4 (2) shows this update and storage as "before and after determination information update 403"). For example, to update the before and after determination information 109 included in the information 106 indicating the feature amount of page "k," the before and after determination information update unit 105 uses all or part of the information indicated by the type 107 of the document 102 to which the page 103 belongs, for each of the pages before page "k-1" and each of the pages after page "k+1." Note that (2) of FIG. 4 shows only the range of pages "k-3" to "k+3," but this is purely for the sake of space. In reality, it is not limited to only the pages 103 in this range.
[0030] FIG. 4 (3) shows the processing and operation of the type determination unit 104 in a case where it is not the first time to determine the type 107 of the document 102 to which a certain page 103 belongs (for example, after FIG. 4 (2)). For the document 101 including the certain page 103, if the type 107 of the document 102 to which each page 103 belongs has been determined at least once, meaningful information already exists as the before and after determination information 109 in the information 106 indicating the feature amount of the certain page 103. Therefore, the type determination unit 104 inputs the information 106 indicating the feature amount of the certain page 103, including the meaningful information as the before and after determination information 109 for the certain page 103, from the feature amount storage unit 211. The type determination unit 104 performs the determination based on the input information 106 indicating the feature amount of the certain page 103. Here, the type determination unit 104 makes the determination based on at least explanatory information (explanatory variables) 108 that explains the page 103 and that is generated based on document data, and context determination information 109.
[0031] As shown in FIG. 4, even if it is the first time to determine the type 107 of the document 102 to which a certain page 103 belongs (even if there is no meaningful information as the context determination information 109), the type determination unit 104 can make the determination based on at least the explanatory information (explanatory variables, for example, layout information and text information of the certain page 103) 108 that is information that explains the certain page 103 generated based on document data. On the other hand, if it is not the first time to determine the type 107 of the document 102 to which a certain page 103 belongs, the type determination unit 104 also inputs the context determination information 109 that is meaningful information to make the determination. This allows the type determination unit 104 to make the determination that also takes into account the context of the type 107 of the document 102. In other words, according to FIG. 4, it is possible to gradually improve the determination of the type 107 of the document 102 to which the page 103 belongs (to obtain a more accurate determination result).
[0032] 2-2. Processing of the First Embodiment of the Present Disclosure Fig. 5 shows a flowchart of the processing and operation of the first embodiment of the present disclosure. Rectangular boxes in Fig. 5 indicate processing and operation steps. The flowchart in Fig. 5 will be described below. For convenience of explanation, Figs. 1, 2, 4, 6, 7, 8, and 9 will be referred to as appropriate.
[0033] 5, the document reading unit 221 reads document data relating to a document to be analyzed by the document analysis system 100 from the document DB 210. The document 101 corresponding to the document data stored in the document DB 210 may be in the form shown in (1) of Fig. 1. The page dividing unit 222 divides the document data read by the document reading unit 221 into page units. In other words, the page dividing unit 222 generates data cut into one page at a time.
[0034] 6 shows a document DB and a PDF file which is an example of document data stored in the document DB. As described later, the document data stored in the document DB 210 is not limited to a PDF file, but may be any data indicating a document.
[0035] (1) at the top of FIG. 6 shows a mode of document management in the document DB 210. In the document DB 210, document data may be managed by file information 601. In the file information 601 in (1) of FIG. 6, a file ID 602, a file name 603, and a file body 604 are linked to each other for each piece of document data. Among these, one file ID 602 and one file name 603 linked to each other may be treated as one record. This record may include metadata related to the document data as well as the file ID 602 and the file name 603. The metadata may include, for example, date and time related to document creation (or contract establishment, order acceptance, credit examination request), amount (fee, contract amount, order amount, maximum credit amount), party information (information of the contracting party, the order receiving party, and the party concerned in credit), target service content (contracted service content, service content to be ordered, service content associated with credit), and remarks.
[0036] (2) at the bottom of FIG. 6 shows an example of document data stored in the document DB 210 being displayed on a display device using viewing software. Here, an example is shown of a PDF file 605 being displayed using PDF viewing software. The document 101 shown by the PDF file 605 consists of multiple pages. (2) of FIG. 6 shows page numbers "p1", "p2", and "p3". Each page may include a title 651, a name 652 (for example, if the type of document is a contract, information indicating the parties to the contract), a seal 653 (which may be an image of a seal captured by OCR, or information indicating that the document 101 has a valid digital signature), clauses 654 (for example, if the type of document is a contract, specific information indicating the terms of the contract), and a table 655 (table, graph, etc.).
[0037] In FIG. 5, after step 501 (S501), in step 502 (S502), the feature extraction unit 223 extracts explanatory information (explanatory variables) (e.g., explanatory variables related to characters and layout) that is information that explains each page 103 from data corresponding to each page 103 after division according to each of a plurality of rules, and stores the extracted explanatory information (explanatory variables) in the page feature DB 212. Here, the rules may be, for example, a rule in layout analysis of the page 103, a rule in natural language processing applied to character information embedded in data corresponding to the page 103, or a rule in image processing for the whole or part of the page 103. There may also be rules in other analysis methods. In addition, the granularity indicating the range of data to which the rule is applied may be different for each rule. For example, there may be a granularity that targets the whole of one page 103, a granularity that targets one sentence, a granularity that targets one phrase, and the like. The feature extraction unit 223 stores the extracted explanatory information (explanatory variables) in the page feature DB 212 while linking the information to each of the pages 103 .
[0038] 7 shows the page feature amount DB. The page feature amount DB 212 has a record for each page 103. Each record in the page feature amount DB 212 includes a record ID 701, file information 601, and information 106 indicating the feature amount of the page 103. File information 601 in a record of the page feature DB 212 has a file ID 602 and a file name 603, as well as a page ID 702. Note that this page ID 702 may be a number that is assigned to each piece of data after division (cutting) when the page division unit 222 divides (cuts) the document data into data corresponding to pages 103, or may be a number that was assigned before the division (cutting). Information 106 indicating the features of page 103 in a record of page feature DB 212 has a number of explanatory variables 108 (explanatory variable (1) 108a to explanatory variable (F) 108f), various information constituting before and after determination information 109 (previous page document type 109a, next page document type 109b, previous division document type 109c, next division document type 109d), and a division start flag 110a. The multiple explanatory variables 108 (explanatory variable (1) 108a to explanatory variable (F) 108f) are extracted by the feature extraction unit 223 from the data corresponding to the page 103. Explanatory information (explanatory variables) exists for each rule used by the feature extraction unit 223. Therefore, a record of the page feature DB 212 has multiple pieces of explanatory information (explanatory variables) 108a to f. (Note that, in theory, there can be one rule and one record with one piece of explanatory information (explanatory variable).)
[0039] Previous page document type 109a in a record of page feature DB 212 is determination information of the type 107 of document 102 to which the page 103 previous to the page 103 corresponding to the record (e.g., the page 103 immediately preceding it) belongs. Similarly, next page document type 109b in the record is determination information of the type 107 of document 102 to which the page 103 subsequent to the page 103 corresponding to the record (e.g., the page 103 immediately following it) belongs. The previous-division document type 109c in a record of the page feature DB 212 is determination information of the type 107 of the document (division) 102 (e.g., the immediately preceding document (division) 102) before the document 102 (this determined document 102 is also called a "division") to which the page 103 corresponding to the record is determined to belong. Similarly, the next-division document type 109d in the record is determination information of the type 107 of the document (division) 102 (e.g., the immediately following document (division) 102) after the document (division) 102 to which the page 103 corresponding to the record is determined to belong. Each of the various pieces of information constituting the before / after determination information 109, that is, previous page document type 109a, next page document type 109b, leading division document type 109c, and trailing division document type 109d, is determined in accordance with the determination information by the type determination unit 104. Therefore, in a situation where the document data to be analyzed has never been determined by the type determination unit 104, these pieces of information constituting the before / after determination information 109 are meaningless. (Alternatively, it can be said that the information is missing (missing). Alternatively, until meaningful information is stored, these pieces of information constituting the before / after determination information 109 may be predetermined values or randomly determined values.)
[0040] By using the above-mentioned information (previous page document type 109a, next page document type 109b, previous division document type 109c, and next division document type 109d) as the before and after determination information 109, it is possible to use position information that is easy to handle in the document 101 as the previous and subsequent positions from the perspective of a certain document part (page), and to improve the accuracy of the determination information for the type 107 of the document 102 to which the certain document part (page) 103 belongs.
[0041] The division head flag 110a in a record of the page feature DB 212 is information indicating whether or not the page 103 corresponding to the record has been determined to be the head of the document (division) 102. In FIG. 7, a check mark is shown as the division head flag 110a when the corresponding page 103 has been determined to be the head of the document (division) 102. (Note that when actually implementing the division head flag 110a, it may be, for example, 1-bit information.) The division head flag 110a is generated in step 503 (S503) in FIG. 5. In FIG. 5, after step 502 (S502), in step 503 (S503), the document division detection unit 224 generates the division head flag 110a and stores it in the page feature DB 212. For this purpose, the document division detection unit 224 reads out information 106 (e.g., a plurality of explanatory variables 108a-f) indicating the feature amount of the page 103 from the page feature DB 212 (or receives it directly from the feature extraction unit 223). The document division detection unit 224 uses the information 106 (at least the explanatory variables 108a-f) indicating the feature amount of the page 103 to determine whether the page 103 is the head of the document (division) 102 for each page 103 in the document 101, and reflects the determination information in the division head flag 110a.
[0042] 5, after step 503 (S503), in step 504 (S504) (type determination step), the type determination unit 104 inputs information 106 indicating the feature amount of the page 103 from the page feature amount DB 212, and determines the type of the document 102 to which the page 103 belongs. (As shown by the dotted line in FIG. 2, the type determination unit 104 may also input information from the page primary determination information DB 214 and the page secondary determination information DB 215 (previous determination information for the page 103 itself to be determined (determination information for the type of the document 102 to which the page 103 belongs)).) As shown in FIG. 2, the type determination unit 104 may include a multi-criteria determination unit 231 that receives input from the page feature DB 212 or the like, and a determination integration unit 232 that receives the determination information of the multi-criteria determination unit 231 as an input. The multi-criteria determination unit 231 may include a plurality of unique criterion determination units. Each unique criterion determination unit may perform a determination based on a criterion used in the unique criterion determination unit with respect to information input from the page feature DB 212 or the like (for example, information 106 indicating the feature amount of the page 103). The determination integration unit 232 may integrate the determination information from each unique criterion determination unit to determine the type of the document 102 to which the page 103 belongs. For example, the integration of the determination information performed by the determination integration unit 232 may be performed by weighting and summing the determination information of each unique criterion determination unit, and applying a predetermined function to the sum. Alternatively, the integration may be performed by taking a majority vote of the determination information. 5 is started for a certain document data, the page feature DB 212 does not contain any meaningful information as the various pieces of information constituting the before and after determination information 109 (previous page document type 109a, next page document type 109b, previous division document type 109c, and subsequent division document type 109d) for the certain document data. (Alternatively, the various pieces of information constituting the before and after determination information 109 are missing (missing). Alternatively, these pieces of information may be predetermined values or randomly determined values.) Therefore, in step 504 (S504) in FIG. 5, the type determination unit 104 determines the type of the document 102 to which the page 103 belongs in a situation where the meaningful information from the page feature DB 212 is a plurality of explanatory information (explanatory variables) 108 (explanatory variables (1) 108a to (F) 108f) and the division head flag 110a.
[0043] For example, the multiple criteria determination unit 231 (each of the unique criteria determination units therein) in the type determination unit 104 outputs determination information for each page 103 based on individual criteria corresponding to each unique criteria determination unit. The criteria here may be deductive, such as "if character information with a font size equal to or larger than a specific font size is included, it is determined to be a contract," or inductive, such as "determine using natural language processing based on machine learning for text information included in explanatory variables." Furthermore, if any of the unique criteria determination units performs processing using a model constructed by machine learning, the model may be constructed by any of supervised machine learning, unsupervised machine learning (e.g., clustering), and reinforcement learning (e.g., machine learning that optimizes evaluation values). The determination information by the unique criteria determination unit may be the type of document 102 to which the page 103 belongs, or may be some score (numerical value) instead of the type itself. In addition, the features handled by each of the unique criteria judgment units may be the features of the title included in page 103, the beginning of page 103, keywords included in page 103 (or the frequency of occurrence of keywords), and context judgment information 109.
[0044] The judgment integration unit 232 in the type judgment unit 104 receives judgment information from the multiple criteria judgment unit 231 (each of the unique criteria judgment units in the multiple criteria judgment unit 231) as input, and outputs judgment information on the type of the document 102 to which the page 103 belongs by a method of integrating or ensembling the judgment information. The judgment integration unit 232 may weight the judgment information from each of the unique criteria judgment units (and further add the weighted information and apply a predetermined function to the added value). The weighting may be adjusted based on machine learning or deduction. The judgment information on the type of the document 102 to which the page 103 belongs may be a single judgment information related to the type, or a single probability distribution information for a set of the types. When the judgment integration unit 232 outputs a single probability distribution information, the possible probability of each type may be listed. (For example, the probability of a contract being 50%, a probability of a purchase order being 20%, and a probability of a specification being 30% may be.) In step 504 (S504) of FIG. 5, the type determination unit 104 (the determination integration unit 232 therein) stores determination information (e.g., a single determination information or a single probability distribution information) of the type 107 of the document 102 to which the page 103 belongs in the page primary determination information DB 214.
[0045] FIG. 8 shows a common aspect of the page primary judgment information DB and the page secondary judgment information DB. Each of the records of the page primary judgment information DB214 and the page secondary judgment information DB215 corresponds to the page 103, and includes a record ID 701, file information 601, and judgment information (judgment information of the type 107 of the document 102 to which the page 103 belongs). The file information 601 includes a file ID 602, a file name 603, and a page ID 702. The judgment information of the type 107 in the record of the page primary judgment information DB214 indicates the first judgment information of the type 107 of the document 102 to which the page 103 corresponding to the record belongs. The judgment information of the type 107 in the record of the page secondary judgment information DB215 indicates the second or subsequent judgment information of the type. The judgment information of the type 107 may store the above-mentioned single judgment information or single probability distribution information.
[0046] After step 504 (S504) in FIG. 5, in step 505 (S505) (front / back determination information update step), the front / back determination information update unit 105 generates various pieces of information constituting the front / back determination information 109 (previous page document type 109a, next page document type 109b, leading division document type 109c, trailing division document type 109d) and stores them in the page feature DB 212. As described above, in step 504 (S504), for each of the pages 103 in the document 101 related to the document data to be analyzed, the determination information of the type 107 of the document 102 to which the page 103 belongs is obtained. Therefore, in step 505 (S505), the front / back determination information update unit 105 can generate various pieces of information constituting the front / back determination information 109 (previous page document type 109a, following page document type 109b, leading division document type 109c, trailing division document type 109d) for each of the pages 103. The before and after determination information updating unit 105 stores the generated information in the respective items 109a, 109b, 109c, and 109d in Fig. 7. It is not essential that the before and after determination information updating unit 105 updates (stores) all of the information constituting the before and after determination information 109 for all of the pages 103 included in the document 101 to be analyzed. The before and after determination information updating unit 105 can also selectively update (store) the pages 103 and the information constituting the before and after determination information 109 as appropriate, depending on the degree of necessity for processing in step 506 (S506) described below.
[0047] 5, in step 506 (S506) (type determination step), the type determination unit 104 may again input information 106 indicating the features of page 103 from the page feature DB 212 or the like, and determine the type of document 102 to which page 103 belongs. Unlike step 504 (S504), in step 506 (S506), for the document data to be analyzed, the records of the page feature DB 212 have meaningful information as various pieces of information constituting the before and after determination information 109 (previous page document type 109a, next page document type 109b, previous division document type 109c, and next division document type 109d). (Note that some items may not have meaningful information.) In step 506 (S506), the type determination unit 104 inputs meaningful information as not only a plurality of explanatory information (explanatory variables) (explanatory variables (1) 108a to (F) 108f) and the division head flag 110a in the record of the page feature DB 212 but also various information constituting the before and after determination information 109 (previous page document type 109a, next page document type 109b, previous division document type 109c, and subsequent division document type 109d) to determine the type of document 102 to which the page 103 belongs. Note that, except for the difference in the range of meaning in the input information, the processing and operation of the type determination unit 104, the internal structure of the type determination unit 104, and the form of the determination information output by the type determination unit 104 are similar in step 504 (S504) and step 506 (S506). In step 506 (S506) of Figure 5, the type determination unit 104 (the determination integration unit 232 therein) stores determination information (e.g., a single determination information or a single probability distribution information) of the type 107 of the document 102 to which the page 103 belongs in the page secondary determination information DB 215.
[0048] As described above, the judgment information in step 504 (S504) of FIG. 5 may be stored in the page primary judgment information DB 214, while the judgment information in step 506 (S506) of FIG. 5 may be stored in the page secondary judgment information DB 215. In other words, the judgment information does not need to be overwritten. In this way, the first embodiment can visualize the degree of improvement of the judgment information by using the various information (previous page document type 109a, next page document type 109b, previous division document type 109c, and subsequent division document type 109d) constituting the before and after judgment information 109 as input for the judgment process of the type 107 of the document 102 to which the page 103 belongs (taking into account the before and after relationship between the pages 103 with respect to the type 107 of the document 102 to which the page 103 belongs). For example, the comparison display output control unit 241 may control a specified device, etc., to output or display in a manner that allows comparison of the judgment information of the type 107 of the document 102 to which the page 103 belongs, which is held in each of the page primary judgment information DB 214 and the page secondary judgment information DB 215.
[0049] Fig. 9 shows the contents of the comparison display output. The comparison display output control unit 241 controls to output or display the contents 900 of the comparison display output shown in Fig. 9, whereby the contents 900 are output or displayed on some device inside or outside the document analysis system 100. The example shown in Fig. 9 shows how "p4 (fourth page)" and "p5 (fifth page)" were determined to be pages included in a "contract" in the first determination, but were corrected to be pages included in a "power of attorney" in the second determination. A person using the document analysis system 100 can access the contents 900 and easily verify the validity of the determination information by the document analysis system 100.
[0050] In addition, in FIG. 5, the type determination unit 104 performs the determination of the type 107 of the document 102 to which the page 103 belongs twice (step 504 (S504) and step 506 (S506)) for one document 101, but the type determination unit 104 may perform the determination three or more times. In that case, the before and after determination information update unit 105 overwrites and updates various information (previous page document type 109a, next page document type 109b, previous division document type 109c, and subsequent division document type 109d) constituting the before and after determination information 109 by the same process as step 505 (S505) in FIG. 5, using the information of the type 107 of the document 102 to which each of the pages 103 belongs obtained in step 506 (S506) corresponding to the nth determination (n is a natural number of 2 or more). Then, the type determination unit 104 executes the process of step 506 (S506) corresponding to the n+1th determination. In this way, by alternately using the type determination unit 104 and the front / back determination information update unit 105, it is expected that the accuracy of determining the type of the document 102 to which the page 103 belongs will be further improved.
[0051] 3. Second embodiment of the present disclosure 3-1. Functional configuration of the second embodiment of the present disclosure FIG. 10 shows a functional configuration of the second embodiment of the present disclosure.
[0052] The document analysis system 100 includes a type determination unit 104, a feature amount storage unit 211, a model parameter storage unit 233, a learning data storage unit 216, a learning unit 251, a determination information storage unit 213, an inconsistency detection unit 252, a similar case extraction unit 253, and a specialized learning data storage unit 218. (Note that although not shown in FIG. 10, the document analysis system 100 also includes the context determination information update unit 105 in FIG. 1.) Among these, the type determination unit 104 and the context determination information update unit 105 have the same functions as those in FIG. 1. The feature amount storage unit 211 stores information 106 indicating the feature amount of the page 103 for each page 103. Here, the information 106 indicating the feature amount of the page 103 has the same contents as those in FIG. 1. FIG. 10 also shows the type 107 of the document 102 to which the page 103 belongs, which is also the same as that in FIG. 1. At least a part of the processing by the type determination unit 104 is specified by one or more model parameters stored in the model parameter storage unit 233. The learning data storage unit 216 stores a plurality of records of learning data for learning processing related to the type determination unit 104 by the learning unit 251 (for determining the model parameters). Each record of the learning data has information indicating the feature amount of the page 103 associated with the record. The information indicating the feature amount of the page 103 includes explanatory information (explanatory variables, for example, layout information or text information of the page 103) 108 and previous and following teacher information 1009 which is information on the type of the document 102 to which the previous position or the next position in the document 101 belongs as viewed from the page 103. The determination information storage unit 213 stores the determination information of the type 107 of the document 102 to which the page 103 belongs, made by the type determination unit 104. The inconsistency detection unit 252 detects whether there is an inconsistency with respect to the determination information of the type 107 of the document 102 to which the page 103 belongs, stored by the determination information storage unit 213. (Note that, as shown by the dotted line in FIG. 10, division start information (division start flag) as part or all of the other information 110 may be used to detect an inconsistency.) When an inconsistency is detected in relation to a certain page 103, the similar case extraction unit 253 extracts a record having information indicating a feature amount similar to the information 106 indicating the feature amount of the certain page 103 (stored in the feature amount storage unit 211) from the learning data storage unit 216, and stores one or more extracted records in the specialized learning data storage unit 218. (Here, the similar case extraction unit 253 can also extract a record having previous and next teacher information 1009 identical or similar to the content of the previous and next determination information 109 from the learning data storage unit 216 as a record having a feature amount similar to the information 106 indicating the feature amount of the certain page 103, and store the record in the specialized learning data storage unit 218. In this case, a record having a feature amount identical or similar to the feature amount of the page 103 in which the inconsistency was detected in terms of the previous and next relationship between pages 103 related to the type 107 of the document 102 to which the page 103 belongs is extracted.) The learning unit 251 performs a learning process for the type determination unit 104 using one or more records stored in the specialized learning data storage unit 218, and updates one or more model parameters stored in the model parameter storage unit 233.
[0053] As shown in FIG. 10, the detection of an inconsistency regarding the determination information of the type 107 of the document 102 to which the page 103 belongs can be used as a trigger for a learning process regarding the type determination unit 104. When an inconsistency is detected in this way, a learning process regarding the type determination unit can be executed to update model parameters that define at least a part of the process by the type determination unit. At this time, a record having a feature similar to the information 106 indicating the feature of the page 103 in which the inconsistency was detected (for example, a record having information (pre-post teacher information 1009) indicating a feature meaning a similar pre-post relationship to the pre-post relationship (pre-post determination information 109) near the page 103 in which the inconsistency was detected with respect to the type 107 of the document 102 to which the page 103 belongs) can be extracted from the learning data storage unit 216, and a subset of the learning data specialized for the inconsistency case can be formed in the specialized learning data storage unit 218. Therefore, it is expected that the inconsistency can be efficiently eliminated by the learning process (updating the model parameters) regarding the type determination unit 104 using such a subset of the learning data.
[0054] 3-2. Processing of the second embodiment of the present disclosure Fig. 11 shows a flowchart of the processing and operation of the second embodiment of the present disclosure. In Fig. 11, rectangular boxes indicate processing and operation steps, and diamond-shaped boxes indicate conditional branch steps. Among the steps in the flowchart of Fig. 11, the operations of the steps also in Fig. 5 are similar to those in Fig. 5, so the explanation will be omitted. When the type determination unit 104 performs processing in step 504 (S504) and step 506 (S506), at least a part of the processing by the type determination unit 104 is specified by one or more model parameters stored in the model parameter storage unit 233 (model parameter DB 234). For example, the determination integration unit 232 included in the type determination unit 104 weights the determination information from each of the unique criterion determination units included in the multi-criteria determination unit 231, and determines the type 107 of the document 102 to which the page 103 belongs, and the weighting may be specified by the model parameters. 5 does not appear in the flowchart of Fig. 11, but may include step 505 (S505) (for example, immediately after step 504 (S504) and immediately before step 1101 (S1101)). In that case, the front / back determination information 109 is stored (updated) in the page feature DB 212. Hereinafter, steps 1101 (S1101) to 1107 (S1107) in the flowchart of FIG. 11 will be described. For convenience of explanation, FIG. 1, FIG. 2, FIG. 7, FIG. 8, FIG. 10, FIG. 12, FIG. 13, and FIG. 14 will be referred to as appropriate. In the following, the detection target of the inconsistency is the information stored in the page primary judgment information DB214 included in the judgment information storage unit 213. However, the detection target of the inconsistency can also be the information stored in the page secondary judgment information DB215 included in the judgment information storage unit 213. In that case, in the following explanation, the part referring to the page primary judgment information DB214 should be read as the page secondary judgment information DB215.
[0055] 11 indicates the beginning of a loop process from step 1102 (S1102) to step 1107 (S1107). The loop process is repeatedly executed for each individual page 103 in the document 101 (document data) for which the type 107 of the document 102 to which the page 103 belongs has been determined. (For example, the loop process is executed in order from the first page to the last page in the document 101.) For each page 103, if the record ID 701 in the page feature DB 212 and the record ID 701 in the page primary determination information DB 214 have a common value, the repeated execution for each page 103 may be rephrased as repeated execution for each record ID 701.
[0056] 11, the inconsistency detection unit 252 reads, for one page 103, from the page primary judgment information DB 214, judgment information of the type 107 of the document 102 to which the one page 103 belongs. (Note that if judgment information of the type 107 of the document 102 to which the page 103 immediately before the one page 103 belongs has been read in the previous loop process, the judgment information is stored.) In addition, the inconsistency detection unit 252 reads the division head flag 110a from the page feature amount DB 212 for the same one page 103.
[0057] 11, in step 1103 (S1103), the inconsistency detection unit 252 detects whether or not there is an inconsistency using the determination information of the type 107 of the document 102 to which the page 103 belongs and the division head flag 110a. Specifically, the inconsistency detection unit 252 detects an inconsistency in one page 103 when the determination of whether or not the one page 103 is the head of the document (division) 102, which is derived from the determination information of the type 107 of the document 102 to which each of the pages 103 in the document 101 belongs, does not match with the determination of whether or not the one page 103 is the head of the document (division) 102, which is indicated by the division head flag 110a. For example, if the judgment information of the type 107 of the document 102 to which "p4" belongs, read from the page primary judgment information DB 214, indicates "contract", and the judgment information of the type 107 of the document 102 to which "p3", the page 103 immediately preceding "p4", also indicates "contract", then it is judged that "p4" is not the beginning of the document 102. On the other hand, it is assumed that the division beginning flag 110a for "p4" read from the page feature DB 212 indicates that "p4" is the beginning of the document (division) 102. In this case, it is judged that there is an inconsistency as to whether "p4" is the beginning of the document (division) 102 or not.
[0058] FIG. 12 shows the contents of the inconsistency display output. The upper part of FIG. 12 shows an example of an inconsistency detected by the inconsistency detection unit 252 in step 1103 (S1103) of FIG. 11. In the example shown in the upper part of FIG. 12, for "p4", which is the fourth page 103, the division head flag 110a indicates that "p4" is the head of the document (division) 102, whereas the determination information of the type 107 of the document 102 to which each of the pages 103 in the document 101 belongs indicates that "p4" is not the head of the document (it is a page in the middle of the contract). In other words, there is an inconsistency for "p4". For "p8", which is the eighth page 103, the division head flag 110a indicates that "p8" is not the head of the document (division) 102, whereas the determination information of the type 107 of the document 102 to which each of the pages 103 belongs indicates that "p8" is the head of the document (it is the first page of the specification). In other words, there is an inconsistency regarding "p8".
[0059] The inconsistency detection unit of the above aspect can easily detect inconsistencies in the determination information of the document type to which each of the document parts (pages) output by the type determination unit belongs. Specifically, by separately preparing division head information (division head flag), it is possible to detect inconsistencies between the document part (page) determined to be the head of the document (division) indicated by this division head information (division head flag) and the document part (page) determined to be the head of the document (division) indicated by the determination information of the document type to which each of the document parts (pages) belongs.
[0060] In addition, in order to check for inconsistencies, the inconsistency display output control unit 242 may control the output or display of the inconsistency display output content 1200 (upper part of Figure 12), thereby outputting or displaying the content 1200 to some device inside or outside the document analysis system 100.
[0061] In step 1103 (S1103) of FIG. 11, if no inconsistency is detected for one page 103, the process proceeds to step 1107 (S1107), and if an inconsistency is detected, the process proceeds to step 1104 (S1104).
[0062] 11, the similar case extraction unit 253 determines extraction conditions for records of the learning data DB217 in order to construct a specialized learning data DB219 (in the specialized learning data storage unit 218) which is a subset of the learning data DB217 (in the learning data storage unit 216). The purpose of constructing the specialized learning data DB219 is to resolve inconsistencies by updating model parameters in the model parameter DB234 (in the model parameter storage unit 233) through a learning process for the type determination unit 104 using the specialized learning data DB219. For this purpose, records showing cases similar to the page 103 in which an inconsistency was detected are collected in the specialized learning data DB219. 11, the similar case extraction unit 253 reads out information 106 indicating the feature amount of the page 103 where the inconsistency was detected from the page feature amount DB 212 (in the feature amount storage unit 211). (In other words, the similar case extraction unit 253 reads out information 106 indicating the feature amount of the page 103 included in the record of the page feature amount DB 212 related to the record ID 701 corresponding to the inconsistent page 103.) Then, the similar case extraction unit 253 selects one or more items (or all items may be selected) from the items of multiple explanatory information (explanatory variables) (explanatory variable (1) 108a to explanatory variable (F) 108f), various information constituting the before and after determination information (previous page document type 109a, next page document type 109b, previous division document type 109c, and following division document type 109d), and division head flag 110a included in the read out information indicating the feature amount of the page 103. The similar case extraction unit 253 determines, for each selected item, a content that has a certain relationship (for example, a relationship in which the content matches, the similarity is equal to or greater than a threshold, or the similarity is greater than a threshold) with the content of the selected item in the page 103 where the inconsistency was detected as one of the partial conditions. For example, when one of a plurality of explanatory information (explanatory variables) (explanatory variables (1) 108a to explanatory variables (F) 108f) is set as the selected item, if the selected item is numerical information, one of the partial conditions may be "the numerical value of the selected item is a numerical value between M-σ and M+σ, with an average value M and a predetermined value σ as a range." As a specific example, for example, when the value of explanatory variable 3 included in information 106 indicating the feature amount of page 103 where the inconsistency was detected is 30, one of the partial conditions may be "explanatory variable 3 is 20 (30-10) or more and 40 (30+10) or less." For example, when the selected item is any of the explanatory information (explanatory variables) (explanatory variables (1) 108a to explanatory variables (F) 108f), if the selected item is character information, one of the partial conditions may be that “the similarity of the selected item to the character information is equal to or greater than a predetermined threshold” or “the similarity of the selected item to the character information is greater than a predetermined threshold.”For example, when the selected item is any one of the previous page document type 109a, the next page document type 109b, the preceding division document type 109c, and the following division document type 109d, which are various pieces of information constituting the preceding and succeeding division determination information, one of the partial conditions may be "matching the type 107 of the document 102 indicated by the selected item." For example, when the division head flag 110a is the selected item, one of the partial conditions may be "matching the value of the selected item (a value indicating whether the flag is on or off)." The similar case extraction unit 253 uses each of the partial conditions determined for each of the selected items to determine the extraction conditions of the records of the learning data DB217 for constructing the specialized learning data DB219, which is a subset of the learning data DB217. For example, the similar case extraction unit 253 can determine the extraction conditions of the records by taking the product of the conditions between each of the partial conditions corresponding to each of the selected items, taking the sum of the conditions, or setting a general logical operation for each of the extraction conditions. The similar case extraction section 253 may store the determined extraction conditions in the model parameter DB 234 .
[0063] FIG. 13 shows the model parameter DB. Each time a learning process related to the type determination unit 104 is performed, a record is added to the model parameter DB 234 (in the model parameter storage unit 233). The model parameter DB 234 includes a re-learning condition parameter 1301 and a model parameter 1302. The re-learning condition parameter 1301 includes a condition ID 1311 and an extraction condition 1312. The model parameter 1302 includes one or more model parameters that define at least a part of the process performed by the type determination unit 104. For example, at least a part of the one or more model parameters may indicate weighting used in the determination integration unit 232 included in the type determination unit 104 (for example, weighting for determination information from each of the unique criterion determination units included in the multi-criteria determination unit 231). In the type determination unit 104, by changing the behavior of the determination integration unit 232 by updating the model parameters, it is easy to adjust for inconsistencies. Fig. 13 shows an example of an extraction condition determined in step 1104 (S1104) in Fig. 11 in the extraction condition 1312 item of a record whose condition ID 1311 is "2". This example of the extraction condition shows that the extraction condition is the product of four partial conditions: "The separator start flag is enabled (it is the start of a document (separator))", "The document type before the separator is "T_1", "Explanatory variable 1 contains the characters "Service specification", and "Explanatory variable 3 is 20 or more and 40 or less".
[0064] After step 1104 (S1104) in FIG. 11, in step 1105 (S1105), the similar case extraction unit 253 constructs a specialized learning data DB 219, which is a subset of the learning data DB 217, by using the extraction condition determined in step 1104 (S1104).
[0065] FIG. 14 shows a learning data DB. The learning data DB 217 has a record for each page 103. The record of the learning data DB 217 has a learning data ID 1401, file information 601, information 106b indicating the feature amount of the page 103, and the type (teacher) 107b of the document 102 to which the page 103 belongs (which is an objective function). The file information 601 includes a file ID 602, a file name 603, and a page ID 702. The information 106b indicating the feature amount of the page 103 is composed of a plurality of explanatory information (explanatory variables) (explanatory variables (1) 108a to explanatory variables (F) 108f), various information constituting the previous and next teacher information (previous page document type (teacher) 1009a, next page document type (teacher) 1009b, previous division document type (teacher) 1009c, next division document type (teacher) 1009d), and a division head flag (teacher) 1010a (division teacher information). The multiple explanatory information (explanatory variables) (explanatory variable (1) 108a to explanatory variable (F) 108f) in the records of the learning data DB 217 in FIG. 14 may be generated by the feature extraction unit 223 in a similar manner to the method used for the items with the same names in the records of the page feature DB 212 in FIG. In the record of the learning data DB217 in FIG. 14, the type (teacher) 107b of the document 102 to which the page 103 (which is the objective function) belongs is teacher data (correct answer data, correct answer information). This teacher data may be determined manually (or by an oracle). In the record of the learning data DB217, various pieces of information constituting the previous and next teacher information 1009 (previous page document type (teacher) 1009a, next page document type (teacher) 1009b, previous division document type (teacher) 1009c, and next division document type (teacher) 1009d) and the division head flag (teacher) 1010a may be uniquely determined from a set of information on the type (teacher) 107b of the document 102 to which the page 103 (which is the objective function) belongs, which is given as teacher data (correct answer data, correct answer information).
[0066] If the learning data includes teacher data (correct answer data, correct answer information), it is possible to perform a learning process including supervised learning as a learning process for the type determination unit. Here, the teacher data (correct answer data, correct answer information) can directly reflect "certain styles" in certain types of documents (for example, documents related to contracts (contract-related documents), documents related to orders, documents related to credit screening), making it easier to make the learning process for the type determination unit more appropriate.
[0067] If, for all pages 103 in a document 101, the value of the division start flag (teacher) 1010a for each page 103 (record) in the learning data DB 217 exactly matches the value of the division start flag 110a for each page 103 (record) in the page feature DB 212, then the determination accuracy of the document division detection unit 224 is 100% (all correct).
[0068] In step 1105 (S1105) of Fig. 11, the similar case extraction unit 253 extracts records that match the extraction conditions determined in step 1104 (S1104) for one or more selected items among the items of multiple explanatory information (explanatory variables) (explanatory variable (1) 108a to explanatory variable (F) 108f) and the various information constituting the previous and next teacher information 1009 (previous page document type (teacher) 1009a, next page document type (teacher) 1009b, previous division document type (teacher) 1009c, next division document type (teacher) 1009d), and division head flag (teacher) 1010a, in each record of the learning data DB 217 in Fig. 14. The similar case extraction unit 253 stores the extracted records in the specialized learning data DB 219. The specialized learning data DB219 may be configured similarly to the learning data DB217 shown in Fig. 14. However, only records that match the extraction condition determined in step 1104 (S1104) are extracted from the records of the learning data DB217 and stored in the specialized learning data DB219.
[0069] As described above, when an inconsistency is detected in relation to a certain document part (page), a record of learning data suitable for use in the learning process related to the type determination unit executed in response to the inconsistency can be extracted and stored in the specialized learning data storage unit. In other words, by executing the learning process related to the type determination unit, it is expected that the inconsistency will be resolved.
[0070] After step 1105 (S1105) in FIG. 11, in step 1106 (S1106), the learning unit 251 performs learning processing for the type determination unit 104 using the record of the specialized learning data DB 219 (in the specialized learning data storage unit 218) as learning data, and updates one or more model parameters 1302 in the model parameter DB 234 (in the model parameter storage unit 233). The learning processing for the type determination unit 104 may be realized by inputting a group of items of information 106b indicating the feature amount of the page 103 of the record of the specialized learning data DB 219 in FIG. 14 to the type determination unit 104, comparing the determination information output from the type determination unit 104 with the item of the type (teacher) 107b of the document 102 to which the page 103 (which is the objective function) of the record of the specialized learning data DB 219 belongs, and performing subsequent processing. In other words, the learning unit 251 may perform supervised learning. As shown in FIG. 13, each time the learning unit 251 performs the learning process of the type determination unit 104, a record is added to the model parameter DB 234.
[0071] Alternatively, for some or all of the processing performed by the type determination unit 104, the learning unit 251 may perform unsupervised learning (eg, clustering), reinforcement learning, or improvement of deductive-based rules.
[0072] After step 1106 (S1106) in FIG. 11 or after no inconsistency is detected in step 1103 (S1103) in FIG. 11, the inconsistency detection unit 252 determines in step 1107 (S1107) whether or not the loop process from step 1102 (S1102) to step 1107 (S1107) has been completed for all pages 103 (record ID 701) that are to be determined for inconsistency. If not, the process returns to step 1101 (S1101) and performs the loop process for the next page 103 (record ID 701). If the loop process has been completed for all pages 103 (record ID 701) that are to be determined for inconsistency, the process proceeds to step 506 (S506).
[0073] In Fig. 11, an inconsistency is detected with respect to the page primary judgment information DB 214. However, an inconsistency may also be detected with respect to the page secondary judgment information DB 215, and a learning process similar to that of Fig. 11 may be performed. In other words, the learning process shown in Fig. 11 can be performed any number of times.
[0074] In the second embodiment, the contents 900 of the comparison display output in FIG. 9 and the contents 1200 of the inconsistency display output in FIG. 12 can be output or displayed to the user of the document analysis system 100. Alternatively, the contents of FIG. 9 and FIG. 12 combined can be output or displayed to the user of the document analysis system 100 (the upper and lower parts of FIG. 12 may be output or displayed together). Therefore, the user of the document analysis system 100 can easily verify the validity of the loop process (inconsistency detection process, learning process for resolving inconsistency) from step 1102 (S1102) to step 1107 (S1107) in the second embodiment. For example, if the result of the determination of the type 107 of the document 102 to which the page 103 belongs performed after the execution of the loop process is more valid than the result of the determination performed before the execution of the loop process, it can be confirmed that the loop process is effective in resolving inconsistencies. On the other hand, if the accuracy rate of the determination of the type 107 of the document 102 to which the page 103 belongs is lower in the result of the determination performed after the loop processing is executed than in the result of the determination performed before the loop processing is executed, it can be recognized that there is a problem or issue with one of the settings used in the loop processing (for example, the extraction condition settings).
[0075] Although the comparison display output contents 900 in FIG. 9 and the inconsistency display output contents 1200 in FIG. 12 are exemplified as items to be output or displayed to a user of the document analysis system 100, the document analysis system 100 may appropriately select and output or display various information handled in the process of processing and operation performed by the document analysis system 100, or history information of the processing process. In addition, when outputting or displaying various information, the document analysis system 100 may output or display an explanatory diagram (explanatory screen) that clearly indicates the part that should be checked intensively when verifying the validity of the output (e.g., judgment information) of the document analysis system 100, or an explanatory diagram (explanatory screen) that suggests which part (device, part, program, data, etc.) in the document analysis system 100 the problem or problem originates from (if there is a problem or problem with the accuracy of the judgment of the document analysis system 100). With this configuration, it becomes easier for a user of the document analysis system 100 to evaluate and verify the document analysis system 100, and to recognize problems and problems.
[0076] In the second embodiment, the learning data update unit 261 may replace or update some or all of the records of the learning data stored in the learning data DB 217 (in the learning data storage unit 216). For example, even in cases where the above-mentioned "certain style" of certain documents (e.g., documents related to contracts (contract-related documents), documents related to orders, documents related to credit screening) changes, or the nature of documents to be handled changes significantly, it is possible to deal with such cases by replacing or updating the learning data (and performing re-learning processing after the replacement or update).
[0077] 4.Other (variations) Although the first and second embodiments of the present disclosure have been described above, the following modifications are also possible.
[0078] (A) Document to be analyzed In the above description of each embodiment, examples of documents to be analyzed include documents relating to contracts (contract-related documents), documents relating to orders, and documents relating to credit screening, examples of documents within documents include contracts, purchase orders, specifications, and powers of attorney, and examples of document data include PDF files. However, the present disclosure can be applied to any document, including documents in which documents of the same type may have a wide variety of formats, or documents in which the order of the documents contained in the document has a certain degree of tolerance (while following a certain convention), that is, documents that are bound in an irregular manner. In addition, the present disclosure is widely applicable to file data from which feature amounts can be extracted by some method. For example, in terms of graphic information having text information and coordinate information, the document analysis system 100 of the present disclosure can handle not only PDF data in which text information is embedded, but also Word files, PowerPoint files, and Excel files (which may include diagrams). In terms of image information, the document analysis system 100 of the present disclosure can handle not only PDF files in which text can be imported only as images, but also various image files (for example, PNG data, JPEG data, BMP data, and GIF data). The present disclosure is also applicable to document data in which these types of data are mixed. In this way, the document analysis system (document analysis method, document analysis program) disclosed herein can be applied to a wide range of documents.
[0079] (B) Document section In the above description of each embodiment, a "page" is shown as an example of the document portion 103. In documents related to contracts (contract-related documents), documents related to orders, documents related to credit screening, and the like, it is assumed that there are few cases in which the type of document changes in the middle of a page (the beginning of a document is in the middle of a page), so handling focusing on pages is useful. However, the present disclosure can also be applied to document portion 103 that is different from a page. For example, if the nature of a document predicts that the type of document changes in the middle of a page (the beginning of a document is in the middle of a page), a unit smaller than a page (for example, a line) may be the "document portion" referred to in the present disclosure. Conversely, document portion 103 may be a unit larger than a page. In this manner, the document analysis system (document analysis method, document analysis program) disclosed herein can perform processing by focusing on various units (for example, units larger than lines or pages).
[0080] (C) Method of implementing each part's processing The above description of each embodiment mainly shows an example in which model parameters indicating the weighting used in the judgment integration unit 232 in the type judgment unit 104 (weighting for judgment information from each of the unique criteria judgment units in the multi-criteria judgment unit 231) are adjusted by supervised machine learning. However, various methods can be used to realize the processing of the judgment integration unit 232, the unique criteria judgment unit in the multi-criteria judgment unit 231, the feature extraction unit 223, and the document division detection unit 224 in the document analysis system 100. For example, any of the following may be used: (1) a method of implementing a model constructed by supervised machine learning, (2) a method of implementing a model constructed by unsupervised machine learning (e.g., clustering), (3) a method of implementing a model constructed by reinforcement learning (e.g., learning to optimize an evaluation value), or (4) a method of implementing a model constructed by deductive-based rules. Furthermore, the re-learning (or rule resetting) shown in the second embodiment may be performed on any of the decision integration unit 232 and the unique criteria decision unit in the multi-criteria decision unit 231. In this way, the document analysis system (document analysis method, document analysis program) disclosed herein can use a wide range of processing implementation techniques and can therefore be designed flexibly.
[0081] (D) Update timing of front / rear determination information 109 In the above description of the first embodiment, for the sake of clarity, it is shown as if the type determination unit 104 has completed determination of the type 107 of the document 102 to which the pages 103 belong for all pages 103 in a document 101 (as shown in (1) of FIG. 4), and then the before and after determination information update unit 105 updates the before and after determination information 109 for all pages 103 in the document 101 (as shown in (2) of FIG. 4), and once all of the updates have been completed, the type determination unit 104 makes the next determination (as shown in (3) of FIG. 4). However, the before and after determination information update unit 105 (in (2) of FIG. 4) may update the before and after determination information 109 in the page feature DB 212 for a page 103 for which it has become possible to determine updated before and after determination information 109, without waiting for the type determination unit 104 (shown in (1) of FIG. 4) to complete the determination process for all pages 103 in one document 101. Also, the type determination unit 104 may start the determination process (in (3) of FIG. 4) without waiting for the before and after determination information update unit 105 (shown in (2) of FIG. 4) to complete the update process for the before and after determination information 109 for all pages 103 in one document 101. In this way, by overlapping the processing time between the type determination unit 104 and the context determination information update unit 105, the document analysis system (document analysis method, document analysis program) disclosed herein can reduce the processing time.
[0082] (E) The front / rear determination information 109 is not provided and is replaced by the determination information storage unit 213 In the above embodiments, the information 106 indicating the feature amount of the page 103 includes the before and after determination information 109, and the before and after determination information 109 is updated as appropriate. However, it is possible not to provide the item of the before and after determination information 109 in the information 106 indicating the feature amount of the page 103. In that case, among the inputs to the type determination unit 104, the information included in the before and after determination information 109 is obtained from the determination information storage unit 213 (page primary determination information DB 214, page secondary determination information DB 215) and input to the type determination unit 104. With this configuration, although somewhat complicated processing is required for inputting information to the type determination unit 104 and for extracting learning data records by the similar case extraction unit 253, the costs associated with storing and updating the before and after determination information 109 can be reduced.
[0083] (F) Loop processing In the above description of the second embodiment, it has been shown that the processes from step 1102 (S1102) to step 1107 (S1107) in FIG. 11 are performed as one loop. However, instead of this, the inconsistency detection process in step 1102 (S1102) may be completed first for all pages 103 in document 101, and then the re-learning process may be executed in a loop from step 1103 (S1103) to step 1106 (S1106). In this way, the flow chart can be flexibly determined within the limits of technical compatibility.
[0084] (G) Document analysis systems and terminals In the above description of each embodiment, as shown in FIG. 2, the terminal 207 and the document analysis system 100 are connected so as to be capable of communicating with each other, and the document analysis system 100 executes the analysis process of the document data corresponding to the document 101 and controls the output and display of the judgment results. However, the terminal 207 may also carry out part of the control of the execution of the analysis process of the document data corresponding to the document 101 and the output and display of the determination results. Furthermore, the document analysis system 100 may be integrated with a terminal that is directly operated by a user of the document analysis system 100. Considering the high capabilities of recent hardware, a single personal computer, a single smartphone, a single tablet, or the like may fulfill the role of the document analysis system 100. In that case, various DBs may be accessed remotely (in the cloud) via a network. As described above, the system configuration can be flexibly determined.
[0085] 5. Combination of embodiments and modifications The technical matters described in each of the embodiments of the present disclosure and the modified examples of the embodiments described above can be combined as appropriate as long as no technical contradiction occurs.
Claims
1. 1. A document analysis system for analyzing document data indicative of a document, comprising: the document is made up of one or more documents, and the document is made up of one or more document parts, and the document includes a plurality of the document parts; The document analysis system includes a type determination unit and a context determination information update unit, the type determination unit receives information indicating a feature amount of a certain document portion and determines a document type to which the certain document portion belongs; the information indicating the feature amount of the document portion includes explanatory information that is information that explains the document portion generated based on the document data, and front-back determination information that is determination information of a document type to which a front position or a rear position in the document relative to the document portion belongs, A document analysis system, wherein the before and after determination information update unit updates the before and after determination information for each of the document parts included in the document based on determination information by the type determination unit of the document type to which each of the document parts included in the document belongs.
2. 2. A document analysis system according to claim 1, The document analysis system further includes a feature amount storage unit, the feature amount storage unit stores, for each of the document portions, information indicating the feature amount of the document portion; the type determination unit, when determining for the first time the type of document to which a certain document portion belongs, inputs information indicating the feature of the certain document portion from the feature storage unit, which does not include information meaningful as the before and after determination information for the certain document portion, and determines the type of document to which the certain document portion belongs; the before and after determination information update unit updates the before and after determination information for each of the document parts based on determination information by the type determination unit of the document type to which each of the document parts belongs, and stores the updated before and after determination information in the feature amount storage unit; A document analysis system in which, if it is not the first time that the type determination unit is determining the type of document to which a certain document part belongs, it inputs information indicating the characteristics of the certain document part from the feature memory unit, including information that is meaningful as the before and after determination information for the certain document part, and determines the type of document to which the certain document part belongs.
3. 2. The document analysis system according to claim 1, The document analysis system further includes a feature amount storage unit, a model parameter storage unit, a learning data storage unit, a learning unit, a determination information storage unit, an inconsistency detection unit, a similar case extraction unit, and a specialized learning data storage unit, the feature amount storage unit stores, for each of the document portions, information indicating the feature amount of the document portion; at least a part of the process performed by the type determination unit is specified by one or more model parameters stored in the model parameter storage unit, the learning data storage unit stores a plurality of records of learning data used in a learning process related to the type determination unit by the learning unit to determine the model parameters; Each of the records of the learning data stores, for the document portion associated with the record, information indicating a feature of the document portion, including the explanatory information and preceding and following teacher information which is information on a document type to which a previous position or a subsequent position in the document belongs, and the determination information storage unit stores determination information of a document type to which the document part belongs, made by the type determination unit; The inconsistency detection unit detects whether or not there is an inconsistency with respect to the determination information of the document type to which the document part belongs, which is stored in the determination information storage unit; the similar case extraction unit, when the inconsistency detection unit detects the inconsistency in relation to a certain document portion, extracts from the learning data storage unit records having information indicating feature amounts similar to information indicating the feature amounts of the certain document portion stored in the feature amount storage unit, and stores the extracted one or more records in the specialized learning data storage unit; The learning unit uses the one or more records stored in the specialized learning data storage unit to perform a learning process for the type determination unit, and updates one or more of the model parameters stored in the model parameter storage unit.
4. 4. A document analysis system according to claim 1, 2 or 3, The document is a document related to a contract, a document related to an order, or a document related to a credit review, The document portion is a single page.
5. 4. A document analysis system according to claim 1, 2 or 3, The position of the document before a certain document part is the position of the document before the certain document part and / or the position of a document that is determined to be before the document to which the certain document part belongs, A position in the document that is later than a certain document part refers to the position of a document part that is later than the certain document part, and / or the position of a document that is determined to be later than the document to which the certain document part is determined to belong, in a document analysis system.
6. 4. A document analysis system according to claim 1, 2 or 3, The document analysis system includes a determination information storage unit for storing determination information by the type determination unit of the document type to which the document part belongs, the determination information storage unit including a primary determination information storage unit for storing the determination information by the type determination unit when the type determination unit determines for the first time the document type to which the document part included in the document belongs, and a secondary determination information storage unit for storing the determination information by the type determination unit when the type determination unit determines for the second time the document type to which the document part included in the document belongs, The document analysis system further includes a comparison display output control unit, A document analysis system, wherein the comparative display output control unit is configured to display the primary judgment information stored in the primary judgment information storage unit and the secondary judgment information stored in the secondary judgment information storage unit side by side or output them in a side by side manner.
7. 4. A document analysis system according to claim 3, the feature amount storage unit further stores, for each of the document portions, section start information which is information indicating whether or not the document portion is determined to be the start of the document; The inconsistency detection unit detects, for each of the document parts contained in the document that has been judged by the type judgment unit, inconsistencies between information as to which document part contained in the document is judged to be the beginning of the document, which is derived from judgment information of the document type to which each of the document parts contained in the document belongs, stored in the judgment information storage unit, and the division beginning information corresponding to each of the document parts contained in the document, stored in the feature storage unit.
8. 4. A document analysis system according to claim 3, The document analysis system further includes a document boundary detection unit, the document boundary detection unit determines the document portion that is the beginning of the document in the document corresponding to the document data, and generates, for each document portion, boundary beginning information indicating whether or not the document portion is determined to be the beginning of the document based on a determination result, and stores the boundary beginning information in the feature amount storage unit; the feature amount storage unit stores the description information, the before / after determination information, and the break start information as information indicating the feature amount of the document portion stored for each of the document portions; Each of the records of the learning data stores, for the document portion associated with the record, the explanatory information, the preceding and following teacher information, and division teacher information indicating whether the document portion is determined to be the beginning of the document, the similar case extraction unit extracts, when the inconsistency detection unit detects an inconsistency in relation to a certain document part, a record having information indicating features similar to information indicating the features of the certain document part stored in the feature storage unit, wherein some or all of the explanatory information, the before and after teacher information, and the partition teacher information stored in the record matches each of the explanatory information, the before and after judgment information, and the partition start information contained in the information indicating the features of the certain document part stored in the feature storage unit, or the similarity is equal to or greater than a threshold, or the similarity is greater than a threshold, and stores the extracted one or more records in the specialized learning data storage unit.
9. 9. A document analysis system according to claim 7, further comprising: The document analysis system further includes an inconsistency display output control unit, The inconsistency display output control unit is configured to, when the inconsistency detection unit detects an inconsistency in the document, display or output both the determination information of the document type to which each of the document parts contained in the document stored in the determination information storage unit belongs and the division start information corresponding to each of the document parts contained in the document stored in the feature storage unit.
10. 4. A document analysis system according to claim 3, Each of the records of the learning data further includes correct answer information of a document type to which the document portion associated with the record belongs; A document analysis system, wherein the preceding and following teacher information contained in each record of the learning data is uniquely derived from the correct answer information of each document portion contained in the document.
11. 4. A document analysis system according to claim 3, The document analysis system further includes a learning data update unit, A document analysis system, wherein the learning data update unit replaces or updates a part or all of the records of the learning data stored in the learning data storage unit.
12. 4. A document analysis system according to claim 3, The type determination unit includes a multi-criteria determination unit and a determination integration unit, The multi-criteria determination unit includes a plurality of unique criteria determination units, each of the unique criterion determination units performs a determination on information input from the feature amount storage unit based on a criterion used in the unique criterion determination unit; The determination integration unit integrates the determination information of each of the unique criteria determination units to determine the document type to which the document part belongs, The document analysis system, wherein the model parameters at least define a judgment process in the judgment integration unit.
13. A document analysis program for causing a computer to function as the document analysis system according to any one of claims 1 to 12.
14. 1. A computer-implemented document analysis method for analyzing document data indicative of a document, comprising: the document is made up of one or more documents, and the document is made up of one or more document parts, and the document includes a plurality of the document parts; The document analysis method includes a type determination step and a context determination information update step, The type determination step is a step of inputting information indicating a feature amount of a certain document part and determining a document type to which the certain document part belongs, the information indicating the feature amount of the document portion includes explanatory information that is information that explains the document portion generated based on the document data, and front-back determination information that is determination information of a document type to which a front position or a rear position in the document relative to the document portion belongs, A document analysis method, wherein the before and after determination information update step is a step of updating the before and after determination information for each of the document parts included in the document based on determination information of the document type to which each of the document parts included in the document belongs by the type determination step.
15. A document analysis program for causing a computer to analyze document data indicating a document, comprising: the document is made up of one or more documents, and the document is made up of one or more document parts, and the document includes a plurality of the document parts; The document analysis program causes a computer to execute a type determination step and a context determination information update step, The type determination step is a step of inputting information indicating a feature amount of a certain document part and determining a document type to which the certain document part belongs, the information indicating the feature amount of the document portion includes explanatory information that is information that explains the document portion generated based on the document data, and front-back determination information that is determination information of a document type to which a front position or a rear position in the document relative to the document portion belongs, A document analysis program, wherein the before and after determination information update step is a step of updating the before and after determination information for each of the document parts included in the document based on the determination information of the document type to which each of the document parts included in the document belongs by the type determination step.
Citation Information
Patent Citations
Text recognition apparatus
JP1992147391A
Image acquisition device and method, and computer- readable recording medium recorded with image acquisition processing program
JP2002024258A
Document processing apparatus, document processing method and document processing program
JP2009169675A
