1. An information processing apparatus comprising: a first replacing unit that replaces, in first document data including a plurality of character strings, a first character string which satisfies a predetermined condition by a second character string including a character string which is not included in the first document data so as to generate second document data; an obtaining unit that obtains a processing result generated by processing the second document data; and a second replacing unit that replaces the second character string included in the processing result by a character string corresponding to the first character string.