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

Claim 16:
17. A non-transitory computer-readable storage medium storing computer-executable program instructions, wherein when executed by a processing device, the computer-executable program instructions cause the processing device to perform operations comprising:
accessing text comprising sentence fragments;
generating, from the sentence fragments, a discourse tree that represents rhetorical relationships between the fragments, wherein the discourse tree comprises a plurality of nodes and a plurality of edges connecting the plurality of nodes, each nonterminal node of the plurality of nodes representing a rhetorical relationship between two of the fragments and each terminal node of the plurality of nodes associated with one of the fragments;
creating a communicative discourse tree by matching, in the discourse tree, each fragment that has a verb to a verb signature and labeling one or more terminal edges with a respective communicative action, wherein a communicative action is a mental action expressed by a verb of a corresponding text fragment;
counting a number of associated non-trivial rhetorical relations from the nonterminal nodes in the communicated discourse tree, wherein a non-trivial rhetorical relation is a rhetorical relation that indicates cause, contrast, or attribution;
identifying, for each terminal edge in the communicative discourse tree, a presence of a communicative action;
calculating, for each terminal edge identified as having a respective communicative action, a level of nesting of the respective communicative action;
calculating a total of all the levels of nesting of communicative actions in the communicative discourse tree;
computing, for the communicative discourse tree, a complexity score that is a sum of the number of non-trivial rhetorical relations associated with the nonterminal nodes and the total of all the levels of nesting of the communicative actions;
comparing the complexity score to a threshold; and
in response to determining that the complexity score exceeds the threshold, identifying the text as including deceptive content.