2. The method according to claim 1 , further comprising: identifying a first set of possible senses for the source string and a second set of possible senses for the target string via the computer; assessing whether replacing the source string having the first set of possible senses with the target string having the second set of possible senses is semantically coherent via the computer; and outputting a warning, via the computer, when the replacement of the source string with the target string is not semantically coherent.
7. The method according to claim 2 , further comprising: processing the textual content of the document to identify a set of expressions that may be single-word expressions or multiword expressions via the computer; identifying a sense for each expression in the set of expressions via the computer; assessing, via the computer, whether the string sense and the sense of an identified expression are semantically coherent before replacing each occurrence of the source string in the textual content of the document with the target string when the source string forms part of the identified expression; and outputting a warning, via the computer, when the replacement of the source string with the target string is not semantically coherent.