The anonymization processing part 150 associates anonymizationdata which is a target character string for the replacement result with information which is obtained as a result of the morphological analysis and indicates the part of speech of each word within the target character string and outputs to an anonymizationdata storage part 170. 匿名化処理部150は、この置換の結果の対象文字列である匿名データと、形態素解析の結果として得られた、対象文字列中の各単語の品詞を表す情報と、を関連付けて匿名データ記憶部170に出力する。 - 特許庁