Sentiment Analyzer
First Claim
1. A non-transitory tangible computer readable media containing one or more instructions executable by one or more processors to perform the method comprising:
- a. receiving a t-gram from an electronic device, the t-gram comprising one or more grams, each of the one or more grams representing a word in a collection of words;
b. setting a polarity for the t-gram;
c. generating possible smaller-gram combinations from the t-gram;
d. iteratively, while the largest of the smaller-gram combinations is larger than zero and the number of v-grams in a training set is above a threshold;
i. calculating a likelihood ratio for the largest of the smaller-gram combinations employing the training set; and
ii. determining if the likelihood ratio meets a minimum replication threshold;
1. if the minimum replication threshold is satisfied;
a. selecting the smaller-gram combinations that is most distant from an undefined polarity value;
b. excluding the smaller-gram combinations employed in calculating the likelihood ratio;
c. increasing the polarity value for the t-gram proportional to the likelihood ratio; and
d. reducing the training set to v-grams that include the t-gram; and
2. if the minimum replication threshold is not satisfied, reducing the size of the smaller-gram by 1; and
e. reporting, via the electronic device, the polarity value.
0 Assignments
0 Petitions
Accused Products
Abstract
A sentiment analysis tool receives a t-gram from an electronic device. The t-gram comprises gram(s), each of the gram(s) representing a word in a collection of words. A polarity is set for the t-gram. Possible smaller-gram combinations are generated from the t-gram. Until a condition is met, iterative actions are taken. A likelihood ratio is calculated for the largest of the smaller-gram combinations employing the training set. A determination is made of whether the likelihood ratio meets a minimum replication threshold. If satisfied: the smaller-gram combinations most distant from an undefined polarity value are selected, the smaller-gram combinations employed in calculating the likelihood ratio are excluded; the polarity value for the t-gram is increasing proportional to the likelihood ratio; and the training set is reduced to v-grams that include the t-gram. Otherwise, the size of the smaller-gram is reduced by 1.
58 Citations
21 Claims
-
1. A non-transitory tangible computer readable media containing one or more instructions executable by one or more processors to perform the method comprising:
-
a. receiving a t-gram from an electronic device, the t-gram comprising one or more grams, each of the one or more grams representing a word in a collection of words; b. setting a polarity for the t-gram; c. generating possible smaller-gram combinations from the t-gram; d. iteratively, while the largest of the smaller-gram combinations is larger than zero and the number of v-grams in a training set is above a threshold; i. calculating a likelihood ratio for the largest of the smaller-gram combinations employing the training set; and ii. determining if the likelihood ratio meets a minimum replication threshold; 1. if the minimum replication threshold is satisfied; a. selecting the smaller-gram combinations that is most distant from an undefined polarity value; b. excluding the smaller-gram combinations employed in calculating the likelihood ratio; c. increasing the polarity value for the t-gram proportional to the likelihood ratio; and d. reducing the training set to v-grams that include the t-gram; and 2. if the minimum replication threshold is not satisfied, reducing the size of the smaller-gram by 1; and e. reporting, via the electronic device, the polarity value. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21)
-
Specification