According to the seventeenth aspect of the present invention, furthermore, a keyword extracting device is characterized by a plurality of pattern storage means corresponding to a type and field of a text, a kind of a stored pattern and the like, and pattern integrating means for expanding selection, concatenation, repetition and the like in a pattern if necessary, and for integrating and outputtin