Information processing apparatus, information processing method, and storage medium
Abstract
Provided is an information processing apparatus including: an obtaining unit configured to obtain a token string generated based on character strings included in a document image; a first determination unit configured to determine a document type represented by the document image and character strings corresponding to a first item included in the document image by using a result obtained by inputting the token string into a trained model; and a second determination unit configured to determine a character string corresponding to a second item by applying the document type and the character strings corresponding to the first item to a rule-based algorithm.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . An information processing apparatus comprising:
an obtaining unit configured to obtain a token string generated based on character strings included in a document image; a first determination unit configured to determine a document type represented by the document image and character strings corresponding to a first item included in the document image by using a result obtained by inputting the token string into a trained model; and a second determination unit configured to determine a character string corresponding to a second item by applying the document type and the character strings corresponding to the first item to a rule-based algorithm.
2 . The information processing apparatus according to claim 1 , wherein the second determination unit determines the character string corresponding to the second item from among the character strings corresponding to the first item.
3 . The information processing apparatus according to claim 1 , wherein
the character strings corresponding to the first item and the character string corresponding to the second item are numeric strings, and the second determination unit determines a numeric string obtained by performing a calculation with the numeric strings corresponding to the first item based on the algorithm as the numeric string corresponding to the second item.
4 . The information processing apparatus according to claim 1 , wherein the trained model includes a first trained model generated by performing machine learning so as to output a document type represented by a document image.
5 . The information processing apparatus according to claim 4 , wherein the trained model includes a second trained model generated by performing machine learning so as to output items corresponding to character strings included in a document image.
6 . The information processing apparatus according to claim 5 , wherein the first determination unit
determines the document type represented by the document image by using a result obtained by inputting the token string into the first trained model, and determines the character strings corresponding to the first item included in the document image by selecting the first item from among items obtained by inputting the token string into the second trained model.
7 . The information processing apparatus according to claim 1 , wherein the trained model is a single trained model generated by performing machine learning so as to output a document type represented by a document image and items corresponding to character strings included in the document image.
8 . The information processing apparatus according to claim 1 , wherein
the algorithm is an algorithm in which a determination condition for determining the character string corresponding to the second item is set, and the second determination unit determines the character string corresponding to the second item by applying at least one of the document type and the character strings corresponding to the first item to the determination condition.
9 . The information processing apparatus according to claim 8 , further comprising
a correction unit configured to correct the character string determined by the second determination unit to a character string designated by a user; and an update unit configured to update information on the determination condition based on a content of the correction by the user.
10 . The information processing apparatus according to claim 1 , further comprising a display control unit configured to display the character string determined by the second determination unit on a display unit.
11 . The information processing apparatus according to claim 10 , wherein
the second determination unit further determines a candidate character string other than the character string corresponding to the second item, the display control unit further displays the candidate character string, and the information processing apparatus further comprises a correction unit configured to make a correction in a case where a user selects the candidate character string such that the candidate character string becomes the character string corresponding to the second item.
12 . The information processing apparatus according to claim 10 , wherein
the second item includes a plurality of items, the second determination unit further determines candidate character strings other than the character strings corresponding to the plurality of items, the display control unit further displays the candidate character strings corresponding to the plurality of items, and the information processing apparatus further comprises a correction unit configured to correct the character strings corresponding to the plurality of items by using the candidate character strings corresponding to the plurality of items in a case where a user selects the candidate character string corresponding to one of the plurality of items.
13 . The information processing apparatus according to claim 1 , wherein the second item includes an item representing an issuance destination of a document represented by the document image and an item representing an issuance source of the document.
14 . The information processing apparatus according to claim 13 , wherein
the document represented by the document image is a document on selling of goods, and the first item includes a plurality of items including an item indicating a company name of a seller or a name of a person in charge at the seller and an item indicating a company name of a buyer or a name of a person in charge at the buyer.
15 . An information processing method comprising:
obtaining a token string generated based on character strings included in a document image; determining a document type represented by the document image and character strings corresponding to a first item included in the document image by using a result obtained by inputting the token string into a trained model; and determining a character string corresponding to a second item by applying the document type and the character strings corresponding to the first item to a rule-based algorithm.
16 . A non-transitory computer readable storage medium storing a program which causes a computer to perform an information processing method, the information processing method comprising:
obtaining a token string generated based on character strings included in a document image; determining a document type represented by the document image and character strings corresponding to a first item included in the document image by using a result obtained by inputting the token string into a trained model; and determining a character string corresponding to a second item by applying the document type and the character strings corresponding to the first item to a rule-based algorithm.Join the waitlist — get patent alerts
Track US2024320996A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.