# US 2022/0292587 A1 · Method and apparatus for displaying product review information, electronic device and storage medium

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

- Number: US 2022/0292587 A1
- Document ID: US20220292587A1
- Status: Published application
- Kind: A1
- Application number: 17/635,016
- Filed: 2020-03-27
- Published: 2022-09-15
- Earliest claimed: 2019-08-29
- Assignees: Beijing Jingdong Shangke Information Technology Co., Ltd.; Beijing Jingdong Century Trading Co., Ltd.
- Applicants: Beijing Jingdong Shangke Information Technology Co., Ltd.; Beijing Jingdong Century Trading Co., Ltd.
- Inventors: Yingshuai WANG; Xiaoxia LI; Shiyu MIAO
- Web page: https://patentgrep.com/patent/US20220292587A1

## CPC

- G06Q 30/0282: Rating or review of business operators or products
- G06F 16/338: Presentation of query results
- G06F 16/538: Presentation of query results
- G06F 40/232: Orthographic correction, e.g. spell checking or vowelisation
- G06F 40/253: Grammatical analysis; Style critique
- G06F 40/284: Lexical analysis, e.g. tokenisation or collocates
- G06F 40/30: Semantic analysis
- G06F 40/44: Statistical methods, e.g. probability models
- G06Q 30/06: Buying, selling or leasing transactions
- G06Q 30/0641: {utilising user interfaces specially adapted for shopping}
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Disclosed by the present disclosure are a method and apparatus for displaying product comment information, an electronic device and a storage medium. The method for displaying product comment information is executed by a server and specifically comprises: acquiring product comment information of a user, the product comment information comprising comment text; inputting the comment text into a first model established in advance for error correction processing; determining whether the product comment information further comprises a comment image; if the product comment information comprises a comment image, then inputting the error-corrected comment text and the comment image together into a second model established in advance to detect the consistency of the image and the text, and when the image and the text are detected to be consistent, saving the product comment information in a display list; if the product comment information does not comprise a comment image, then directly saving the error-corrected comment text in the display list; and displaying the product comment information in the display list to the user.

## Claims

### Claim 1

A method for displaying product comment information, executed by a server and comprising:
acquiring product comment information of a user, wherein the product comment information comprises a comment text;
inputting the comment text into a pre-established first model for an error correction processing;
determining whether the product comment information further comprises a comment image;
in response to determining that the product comment information further comprises the comment image, inputting both of the error-corrected comment text and the comment image together into a pre-established second model for an image-text consistency detection, and in response to detecting that the error-corrected comment text and the comment image are consistent, saving the product comment information having the consistent comment text and comment image into a display list;
in response to determining that the product comment information does not comprise the comment image, saving the error-corrected comment text directly in the display list; and
displaying the product comment information in the display list to the user.

### Claim 2 (depends on 1)

The method according to claim 1, wherein after acquiring the product comment information of the user, the method further comprises:
pre-processing the comment text by using a regular matching method, and conducting a word segmentation processing on the pre-proceeded comment text by using a word segmentation logic.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the pre-processing the comment text by using the regular matching method comprises:
matching the comment text by using at least one regular expression method;
filtering out sensitive words and/or preset texts in the comment text based on a matching result; and
removing the comment text of which a number of words of the filtered comment text is lower than a set threshold.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the at least one regular expression method comprises:
using a first regular expression method to match Chinese character information in the comment text; and/or
using a second regular expression method to match non-Chinese character information in the comment text; and/or
using a third regular expression method to match numbers in the comment text; and/or
using a fourth regular expression method to match special characters in the comment text.

### Claim 5 (depends on 2)

The method according to claim 2, wherein after the conducting the word segmentation on the pre-proceeded comment text by using the word segmentation logic, the method further comprises:
for the comment text, determining a value of the comment text regarding to each of preset text feature types based on the preset text feature types and value ranges corresponding to respective preset text feature types, and determining comment feature values of the comment text based on values of the comment text regarding to respective text feature types,
wherein the text feature type is used to describe different types of features that the comment text has, and the comment feature values are a collection of specific values determined for respective text feature types of the comment text.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the displaying the product comment information in the display list to the user comprises:
acquiring personalized comment demand information of the user, wherein the personalized comment demand information comprises the comment feature values;
based on the comment feature values contained in the personalized comment demand information, determining a comment text that conforms to the comment feature values from the display list;
screening out product comment information corresponding to the determined comment text that conforms to the comment feature values to generate the screened product comment information; and
returning the screened product comment information to a user terminal to display to the user.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the first model comprises a text error correction input layer, a text error correction embedding layer, a text error correction feature extraction layer, a correct word and phrase probability calculation layer, and a text error correction output layer;
wherein the first model is established by following steps:
establishing the text error correction input layer, wherein the text error correction input layer is used to input the comment text;
establishing the text error correction embedding layer, wherein the text error correction embedding layer is used to encode the input comment text;
establishing the text error correction feature extraction layer, wherein the text error correction feature extraction layer is used to extract feature vectors from the encoded comment text;
establishing the correct word and phrase probability calculation layer, wherein the correct word and phrase probability calculation layer is used to calculate a conditional probability of each word segment in the comment text being appeared in a context;
establishing the text error correction output layer, wherein the text error correction output layer is used to perform error correction processing on a wrong word segment in the comment text, and outputting a correct comment text;
determining whether the first model reaches a preset error correction accuracy; and
in response to determining that the first model reaches the preset error correction accuracy, ending the establishing of the first model, and in response to determining that the first model does not reach the preset error correction accuracy, adjusting a pre-set parameter of the first model, and returning to re-execute the step of establishing the text error correction input layer.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the second model comprises an image-text detection input layer, an image-text detection hidden layer and an image-text detection output layer;
wherein the second model is established by following steps:
establishing the image-text detection input layer, wherein the image-text detection input layer is used to input the comment text and the comment image to be detected;
establishing the image-text detection hidden layer, wherein the image-text detection hidden layer is used to respectively generate a comment text matrix and a comment image matrix according to the input comment text and the input comment image to be detected, and further generate an image-text joint matrix according to the comment text matrix and the comment image matrix;
establishing the image-text detection output layer, wherein the image-text detection output layer is used to calculate and output a matching degree of the comment text and the comment image to be detected, according to the image-text joint matrix
determining whether the second model reaches a preset matching degree; and
in response to determining that the second model reaches the preset matching degree, ending the establishing of the second model, and in response to determining that the second model dose not reach the preset matching degree, adjusting pre-set weights of the image-text joint matrix and returning to re-execute the step of establishing the image-text detection hidden layer.

### Claim 9

A method for displaying product comment information, executed by a server and comprising:
acquiring product comment information of a user, wherein the product comment information comprises a comment text;
in response to determining that the product comment information further comprises a comment image, inputting both of the comment text and the comment image together into a pre-established first model for an image-text consistency detection, and in response to detecting that the comment text and the comment image are consistent, saving the product comment information having the consistent comment text and comment image into a display list; and
returning the product comment information in the display list to a user terminal to display to the user.

### Claim 10 (depends on 9)

The method according to claim 9, wherein after acquiring the product comment information of the user, the method further comprises:
inputting the comment text into a pre-established second model for an error correction processing;
wherein the inputting both of the comment text and the comment image together into the pre-established first model for the image-text consistency detection comprises:
inputting both of the error-corrected comment text and the comment image together into the first model for the image-text consistency detection.

### Claim 11 (depends on 10)

The method according to claim 10, further comprising:
in response to determining that the product comment information does not comprise the comment image, saving the error-corrected comment text directly in the display list.

### Claim 12 (depends on 9)

The method according to claim 9, wherein after acquiring the product comment information of the user, the method further comprises:
pre-processing the comment text by using a regular matching method, and conducting a word segmentation processing on the pre-proceeded comment text by using a word segmentation logic.

### Claim 13 (depends on 12)

The method according to claim 12, wherein the pre-processing the comment text by using the regular matching method comprises:
matching the comment text by using at least one regular expression method;
filtering out sensitive words and/or preset texts in the comment text based on a matching result; and
removing the comment text of which a number of words of the filtered comment text is lower than a set threshold.

### Claim 14 (depends on 12)

The method according to claim 12, wherein after the conducting the word segmentation on the pre-proceeded comment text by using the word segmentation logic, the method further comprises:
for the comment text, determining a value of the comment text regarding to each of preset text feature types based on the preset text feature types and value ranges corresponding to respective preset text feature types, and determining comment feature values of the comment text based on values of the comment text regarding to respective text feature types,
wherein the text feature type is used to describe different types of features that the comment text has, and the comment feature values are a collection of specific values determined for respective text feature types of the comment text.

### Claim 15 (depends on 14)

The method according to claim 14, wherein the returning the product comment information in the display list to the user terminal to display to the user comprises:
acquiring personalized comment demand information of the user, wherein the personalized comment demand information comprises the comment feature values;
based on the comment feature values contained in the personalized comment demand information, determining a comment text that conforms to the comment feature values from the display list;
screening out product comment information corresponding to the determined comment text that conforms to the comment feature values to generate the screened product comment information; and
returning the screened product comment information to the user terminal to display to the user.

### Claim at position 16

16-24. (canceled)

### Claim 25

An electronic device, comprising: a memory, a processor and a computer program stored in the memory and executable on the processor, when the processor is configured to:
acquire product comment information of a user, wherein the product comment information comprises a comment text;
input the comment text into a pre-established first model for an error correction processing;
determine whether the product comment information further comprises a comment image;
in response to determining that the product comment information further comprises the comment image, input both of the error-corrected comment text and the comment image together into a pre-established second model for an image-text consistency detection, and in response to detecting that the error-corrected comment text and the comment image are consistent, save the product comment information having the consistent comment text and comment image into a display list;
in response to determining that the product comment information does not comprise the comment image, save the error-corrected comment text directly in the display list; and
display the product comment information in the display list to the user.

### Claim 26 (depends on 25)

The electronic device according to claim 25, wherein the processor is further configured to:
pre-process the comment text by using a regular matching method, and conducting a word segmentation processing on the pre-proceeded comment text by using a word segmentation logic.

### Claim 27 (depends on 26)

The electronic device according to claim 26, wherein the processor is configured to:
match the comment text by using at least one regular expression method;
filter out sensitive words and/or preset texts in the comment text based on a matching result; and
remove the comment text of which a number of words of the filtered comment text is lower than a set threshold.

### Claim 28 (depends on 26)

The electronic device according to claim 26, wherein the processor is further configured to:
for the comment text, determine a value of the comment text regarding to each of preset text feature types based on the preset text feature types and value ranges corresponding to respective preset text feature types, and determine comment feature values of the comment text based on values of the comment text regarding to respective text feature types,
wherein the text feature type is used to describe different types of features that the comment text has, and the comment feature values are a collection of specific values determined for respective text feature types of the comment text.

### Claim 29 (depends on 25)

The electronic device according to claim 25, wherein the first model comprises a text error correction input layer, a text error correction embedding layer, a text error correction feature extraction layer, a correct word and phrase probability calculation layer, and a text error correction output layer;
wherein the processor is configured to:
establish the text error correction input layer, wherein the text error correction input layer is used to input the comment text;
establish the text error correction embedding layer, wherein the text error correction embedding layer is used to encode the input comment text;
establish the text error correction feature extraction layer, wherein the text error correction feature extraction layer is used to extract feature vectors from the encoded comment text;
establish the correct word and phrase probability calculation layer, wherein the correct word and phrase probability calculation layer is used to calculate a conditional probability of each word segment in the comment text being appeared in a context;
establish the text error correction output layer, wherein the text error correction output layer is used to perform error correction processing on a wrong word segment in the comment text, and outputting a correct comment text;
determine whether the first model reaches a preset error correction accuracy; and
in response to determining that the first model reaches the preset error correction accuracy, end the establishing of the first model, and in response to determining that the first model does not reach the preset error correction accuracy, adjust a pre-set parameter of the first model, and returning to re-execute establishing the text error correction input layer.
