Using communicative discourse trees to detect distributed incompetence
AssigneeOracle International Corporation
InventorBoris Galitsky
Life of this patent
Estimating the term…
Abstract
Techniques are disclosed for detecting distributed incompetence in text of a conversation using communicative discourse trees and then inserting an automatic response from an autonomous agent (chatbot) or other entity. For example, a computing system generates a communicative discourse tree from utterances from multiple agents to a user. The computing system obtains a prediction of whether the text includes distributed incompetence by applying a trained predictive model to the communicative discourse tree. Based on the detection, the computing system generates an updated response to a user device.
Claims20
A computer-implemented method for determining a presence of distributed incompetence by analyzing a communicative discourse tree, the method comprising:
- accessing a body of text comprising fragments, wherein at least one fragment comprises a verb and a plurality of words, each word comprising a role of the words within the fragment, wherein each fragment is an elementary discourse unit;
- generating a discourse tree that represents rhetorical relationships between the fragments, wherein the discourse tree comprises a plurality of nodes, each nonterminal node representing a rhetorical relationship between two of the fragments, each terminal node of the nodes of the discourse tree is associated with one of the fragments;
- matching each fragment that has a verb to a verb signature;
- building a communicative discourse tree by augmenting the fragments in the discourse tree with the respective matched verb signatures;
- computing a probability of a presence of distributed incompetence in the body of text by applying a predictive model to the communicative discourse tree, wherein the predictive model is trained to detect a level of distributed incompetence;
- identifying the body of text as containing distributed incompetence responsive to determining that the probability is past a threshold;
- generating a response based on the identification of distributed incompetence;
- and
- inserting the generated response into a conversation associated with the body of text.
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:
- accessing a body of text comprising fragments, wherein at least one fragment comprises a verb and a plurality of words, each word comprising a role of the words within the fragment, wherein each fragment is an elementary discourse unit;
- generating a discourse tree that represents rhetorical relationships between the fragments, wherein the discourse tree comprises a plurality of nodes, each nonterminal node representing a rhetorical relationship between two of the fragments, each terminal node of the nodes of the discourse tree is associated with one of the fragments;
- matching each fragment that has a verb to a verb signature;
- building a communicative discourse tree by augmenting the fragments in the discourse tree with the respective matched verb signatures;
- computing a probability of a presence of distributed incompetence in the body of text by applying a predictive model to the communicative discourse tree, wherein the predictive model is trained to detect a level of distributed incompetence;
- identifying the body of text as containing distributed incompetence responsive to determining that the probability is past a threshold;
- and
- generating a response based on the identification of distributed incompetence and inserting the generated response into a conversation associated with the body of text.
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 a body of text comprising fragments, wherein at least one fragment comprises a verb and a plurality of words, each word comprising a role of the words within the fragment, wherein each fragment is an elementary discourse unit;
- generating a discourse tree that represents rhetorical relationships between the fragments, wherein the discourse tree comprises a plurality of nodes, each nonterminal node representing a rhetorical relationship between two of the fragments, each terminal node of the nodes of the discourse tree is associated with one of the fragments;
- matching each fragment that has a verb to a verb signature;
- building a communicative discourse tree by augmenting the fragments in the discourse tree with the respective matched verb signatures;
- computing a probability of a presence of distributed incompetence in the body of text by applying a predictive model to the communicative discourse tree, wherein the predictive model is trained to detect a level of distributed incompetence;
- identifying the body of text as containing distributed incompetence responsive to determining that the probability is past a threshold;
- and
- generating a response based on the identification of distributed incompetence and inserting the generated response into a conversation associated with the body of text.
Dependencies are inferred from the claim text.