A non-transitory computer readable storage medium having recorded thereon a program for text mining, the program when executed by a processor causing a computer to perform the text mining, comprising:
- judging whether there is a commonality in expressions among pieces of text data, said pieces of text data being included in plural pieces of analysis target data, respectively;
- generating a plurality of common analysis viewpoints which is a condition to extract an expression from each of said pieces of analysis target data with said commonality;
- identifying, for each of said plurality of common analysis viewpoints, one or more positive example sets each including an expression matching a corresponding one of said plurality of common analysis viewpoints in each of said pieces of analysis target data with said commonality;
- calculating, for each of said plurality of common analysis viewpoints, characteristic quantity showing a degree of characteristic expression of said one or more positive example sets for each of expressions in each of said pieces of analysis target data with said commonality;
- providing, for each of said plurality of common analysis viewpoints, ranks for said expressions in descending order of said calculated characteristic quantity;
- and
- extracting a common analysis viewpoint for said pieces of analysis target data with said commonality from said plurality of common lysis viewpoints in case that a difference in ranks provided for each of said expressions is equal to or greater than a predetermined threshold for said common analysis viewpoint.