A keyword extracting device according to a fifteenth aspect of the present invention 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 processing means for simultaneously applying the same kind of patterns stored in each pattern storage means when applying various patterns and for setting, as a