1. A text mining apparatus comprising: means for generating a sentence structure from an input document; means for generating a similar structure of patterns having a similar meaning of a partial structure of the sentence structure by performing predetermined conversion operation, including at least change in connection of branches in a graph structure, of the partial structure; and means for determining the patterns having the similar meaning as the identical pattern and detecting the pattern.