摘要 |
The present invention provides an analysis apparatus which calculates the frequency that a word to be analyzed appears in character groups (sentences) in each type of context. The analysis apparatus includes a context storage section that stores context information indicating the positions of character groups in a predetermined context in a document, an index storage section that stores index information indicating the position(s), in the document, of each of a plurality of words included in the document, an input section for inputting a word to be analyzed, a position detection section that detects the position(s) of the word to be analyzed, included in the document from the index information, and a frequency detection section that detects the frequency that the word to be analyzed appears in each type of context in the document, from the position(s) of the word to be analyzed and the context information. |