IP Library Granted Patent US 9,678,948
Granted Patent B2
US 9,678,948 · App. 13/533,313 · Granted Jun 13, 2017

Real-time message sentiment awareness

Inventor: Dhruv A. Bhatt (Indian Trail, NC)
Assignee: International Business Machines Corporation
G06F17/2785
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,678,948
App. No.
13/533,313
Granted
Jun 13, 2017
Kind
B2
Abstract

Provided are techniques for determining a sentiment of an electronic message. The electronic message is parsed to identify one or more sub-constructs. For at least one of the sub-constructs that is not false-positive, a sentiment indicator is assigned from a set of types of sentiment indicators, and a score is assigned for the sentiment indicator. A final score is obtained for at least one type of sentiment indicator in the electronic message by summing scores for that type of sentiment indicator. Based on the final score for the at least one type of sentiment indicator, a sentiment of the electronic message is identified.

Claims (69)

1. A method for determining a sentiment of an electronic message, comprising:

providing, using a processor of a computer, sentiment dictionaries and false-positive dictionaries with associated sentiment indicators, wherein a sentiment dictionary and a false-positive dictionary are provided for each type of sentiment, wherein the sentiment dictionary includes sub-constructs that are correctly classified as the associated sentiment indicator, and wherein the false-positive dictionary includes sub-constructs that are incorrectly classified as the associated sentiment indicator;

parsing the electronic message to identify one or more sub-constructs;

finding a first sub-construct of the one or more sub-constructs in a false-positive dictionary from the false-positive dictionaries that indicates that the first sub-construct is incorrectly classified as the associated sentiment indicator of the false-positive dictionary;

for each of the one or more sub-constructs, other than the first sub-construct, that are not found in the false-positive dictionaries,

finding that sub-construct in a sentiment dictionary from the sentiment dictionaries;

assigning a score for the associated sentiment indicator; and

applying a rule that includes the sub-construct and another sub-construct from the one or more sub-constructs to adjust the score;

obtaining a final score for each type of sentiment indicator in the electronic message by summing scores for sub-constructs having been assigned the score for that type of sentiment indicator without counting the first sub-construct that has been found in the false-positive dictionary; and

based on the final score for each type of sentiment indicator, identifying the sentiment of the electronic message.

2. The method of claim 1 , wherein software is provided as a service in a cloud environment.

3. The method of claim 1 , wherein one or more parsing rules are used to parse the electronic message and assign the score.

4. The method of claim 1 , further comprising:

notifying a user of the sentiment by providing an emoticon representing the sentiment.

5. The method of claim 1 , further comprising:

notifying a user of the sentiment by providing text describing the sentiment.

6. The method of claim 1 , further comprising:

providing suggestions of alternate language using one or more suggestion thesauri.

7. The method of claim 1 , further comprising:

storing the sentiment dictionaries and the false-positive dictionaries.

8. The method of claim 1 , further comprising:

storing one or more parsing rules that are created using the sentiment dictionaries and the false-positive dictionaries.

9. A computer system for determining a sentiment of an electronic message, comprising:

a processor; and

a storage device connected to the processor, wherein the storage device has stored thereon a program, and wherein the processor is configured to execute instructions of the program to perform operations, wherein the operations comprise:

providing sentiment dictionaries and false-positive dictionaries with associated sentiment indicators, wherein a sentiment dictionary and a false-positive dictionary are provided for each type of sentiment, wherein the sentiment dictionary includes sub-constructs that are correctly classified as the associated sentiment indicator, and wherein the false-positive dictionary includes sub-constructs that are incorrectly classified as the associated sentiment indicator;

parsing the electronic message to identify one or more sub-constructs;

finding a first sub-construct of the one or more sub-constructs in a false-positive dictionary from the false-positive dictionaries that indicates that the first sub-construct is incorrectly classified as the associated sentiment indicator of the false-positive dictionary;

for each of the one or more sub-constructs, other than the first sub-construct, that are not found in the false-positive dictionaries

finding that sub-construct in a sentiment dictionary from the sentiment dictionaries;

assigning a score for the associated sentiment indicator; and

applying a rule that includes the sub-construct and another sub-construct from the one or more sub-constructs to adjust the score;

obtaining a final score for each type of sentiment indicator in the electronic message by summing scores for sub-constructs having been assigned the score for that type of sentiment indicator without counting the first sub-construct that has been found in the false-positive dictionary; and

based on the final score for each type of sentiment indicator, identifying the sentiment of the electronic message.

10. The computer system of claim 9 , wherein one or more parsing rules are used to parse the electronic message and assign the score.

11. The computer system of claim 9 , wherein the operations further comprise:

notifying a user of the sentiment by providing an emoticon representing the sentiment.

12. The computer system of claim 9 , wherein the operations further comprise:

notifying a user of the sentiment by providing text describing the sentiment.

13. The computer system of claim 9 , wherein the operations further comprise:

providing suggestions of alternate language using one or more suggestion thesauri.

14. The computer system of claim 9 , wherein the operations further comprise:

storing the sentiment dictionaries and the false-positive dictionaries.

15. The computer system of claim 9 , wherein the operations further comprise:

storing the or more parsing rules that are created using the sentiment dictionaries and the false-positive dictionaries.

16. The computer system of claim 9 , wherein the program is provided as a service in a cloud environment.

17. A computer program product for determining a sentiment of an electronic message, the computer program product comprising:

a non-transitory computer readable storage medium having computer readable program code embodied therewith, wherein the computer readable program code, when executed by a processor of a computer, is configured to perform:

providing sentiment dictionaries and false-positive dictionaries with associated sentiment indicators, wherein a sentiment dictionary and a false-positive dictionary are provided for each type of sentiment, wherein the sentiment dictionary includes sub-constructs that are correctly classified as the associated sentiment indicator, and wherein the false-positive dictionary includes sub-constructs that are incorrectly classified as the associated sentiment indicator;

parsing the electronic message to identify one or more sub-constructs;

finding a first sub-construct of the one or more sub-constructs in a false-positive dictionary from the false-positive dictionaries that indicates that the first sub-construct is incorrectly classified as the associated sentiment indicator of the false-positive dictionary;

for each of the one or more sub-constructs, other than the first sub-construct, that are not found in the false-positive dictionaries,

finding that sub-construct in a sentiment dictionary from the sentiment dictionaries;

assigning a score for the associated sentiment indicator; and

applying a rule that includes the sub-construct and another sub-construct from the one or more sub-constructs to adjust the score;

obtaining a final score for each type of sentiment indicator in the electronic message by summing scores for sub-constructs having been assigned the score for that type of sentiment indicator without counting the first sub-construct that has been found in the false-positive dictionary; and

based on the final score for each type of sentiment indicator, identifying the sentiment of the electronic message.

18. The computer program product of claim 17 , wherein one or more parsing rules are used to parse the electronic message and assign the score.

19. The computer program product of claim 17 , wherein the computer readable program code, when executed by the processor of the computer, is configured to perform:

notifying a user of the sentiment by providing an emoticon representing the sentiment.

20. The computer program product of claim 17 , wherein the computer readable program code, when executed by the processor of the computer, is configured to perform:

notifying a user of the sentiment by providing text describing the sentiment.

21. The computer program product of claim 17 , wherein the computer readable program code, when executed by the processor of the computer, is configured to perform:

providing suggestions of alternate language using one or more suggestion thesauri.

22. The computer program product of claim 17 , wherein the computer readable program code, when executed by the processor of the computer, is configured to perform:

storing the sentiment dictionaries and the false-positive dictionaries.

23. The computer program product of claim 17 , wherein the computer readable program code, when executed by the processor of the computer, is configured to perform:

storing one or more parsing rules that are created using the sentiment dictionaries and the false-positive dictionaries.

24. The computer program product of claim 17 , wherein the computer readable program code is provided as a service in a cloud environment.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 26, 2012
From: BHATT, DHRUV A.
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 028448/0424 →
Continuity (1)
Related Publication 20130346067A1 · Dec 26, 2013