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

Claim 0:
1. A method of detecting hypocrisy in text, the method comprising:
accessing text comprising fragments;
creating, from the fragments, a syntactic tree that represents syntactic relationships between words in the fragments;
identifying, in the syntactic tree, a first entity and a second entity;
determining that the first entity is opposite to the second entity;
determining a first sentiment score for a first fragment comprising the first entity and a second sentiment score for a second fragment comprising the second entity, wherein each sentiment score indicates an emotion indicated by the respective entity, wherein determining the sentiment score for each fragment comprises:
forming a communicative discourse tree from a respective fragment;
providing the communicative discourse tree to a machine-learning model, the machine-learning model being trained to identify emotions based on input communicative discourse trees for which emotion associations are known; and
receiving the sentiment score from the machine-learning model; and

responsive to determining that the first sentiment score and the second sentiment score indicate opposite emotions, identifying the text as comprising hypocrisy and providing the text to an external device.