Processing documents by modification relation analysis and embedding related document information
AssigneeKabushiki Kaisha Toshiba
InventorKosei Fume
Life of this patent
Estimating the term…
Abstract
A document processing apparatus is provided that facilitates location of elements within a document to be modified. To this end, the document processing apparatus analyzes document data for modification relations in character strings or between character strings within the document data, and embeds attribute tags within the text document data representing the modification relations. An XML document having the embedded attribute tags is stored in a data storage area, and can subsequently be searched using the embedded tags as search keys.
Claims20
A document processing apparatus comprising:
- an extracting unit that extracts text document data from first document data contained in a first file;
- an analyzing unit that identifies a modification relation between a first character string and a second character string included in the text document data;
- an attribute embedding unit that embeds an attribute in the text document data, the attribute representing the modification relation;
- a document specifying unit that identifies the second character string as being a document-specifying character string that specifies second document data contained in a second file differing from the first file;
- a document-identification unit that embeds a document tag in the text document data, the document tag tagging the second character string as the document-specifying character string;
- a receiving unit that receives an input character string;
- a determining unit that determines that the input character string matches the first character string, and, in response to determination that the input character string matches the first character string, identifies the document-specifying character string having the modification relation with the first character string based on the attribute and the document tag embedded in the text document data;
- an identifying unit that identifies the second document data contained in the second file specified by the document-specifying character string in response to the determination that the input character string matches the first character string;
- and
- a central processing unit configured to execute at least the determining unit.
A document processing method comprising:
- extracting text document data from first document data of a first file;
- analyzing a modification relation between a first character string and a second character string included in the text document data;
- embedding an attribute in the text document data, the attribute indicating the modification relation;
- identifying the second character string as being a document-specifying character string that specifies second document data of a second file differing from the first file;
- embedding a document tag in the text document data, the document tag identifying the document-specifying character string;
- receiving an input character string;
- determining that the input character string matches the first character string in the text document data;
- in response to the determining, identifying the document-specifying character string having the modification relation with the first character string based on the attribute and the document tag;
- and
- identifying, in response to the identifying the document-specifying character string, the second document data represented by the document-specifying character string.
A computer program product having a non-transitory computer-readable medium including programmed instructions for processing text information, wherein the instructions, in response to execution, cause a computing system to perform operations, including:
- extracting text document data from first document data of a first file;
- identifying a modification relation between a first character string and a second character string included in the text document data;
- embedding an attribute in the text document data, the attribute representing the modification relation;
- identifying the second character string as a document-specifying character string that specifies second document data of a second file differing from the first file;
- embedding a document tag in the text document data, the document tag identifying the document-specifying character string;
- receiving an input character string;
- determining that the input character string matches the first character string in the text document;
- in response to the determining, identifying the document-specifying character string having the modification relation with the first character string based on the attribute and the document tag embedded in the text document data;
- and
- in response to the identifying the document-specifying character string, identifying the second document data represented by the document-specifying character string.
Dependencies are inferred from the claim text.