Human emotion detection
AssigneeTucknologies Holdings, Inc.
InventorsCraig Tucker, Bryan Novak
Life of this patent
Estimating the term…
Abstract
Disclosed herein are system, method, and computer program product embodiments for recognizing a human emotion in a message. An embodiment operates by receiving a message from a user. The embodiment labels each word of the message with a part of speech (POS) thereby creating a POS set. The embodiment creates a bag of words (BOW) for the message. The embodiment determines an incongruity score for a combination of words in the POS set using a knowledgebase. The embodiment determines a preliminary emotion detection score for an emotion for the message based on the POS set and the BOW. Finally, the embodiment calculates a final emotion detection score for the emotion for the message based on the preliminary emotion detection score and the incongruity score.
Claims20
A computer implemented method for detecting an emotion in a message, comprising:
- receiving, by at least one processor, the message;
- labeling, by the at least one processor, each word of the message with a part of speech (POS) thereby creating a POS set;
- determining, by the at least one processor, an incongruity score for a combination of words in the POS set based on a collocation variable, a correlation variable, and a frequency variable for the combination of words in the POS set;
- determining, by the at least one processor, a preliminary emotion detection score for an emotion for the message based on the POS set;
- and
- calculating, by the at least one processor, a final emotion detection score for the emotion for the message based on the preliminary emotion detection score and the incongruity score.
A system, comprising:
- a memory;
- a sensor configured to receive a message;
- and
- at least one processor coupled to the memory and configured to:
- convert the message to text;
- label each word of the message with a part of speech (POS) thereby creating a POS set;
- create a bag of words (BOW) for the message;
- determine an incongruity score for a combination of words in the POS set based on a collocation variable, a correlation variable, and a frequency variable for the combination of words in the POS set;
- determine a preliminary emotion detection score for an emotion for the message based on the POS set and the BOW;
- and
- calculate a final emotion detection score for the emotion for the message based on the preliminary emotion detection score and the incongruity score.
A non-transitory computer-readable device having instructions stored thereon that, when executed by at least one computing device, causes the at least one computing device to perform operations comprising:
- receiving a message;
- labeling each word of the message with a part of speech (POS) thereby creating a POS set;
- creating a bag of words (BOW) for the message;
- determining an incongruity score for a combination of words in the POS set based on a collocation variable, a correlation variable, and a frequency variable for the combination of words in the POS set;
- determining a preliminary emotion detection score for an emotion for the message based on the POS set and the BOW;
- and
- calculating a final emotion detection score for the emotion for the message based on the preliminary emotion detection score and the incongruity score.
Dependencies are inferred from the claim text.