Patent ID: 11960844
Assignee: ORACLE INTERNATIONAL CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 7:
8. A system comprising:
a non-transitory computer-readable medium storing computer-executable program instructions; and
a processing device communicatively coupled to the non-transitory computer-readable medium for executing the computer-executable program instructions, wherein executing the computer-executable program instructions configures the processing device to perform operations comprising:
creating a discourse tree from text by identifying elementary discourse units in the text, wherein the discourse tree comprises a plurality of nodes, each nonterminal node of the nodes in the discourse tree representing a rhetorical relationship between two elementary discourse units and each terminal node of the nodes of the discourse tree associated with an elementary discourse unit;
identifying, in the discourse tree, a rhetorical relation of type elaboration or joint, wherein the rhetorical relation relates a first elementary discourse unit and a second elementary discourse unit, and wherein the first elementary discourse unit and the second elementary discourse unit form a reference sentence;
determining a syntactic generalization score for each candidate sentence of a set of candidate sentences, wherein each candidate sentence has a corresponding semantic relation, the determining comprising:
identifying one or more common entities between the candidate sentence and the reference sentence; and
computing a syntactic generalization score equal to a number of the identified one or more common entities;

selecting the candidate sentence having a highest syntactic generalization score of the syntactic generalization scores;
identifying a semantic relation corresponding to the candidate sentence, wherein the semantic relation corresponds to a word in the candidate sentence and defines a role in the candidate sentence; and
replacing, in the discourse tree, the rhetorical relation with an updated rhetorical relation that corresponds to the semantic relation, thereby creating an updated discourse tree.