# US 2012/0259616 A1 · Systems, methods and devices for generating an adjective sentiment dictionary for social media sentiment analysis

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2012/0259616 A1
- Document ID: US20120259616A1
- Status: Published application
- Kind: A1
- Application number: 13/082,963
- Filed: 2011-04-08
- Published: 2012-10-11
- Earliest claimed: 2011-04-08
- Assignees: Xerox Corporation
- Inventors: Wei Peng; Dae Hoon Park
- Web page: https://patentgrep.com/patent/US20120259616A1

## CPC

- G06F 40/253: Grammatical analysis; Style critique
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments generally relate to systems and methods for generating a sentiment dictionary and calculating sentiment scores of adjectives within the sentiment dictionary. A set of seed words can be identified and expanded using synonyms and antonyms of the set of seed words. Social media data can be parse to identify adjectives that link to the set of seed words with the words “and” or “but.” Matrices representing the attraction and repulsion among the linked adjectives can be generated. A factorization algorithm can be minimized to determine an output matrix that comprises positive and negative sentiment scores for each of the adjectives. In embodiments, a sentiment score for part of all of the social media data can be calculated using the output matrix, and one or more parts of the social media data can be classified as a positive or negative sentiment.

## Claims

### Claim 1

A method of processing data, the method comprising:
identifying a set of seed words comprising words defined as either positive words or negative words;
extracting, from a set of data, adjectives linked to the set of seed words with “and”;
extracting, from the set of data, adjectives linked to the set of seed words with “but”;
determining a first value indicating a first frequency with which the adjectives are linked to the set of seed words with “and”;
determining a second value indicating a second frequency with which the adjectives are linked to the set of seed words with “but”; and
calculating, by a processor, sentiment scores for each adjective of the set of data based on the first value and the second value.

### Claim 2 (depends on 1)

The method of claim 1, wherein identifying the set of seed words comprises:
identifying the set of seed words; and
generating an expanded set of seed words by adding synonyms and antonyms of the set of seed words to the set of seed words.

### Claim 3 (depends on 1)

The method of claim 1, wherein the set of seed words comprises a positive set and a negative set.

### Claim 4 (depends on 1)

The method of claim 1, wherein each of the sentiment scores comprises a positive sentiment score and a negative sentiment score.

### Claim 5 (depends on 1)

The method of claim 1, wherein the first value is generated using an equation xij=wij+Log(dij++1), wherein xij corresponds to elements of the first value, wij+ corresponds to a number of times that a word i and a word j appear to be synonyms, and dij+ corresponds to the second frequency of the word i and the word j being linked with “and.”

### Claim 6 (depends on 5)

The method of claim 5, wherein the second value is generated using an equation cij=Iij+Log(dij−+1), wherein cij corresponds to elements of the second value, Iij equals 1 if the word i is in a positive set of the set of seed words and the word j is in a negative set of the seed words, or vice versa, and equals 0 otherwise, and dij− corresponds to the second frequency of the word i and the word j being linked with “but.”

### Claim 7 (depends on 6)

The method of claim 6, wherein the sentiment scores can be calculated by minimizing an equation ∥X−HSHT∥F2+αTr(HTCH), wherein H is a matrix comprising the sentiment scores.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
classifying each adjective of the set of data as either a positive word or a negative word.

### Claim 9 (depends on 1)

The method of claim 1, wherein the set of data is social media data.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
determining a sentiment score for at least part of the set of data.

### Claim 11

A system for processing data, comprising:
an interface to a storage device configured to store a set of data; and
a processor, communicating with the storage device via the interface, the processor being configured to:
identify a set of seed words comprising words defined as either positive words or negative words;
extract, from the set of data, adjectives linked to the set of seed words with “and”;
extract, from the set of data, adjectives linked to the set of seed words with “but”;
determine a first value indicating a first frequency with which the adjectives are linked to the set of seed words with “and”;
determine a second value indicating a second frequency with which the adjectives are linked to the set of seed words with “but”; and
calculate, by a processor, sentiment scores for each adjective of the set of data based on the first value and the second value.

### Claim 12 (depends on 11)

The system of claim 11, wherein identifying the set of seed words comprises:
identifying the set of seed words; and
generating an expanded set of seed words by adding synonyms and antonyms of the set of seed words to the set of seed words.

### Claim 13 (depends on 11)

The system of claim 11, wherein the set of seed words comprises a positive set and a negative set.

### Claim 14 (depends on 11)

The system of claim 11, wherein each of the sentiment scores comprises a positive sentiment score and a negative sentiment score.

### Claim 15 (depends on 11)

The system of claim 11, wherein the first value is generated using an equation xij=wij++Log(dij++1), wherein xij corresponds to elements of the first value, wij+ corresponds to a number of times that a word i and a word j appear to be synonyms, and dij+ corresponds to the second frequency of the word i and the word j being linked with “and.”

### Claim 16 (depends on 15)

The system of claim 15, wherein the second value is generated using an equation cij=Iij+Log(dij−+1), wherein cij corresponds to elements of the second value, Iij equals 1 if the word i is in a positive set of the set of seed words and the word j is in a negative set of the seed words, or vice versa, and equals 0 otherwise, and dij− corresponds to the second frequency of the word i and the word j being linked with “but.”

### Claim 17 (depends on 16)

The system of claim 16, wherein the sentiment scores can be calculated by minimizing an equation ∥X−HSHT∥F2+αTr(HTCH), wherein H is a matrix comprising the sentiment scores.

### Claim 18 (depends on 11)

The system of claim 11, wherein the processor is further configured to:
classify each adjective of the set of data as either a positive word or a negative word.

### Claim 19 (depends on 11)

The system of claim 11, wherein the set of data is social media data.

### Claim 20 (depends on 11)

The system of claim 11, wherein the processor is further configured to:
determine a sentiment score for at least part of the set of data.
