16. A method to replace a source string in a document with a target string, comprising: preprocessing textual content, via a computer, to: 1) tokenize text in said document, 2) collect information concerning morphological information, part-of-speech disambiguation, syntactic dependencies, anaphoric dependencies and semantic relationships in the textual content and 2) label the document with such information, wherein said tokenizing includes multiword tokenization wherein textual input is tokenized into non-isolated units; selecting a target string, via the computer, that is placed at one or more locations within the document; selecting a source string, via the computer, to replace the target string; selecting one of more of a part of speech, a gender, and a number for each of the target string and the source string, via the computer, for replacement in the document; morpho-syntactically disambiguating textual content of the target and source strings, via the computer, using two levels of analysis: 1) examining the parts-of-speech on their own, and if ambiguities are found, 2) examining each occurrence of said source string in the textual content of the document; identifying a set of string dependencies by detecting grammatical dependencies between strings in the textual content of the document via the computer; disambiguating one or more of gender, number, or part of speech and prompting a user to provide user-specified disambiguation, via the computer, if the source string or the target string have one or more of various possible meanings, genders, and numbers; identifying occurrences of the source string in the document, via the computer, that satisfy the user specifications; identifying string relations from the set of string dependencies, via the computer, that define direct or indirect links, or both, to the source string; replacing each occurrences of the source string in the document, via the computer, that satisfy the user specifications with the target string; correcting grammatical and anaphoric inconsistencies, beyond the phrase level, in the string relations in the document, via the computer, that are introduced when the source string is replaced with the target string; and outputting the document; wherein the disambiguation of the source string or the target string is performed before replacing each occurrences of the source string in the document that satisfy the user specifications with the target string.
16. A method to replace a source string in a document with a target string, comprising: preprocessing textual content, via a computer, to: 1) tokenize text in said document, 2) collect information concerning morphological information, part-of-speech disambiguation, syntactic dependencies, anaphoric dependencies and semantic relationships in the textual content and 2) label the document with such information, wherein said tokenizing includes multiword tokenization wherein textual input is tokenized into non-isolated units; selecting a target string, via the computer, that is placed at one or more locations within the document; selecting a source string, via the computer, to replace the target string; selecting one of more of a part of speech, a gender, and a number for each of the target string and the source string, via the computer, for replacement in the document; morpho-syntactically disambiguating textual content of the target and source strings, via the computer, using two levels of analysis: 1) examining the parts-of-speech on their own, and if ambiguities are found, 2) examining each occurrence of said source string in the textual content of the document; identifying a set of string dependencies by detecting grammatical dependencies between strings in the textual content of the document via the computer; disambiguating one or more of gender, number, or part of speech and prompting a user to provide user-specified disambiguation, via the computer, if the source string or the target string have one or more of various possible meanings, genders, and numbers; identifying occurrences of the source string in the document, via the computer, that satisfy the user specifications; identifying string relations from the set of string dependencies, via the computer, that define direct or indirect links, or both, to the source string; replacing each occurrences of the source string in the document, via the computer, that satisfy the user specifications with the target string; correcting grammatical and anaphoric inconsistencies, beyond the phrase level, in the string relations in the document, via the computer, that are introduced when the source string is replaced with the target string; and outputting the document; wherein the disambiguation of the source string or the target string is performed before replacing each occurrences of the source string in the document that satisfy the user specifications with the target string. 17. The method according to claim 16 , further comprising: identifying a set of string dependencies, via the computer, by detecting anaphoric dependencies between strings in the textual content of the document; and correcting anaphoric inconsistencies in the string relations in the document, via the computer, that are introduced when the source string is replaced with the target string.