Smart string replacement
First Claim
Patent Images
1. A method for replacing in a document a source string with a target string, comprising:
- morpho-syntactically disambiguating textual content of the document;
identifying a set of string dependencies by detecting grammatical or anaphoric dependencies, or both, between strings in the textual content of the document;
disambiguating one or more of gender, number, or part of speech with user specifications when the source string or the target string have more than one possible meaning;
identifying occurrences of the source string in the document that satisfy the user specifications;
identifying string relations from the set of string dependencies that define direct or indirect links, or both, to the source string;
replacing each occurrences of the source string in the document that satisfy the user specifications with the target string;
correcting grammatical or anaphoric inconsistencies, or both, in the string relations in the document that are introduced when the source string is replaced with the target string; and
outputting the document.
3 Assignments
0 Petitions
Accused Products
Abstract
String replacement is performed in text using linguistic processing. The linguistic processing identifies the existence of direct or indirect links between the string to be replaced and other strings in the text. Morphological, syntactic, anaphoric, or semantic inconsistencies, which are introduced in strings with the identified direct or indirect links to the string that is to be replaced are detected and corrected.
151 Citations
20 Claims
-
1. A method for replacing in a document a source string with a target string, comprising:
-
morpho-syntactically disambiguating textual content of the document;
identifying a set of string dependencies by detecting grammatical or anaphoric dependencies, or both, between strings in the textual content of the document;
disambiguating one or more of gender, number, or part of speech with user specifications when the source string or the target string have more than one possible meaning;
identifying occurrences of the source string in the document that satisfy the user specifications;
identifying string relations from the set of string dependencies that define direct or indirect links, or both, to the source string;
replacing each occurrences of the source string in the document that satisfy the user specifications with the target string;
correcting grammatical or anaphoric inconsistencies, or both, in the string relations in the document that are introduced when the source string is replaced with the target string; and
outputting the document. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A method for replacing in a document a source string with a target string, comprising:
-
morpho-syntactically disambiguating textual content of the document;
identifying occurrences of the source string in the document that satisfy user specifications;
identifying a first set of possible senses for the source string and a second set of possible senses for the target string;
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;
replacing each occurrences of the source string in the document that satisfy the user specifications with the target string;
outputting a warning when the replacement of the source string with the target string is not semantically coherent; and
outputting the document. - View Dependent Claims (13, 14, 15)
-
-
16. A method for replacing in a document a source string-with a target string, comprising:
-
morpho-syntactically disambiguating textual content of the document;
identifying a set of string dependencies by detecting grammatical dependencies between strings in the textual content of the document;
disambiguating one or more of gender, number, or part of speech with user specifications when the source string or the target string have more than one possible meaning;
identifying occurrences of the source string in the document that satisfy the user specifications;
identifying string relations from the set of string dependencies that define direct or indirect links, or both, to the source string;
replacing each occurrences of the source string in the document that satisfy the user specifications with the target string;
correcting grammatical inconsistencies in the string relations in the document 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. - View Dependent Claims (17, 18, 19, 20)
-
Specification