# US 2024/0104127 A1 · Method and system for sentiment analysis of information

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

- Number: US 2024/0104127 A1
- Document ID: US20240104127A1
- Status: Published application
- Kind: A1
- Application number: 18/523,978
- Filed: 2023-11-30
- Published: 2024-03-28
- Earliest claimed: 2018-02-12
- Assignees: Hithink Royalflush Information Network Co., Ltd.
- Applicants: Hithink Royalflush Information Network Co., Ltd.
- Inventors: Zheng YI; Wei XIA
- Web page: https://patentgrep.com/patent/US20240104127A1

## CPC

- G06F 16/35: Clustering; Classification
- G06F 16/958: Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
- G06F 18/22: Matching criteria, e.g. proximity measures
- G06F 18/2411: based on the proximity to a decision surface, e.g. support vector machines
- G06F 18/2413: based on distances to training or reference patterns
- G06F 40/242: Dictionaries
- G06F 40/30: Semantic analysis
- G06V 10/75: Organisation of the matching processes, e.g. simultaneous or sequential comparisons of image or video features; Coarse-fine approaches, e.g. multi-scale approaches; using context analysis; Selection of dictionaries
- G06V 10/764: using classification, e.g. of video objects
- G06V 30/373: {using a special pattern or subpattern alphabet}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

One aspect of the present disclosure relates to a method of sentiment analysis based on ambiguity analysis, which includes analyzing information with the sentiment analysis models and the ambiguity analysis models. Another aspect of the present disclosure relates to a method of training the sentiment analysis models and ambiguity analysis models, which includes acquiring information, constructing lexicons, conducting sentiment analysis and ambiguity analysis with said lexicons, acquiring corpus, and training models, etc. Meanwhile, another aspect of the present disclosure relates to a system of sentiment analysis, which includes input, and output modules, acquisition modules, processing modules and database.

## Claims

### Claim 1

A device, comprising:
a non-transitory computer readable storage medium storing executable instructions; and
at least one processor in communication with the non-transitory computer readable storage medium, wherein when executing the executable instructions, the at least one processor is configured to cause the device to:
obtain a user input via an interface of the device, wherein the interface of the device includes a conversational interface;
send, over a network, the user input to a system;
receive, over the network from the system, information including a plurality of pieces, retrieved by the system from a database according to the user input, wherein each piece of the information contains the user input and is marked by the system with a sentiment type of one or more sentimental types;
receive, over the network from the system, classifying results obtained by the system by classifying the information based on the one or more sentiment types; and
display the received information on the conversational interface based on the classifying results.

### Claim 2 (depends on 1)

The device of claim 1, wherein the at least one processor is configured to cause the device further to:
obtain a second user input via the interface of the device;
send, over the network, the second user input to the system;
receive, over the network from the system, second information each piece of which is marked with a sentimental type of the one or more sentimental types and contains the second user input; and
display a comparison of a number of information marked with a same sentimental type of the one or more sentimental types between the user input and the second user input.

### Claim 3 (depends on 1)

The device of claim 1, wherein the plurality of pieces of the received information with different sentiment types may be displayed on a same page or different pages on the conversational interface.

### Claim 4 (depends on 1)

The device of claim 1, wherein the interface comprises a field of interest added by the user as a shortcut associated with a sentimental type of the one or more sentimental types.

### Claim 5 (depends on 1)

The device of claim 1, wherein the interface comprises a plurality of favorites configured to collect the plurality of pieces of the information.

### Claim 6 (depends on 1)

The device of claim 1, wherein the information is marked by the system in the following steps:
conducting a sentimental analysis of the information to obtain a sentimental type of each piece of the information; and
marking the each piece of the information with the sentimental type.

### Claim 7 (depends on 6)

The device of claim 6, wherein the conducting the sentimental analysis of the information comprises:
constructing a sentiment lexicon by retrieving sentimental words or sentimental collocations from the information and storing the sentimental words or sentimental collocations in the sentiment lexicon;
retrieving a sentimental collocation set from the sentiment lexicon;
matching the each piece of the information with the sentimental collocation set to obtain a set of sentences with the sentimental collocations or a set of sentences without the sentimental collocations; and
analyzing the set of sentences with the sentimental collocations or the set of sentences without the sentimental collocations to obtain the sentimental type of the each piece of the information.

### Claim 8 (depends on 1)

The device of claim 1, wherein the sentimental type is determined using a sentiment analyzer, the sentiment analyzer comprising at least one of a Maximum entropy algorithm training model or a support vector machine (SVM) model.

### Claim 9 (depends on 8)

The device of claim 8, wherein the obtaining the sentiment analyzer comprises:
acquiring training information;
constructing a training repository by storing the training information in the training repository;
constructing a training sentiment lexicon by retrieving sentimental collocations from the training information and storing the sentimental collocations in the training sentiment lexicon;
retrieving a sentimental collocation set from the training sentiment lexicon;
matching each piece of the training information with the sentimental collocation set to obtain a set of training sentences with the sentimental collocations;
analyzing the set of training sentences with the sentimental collocations and marking with corresponding sentiment types;
retrieving a corpus including the sentimental collocations marked with the sentiment types based on the set of training sentences with the sentimental collocations marked with the sentiment types; and
obtaining the sentiment analyzer by training a preliminary sentiment analyzer using the corpus.

### Claim 10 (depends on 9)

The device of claim 9, wherein the training information includes non-ambiguous information or ambiguous information obtained based on an ambiguity analysis performed by the system.

### Claim 11 (depends on 1)

The device of claim 1, wherein the information includes non-ambiguous information obtained based on an ambiguity analysis performed by the system on preliminary information retrieved based on the user input.

### Claim 12 (depends on 11)

The device of claim 11, wherein the ambiguity analysis performed by the system on the preliminary information comprises:
constructing a keyword lexicon by retrieving terminologies from the preliminary information and storing the terminologies in the keyword lexicon; and
conducting the ambiguity analysis of the preliminary information based on the keyword lexicon.

### Claim 13 (depends on 12)

The device of claim 12, wherein the conducting the ambiguity analysis of the preliminary information based on the keyword lexicon comprises:
constructing a repository by storing the preliminary information in the repository;
for each piece of the preliminary information in the repository,
matching the piece of the preliminary information with a terminology of the terminologies in the keyword lexicon to obtain a matching result;
scoring the matching result to obtain a score based on the terminology in the keyword lexicon; and
identifying whether the piece of the preliminary information is a piece of the non-ambiguous information or a piece of ambiguous information according to the score.

### Claim 14 (depends on 13)

The device of claim 13, wherein the identifying whether the piece of the preliminary information is a piece of the non-ambiguous information or a piece of the ambiguous information according to the score comprises:
determining the piece of the preliminary information as a piece of the ambiguous information if the score of the piece of the preliminary information is no more than a first threshold;
determining the piece of the preliminary information as a piece of the non-ambiguous information if the score of the piece of the preliminary information is no less than a second threshold;
determining the piece of the preliminary information as a piece of the non-ambiguous information or a piece of the ambiguous information by an operator or by an ambiguity analysis model if the score of the piece of the preliminary information is more than the first threshold and less than the second threshold.

### Claim 15 (depends on 14)

The device of claim 14, wherein the ambiguity analysis model comprises a Maximum entropy algorithm training model.

### Claim 16 (depends on 14)

The device of claim 14, wherein the first threshold or the second threshold are fixed.

### Claim 17 (depends on 14)

The device of claim 14, wherein the first threshold or the second threshold are adjustable based on an amount of the preliminary information.

### Claim 18 (depends on 11)

The device of claim 11, wherein the ambiguity analysis performed by the system on the preliminary information comprises:
obtaining an ambiguity analysis model; and
conducting the ambiguity analysis of the preliminary information using the ambiguity analysis model.

### Claim 19

A method implemented on a device comprising a storage and a processor, comprising:
obtaining a user input via an interface of the device, wherein the interface of the device includes a conversational interface;
sending, over a network, the user input to a system;
receiving, over the network from the system, information including a plurality of pieces, retrieved by the system from a database according to the user input, wherein each piece of the information contains the user input and is marked by the system with a sentiment type of one or more sentimental types;
receiving, over the network from the system, classifying results obtained by the system by classifying the information based on the one or more sentiment types; and
displaying the received information on the conversational interface based on the classifying results.

### Claim 20

A non-transitory computer readable medium embodying a computer program product, the computer program product comprising instructions configured to cause a device to:
obtaining a user input via an interface of the device, wherein the interface of the device includes a conversational interface;
sending, over a network, the user input to a system;
receiving, over the network from the system, information including a plurality of pieces, retrieved by the system from a database according to the user input, wherein each piece of the information contains the user input and is marked by the system with a sentiment type of one or more sentimental types;
receiving, over the network from the system, classifying results obtained by the system by classifying the information based on the one or more sentiment types; and
displaying the received information on the conversational interface based on the classifying results.
