The present invention provides a document processing device including: a
specifying unit that specifies character strings which have a common
property across documents, from among character strings included in
plural documents which are represented by plural corresponding document
data; and a rewriting unit that rewrites, among the character strings
specified by the specifying unit, character strings expressed in formats
different from a defined format to character strings expressed in the
defined format.