INFORMATION PROCESSING APPARATUS
An information processing apparatus includes a processor configured to acquire an image showing a document, recognize characters from the acquired image, generate a connected character string by connecting sequences of the recognized characters at line breaks in a text, and extract a portion corresponding to specified information from the generated connected character string.
1 . An information processing apparatus comprising
a processor configured to
acquire an image showing a document,
recognize characters from the acquired image,
generate a connected character string by connecting sequences of the recognized characters at line breaks in a text, and
extract a portion corresponding to specified information from the generated connected character string.
2 . The information processing apparatus according to claim 1 , wherein the processor recognizes the characters after a portion that satisfies a predetermined condition is erased from the acquired image.
3 . The information processing apparatus according to claim 2 , wherein the portion that satisfies the condition is a portion having a specific color.
4 . The information processing apparatus according to claim 1 , wherein the processor recognizes the characters based on an image obtained by converting the acquired image.
5 . The information processing apparatus according to claim 1 , wherein the processor is configured to
generate a plurality of connected character strings by splitting the text,
sequentially extract portions corresponding to the specified information from the plurality of connected character strings, and
terminate the extraction if a predetermined termination condition is satisfied.
6 . The information processing apparatus according to claim 5 , wherein the processor splits the text across a specific character in the text.
7 . The information processing apparatus according to claim 5 , wherein the processor splits the text at a point that depends on a type of the specified information.
8 . The information processing apparatus according to claim 5 , wherein the processor splits the text at a point that depends on a type of the document.
9 . The information processing apparatus according to claim 1 , wherein, if the acquired image has a size corresponding to a plurality of pages of the document, the processor recognizes the characters after the image is split into as many images as the pages.
10 . The information processing apparatus according to claim 2 , wherein, if the acquired image has a size corresponding to a plurality of pages of the document, the processor recognizes the characters after the image is split into as many images as the pages.
11 . The information processing apparatus according to claim 3 , wherein, if the acquired image has a size corresponding to a plurality of pages of the document, the processor recognizes the characters after the image is split into as many images as the pages.
12 . The information processing apparatus according to claim 4 , wherein, if the acquired image has a size corresponding to a plurality of pages of the document, the processor recognizes the characters after the image is split into as many images as the pages.
13 . The information processing apparatus according to claim 5 , wherein, if the acquired image has a size corresponding to a plurality of pages of the document, the processor recognizes the characters after the image is split into as many images as the pages.
14 . The information processing apparatus according to claim 6 , wherein, if the acquired image has a size corresponding to a plurality of pages of the document, the processor recognizes the characters after the image is split into as many images as the pages.
15 . The information processing apparatus according to claim 7 , wherein, if the acquired image has a size corresponding to a plurality of pages of the document, the processor recognizes the characters after the image is split into as many images as the pages.
16 . The information processing apparatus according to claim 1 , wherein, if the connected character string includes at least one of a plurality of first character strings, the processor extracts, as the portion, a second character string positioned under a rule associated with the included first character string.
17 . The information processing apparatus according to claim 1 , wherein the processor excludes a predetermined word from the extracted portion.
18 . The information processing apparatus according to claim 17 , wherein the predetermined word is a word that means a specific designation of a person or an entity in the document.
19 . The information processing apparatus according to claim 1 , wherein the processor extracts, as the portion, a word in a specific word class from the generated connected character string.
20 . The information processing apparatus according to claim 19 , wherein the word class is a proper noun.