Feedback statistics method, device, electronic device and storage medium for target product
The sentiment analysis model is used to calculate the feedback statistics of the target product, which solves the problem of low efficiency of manual statistics, realizes automated and efficient feedback statistics, is suitable for a variety of statistical scenarios, and enhances the reflection of user preferences.
Patent Information
- Application Number
- CN202210333536.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-30
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-03-30
AI Technical Summary
In the existing technology, the method used by enterprises to count target product feedback relies on manual review, resulting in low efficiency and the inability to effectively utilize user feedback to improve product quality.
By obtaining the sample feedback content and ratings of the target product, selecting sample emotional words with emotional colors, training the sentiment analysis model to calculate the sentiment score, and then conducting feedback statistics to improve statistical efficiency and scene applicability.
It realizes the automated feedback statistical process, improves statistical efficiency, is applicable to a variety of statistical scenarios, and enhances the accurate reflection of user preferences.
Smart Images

Figure CN114756598B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of statistical technology, and in particular to a feedback statistical method, device, electronic device and storage medium for a target product. Background Art
[0002] As companies' awareness of humanized services gradually improves, they also gradually pay attention to user feedback, in order to understand users' preferences for target products based on user feedback, or to solve target product problems or improve target product quality based on user feedback. For example, it is possible to determine whether users like the target product based on their scores, or determine target product failures based on the content of user feedback.
[0003] The current statistical method used by enterprises is to manually review the feedback content provided by users, and then conduct feedback statistics for target products based on the feedback content. However, the manual method leads to low statistical efficiency. Summary of the invention
[0004] In order to solve the above technical problems or at least partially solve the above technical problems, the present application provides a feedback statistics method, device, electronic device and storage medium for a target product.
[0005] In a first aspect, the present application provides a method for collecting feedback statistics of a target product, the method comprising:
[0006] Obtain sample feedback content of the target product and a sample feedback score corresponding to the sample feedback content;
[0007] Selecting sample emotional words with emotional colors from the sample feedback content, wherein the sample emotional words are used to reflect the user's emotional attitude towards the target product;
[0008] Determining a sample sentiment score of the sample feedback content according to the sample feedback score and the sample sentiment vocabulary, wherein the sample sentiment score indicates the user's preference for the target product;
[0009] A sentiment analysis model is trained based on the sample sentiment words and the sample sentiment scores in the sample feedback content, so as to perform feedback statistics of the target product through the sentiment scores output by the sentiment analysis model.
[0010] Optionally, determining the sample sentiment score of the sample feedback content according to the sample feedback score and the sample sentiment vocabulary includes:
[0011] Determining the evaluation category of the sample feedback content according to the sample feedback score;
[0012] Determining an initial score of a sample sentiment vocabulary in the sample feedback content according to the evaluation category;
[0013] The sample sentiment score of the sample feedback content is determined according to the initial score of each sample sentiment word.
[0014] Optionally, determining the sample emotion score of the sample feedback content according to the initial score of each sample emotion vocabulary comprises:
[0015] Determining the frequency of occurrence of the sample sentiment words in the sample feedback content;
[0016] Determining the weight of the sample sentiment vocabulary according to the occurrence frequency, wherein the occurrence frequency and the weight are in a positive relationship;
[0017] The sample sentiment score of the sample feedback content is determined by weighted averaging according to the initial score and weight of each sample sentiment word.
[0018] Optionally, after the sentiment analysis model is trained, the method further includes:
[0019] Acquire a preset time period vocabulary, wherein the preset time period vocabulary is derived from the first feedback content within the preset time period;
[0020] Inputting the preset time period vocabulary into the sentiment analysis model to obtain a first sentiment score of the first feedback content output by the sentiment analysis model;
[0021] A product score of the target product within the preset time period is obtained according to the first sentiment score of each piece of the first feedback content, wherein the product score indicates the user's preference for the target product within the preset time period.
[0022] Optionally, after the sentiment analysis model is trained, the method further includes:
[0023] Acquire preset category words, wherein the preset category words are derived from second feedback content, each piece of the second feedback content corresponds to a feedback category, and each feedback category corresponds to at least one piece of second feedback content;
[0024] Inputting the preset category vocabulary into the sentiment analysis model to obtain a second sentiment score of the second feedback content output by the sentiment analysis model;
[0025] Selecting at least one preset feedback content corresponding to a preset feedback category from the second feedback content;
[0026] The feedback category score of the preset feedback category is determined according to the second emotion score corresponding to each piece of the preset feedback content.
[0027] Optionally, after the sentiment analysis model is trained, the method further includes:
[0028] Acquire a target sentiment vocabulary, wherein the target sentiment vocabulary is derived from the third feedback content;
[0029] Inputting the target sentiment vocabulary into the sentiment analysis model to obtain a third sentiment score of the third feedback content output by the sentiment analysis model;
[0030] According to a preset correspondence between the emotion score and the emotion category, taking the emotion category corresponding to the third emotion score as the emotion category of the target emotion vocabulary;
[0031] According to the emotion category, the multiple target emotion words in the third feedback content are divided into different cloud word pictures, wherein each cloud word picture is used to display multiple emotion words of the same emotion category.
[0032] Optionally, the step of placing a plurality of target emotional words in the third feedback content in different cloud word pictures according to the emotional category includes:
[0033] Determine the occurrence count of target emotion words of a preset emotion category;
[0034] Determine the display area of the target sentiment word in the cloud word picture according to the number of occurrences, wherein the number of occurrences and the display area are positively correlated;
[0035] The target emotional vocabulary is displayed in the cloud word picture according to the display area.
[0036] In a second aspect, a feedback statistics device for a target product is provided, the device comprising:
[0037] An acquisition module is used to acquire sample feedback content of a target product and a sample feedback score corresponding to the sample feedback content;
[0038] A selection module, used to select sample emotional words with emotional colors from the sample feedback content, wherein the sample emotional words are used to reflect the user's emotional attitude towards the target product;
[0039] A determination module, configured to determine a sample sentiment score of the sample feedback content according to the sample feedback score and the sample sentiment vocabulary, wherein the sample sentiment score indicates the user's preference for the target product;
[0040] The training module is used to train a sentiment analysis model based on the sample sentiment words and the sample sentiment scores in the sample feedback content, so as to perform feedback statistics of the target product through the sentiment scores output by the sentiment analysis model.
[0041] In a third aspect, an electronic device is provided, characterized in that it includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus;
[0042] Memory, used to store computer programs;
[0043] The processor is used to implement any of the method steps described above when executing a program stored in the memory.
[0044] In a fourth aspect, a computer storage medium is provided, wherein a computer program is stored in the computer storage medium, and when the computer program is executed by a processor, any of the method steps described above is implemented.
[0045] The above technical solution provided by the embodiment of the present application has the following advantages compared with the prior art:
[0046] In the method provided by the embodiment of the present application, the server selects sample sentiment words from the sample feedback content, and then determines the sample sentiment score of the sample feedback content based on the sample feedback score and the sample sentiment words, so that the model can be trained by the sample sentiment words and the sample sentiment score to obtain the sentiment analysis model. In the subsequent feedback statistics process of the target product, the sentiment score can be used to perform statistics on various feedbacks. The present application uses sentiment scores for feedback statistics, which improves the statistical efficiency compared to manually checking the feedback content for statistics. In addition, the sentiment scores output by the sentiment analysis model are suitable for a variety of subsequent statistical scenarios, thereby improving the scenario applicability of the statistics. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0048] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0049] Figure 1 A flowchart of a method for collecting feedback on a target product provided in an embodiment of the present application;
[0050] Figure 2 Feedback category scores of each feedback category in different time periods provided in the embodiment of the present application;
[0051] Figure 3A schematic diagram of the scores of various feedback categories at different time periods provided in an embodiment of the present application;
[0052] Figure 4 A schematic diagram showing a cloud word image provided in an embodiment of the present application;
[0053] Figure 5 A schematic diagram of the system architecture provided for an embodiment of the present application;
[0054] Figure 6 A schematic diagram of the structure of a feedback statistics device for a target product provided in an embodiment of the present application;
[0055] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0056] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0057] An embodiment of the present application provides a method for collecting feedback statistics on a target product, which can be applied to a server to collect statistics on feedback on the target product.
[0058] The following will describe in detail a method for collecting feedback statistics of a target product provided by an embodiment of the present application in combination with a specific implementation method. Figure 1 As shown, the specific steps are as follows:
[0059] Step 101: Obtain sample feedback content of a target product and a sample feedback score corresponding to the sample feedback content.
[0060] In an embodiment of the present application, the user can provide feedback content and rate the target product based on the user experience of the target product. The feedback content reflects the user's experience of using the target product, including good and bad experience. For example, after using an APP, the user can comment and rate the APP in the application store. After the user provides feedback content and rating, the server obtains sample feedback content and the sample feedback rating corresponding to the sample feedback content.
[0061] Step 102: Select sample emotional words with emotional color from the sample feedback content.
[0062] Among them, sample sentiment words are used to reflect users' sentiment attitudes toward the target product.
[0063] In an embodiment of the present application, the server adopts a word segmentation scheme to split the sample feedback content into multiple sample feedback words. However, some sample feedback words have no emotional color. The server selects the function of filtering words in the preset algorithm to filter out the words without emotional color, such as words irrelevant to emotions like "de" (of), etc., and the obtained words are sample emotional words with emotional color. The sample emotional words are used to reflect the user's emotional attitude towards the target product.
[0064] Exemplarily, the sample feedback content is "I really like xx software", and the sample feedback words are "I", "really", "like", "xx software". Among them, "I", "really", and "xx software" have no emotional color and need to be filtered out, and the remaining emotionally colored "like" is used as the sample emotional word.
[0065] In the present application, the server only selects the sample emotional words with emotional color, and then determines the sample emotional score of the sample feedback content according to the initial score of the sample emotional words, which can improve the accuracy of the sample emotional score of the sample feedback content and avoid the excessive influence of the number of sample feedback words in the sample feedback content on the sample emotional score.
[0066] Step 103: Determine the sample emotional score of the sample feedback content according to the sample feedback score and the sample emotional words.
[0067] Among them, the sample emotional score indicates the degree of preference of the user for the target product.
[0068] In an embodiment of the present application, the server determines the emotional category of the sample feedback content according to the sample feedback score, then determines the initial score of the sample emotional words according to the emotional category, and then determines the sample emotional score of the sample feedback content according to the initial score of the sample emotional words.
[0069] Since the sample emotional score is obtained according to the initial score, and the initial score is obtained according to the emotional category, and the emotional category includes "like", "hate", etc., which reflects the user's preference attitude towards the target product, then the sample emotional score reflects the degree of preference of the user for the target product.
[0070] Step 104: Train an emotion analysis model according to the sample emotional words and the sample emotional score in the sample feedback content, so as to perform feedback statistics on the target product through the emotional score output by the emotion analysis model.
[0071] In the embodiment of the present application, the server uses the sample sentiment words in the sample feedback content and the sample sentiment scores corresponding to the sample feedback content as training samples, and uses the training samples to perform model training to obtain a trained sentiment analysis model. Among them, sentiment analysis can be NLP (Natural Language Processing), and the present application does not limit the specific implementation method of the sentiment analysis model.
[0072] In the subsequent feedback statistics process, the server can input the sentiment words in the feedback content into the sentiment analysis model to obtain the sentiment score of the feedback content output by the sentiment analysis model, and then use the sentiment score to perform feedback statistics on the target product. The statistical content includes but is not limited to: the overall score of the target product within a preset time period, the score of a preset feedback category, or classifying and displaying the sentiment words according to the sentiment score.
[0073] In this application, the server selects sample sentiment words from the sample feedback content, and then determines the sample sentiment score of the sample feedback content based on the sample feedback score and the sample sentiment words, so that the model can be trained through the sample sentiment words and the sample sentiment score to obtain the sentiment analysis model. In the subsequent feedback statistics process of the target product, the sentiment score can be used to perform statistics on various feedbacks. This application uses sentiment scores for feedback statistics, which improves the statistical efficiency compared to manually checking the feedback content for statistics. In addition, the sentiment scores output by the sentiment analysis model are suitable for a variety of subsequent statistical scenarios, which improves the applicability of statistical scenarios.
[0074] As an optional implementation, determining the sample sentiment score of the sample feedback content based on the sample feedback score and the sample sentiment vocabulary includes: determining the evaluation category of the sample feedback content based on the sample feedback score; determining the initial score of the sample sentiment vocabulary in the sample feedback content based on the evaluation category; and determining the sample sentiment score of the sample feedback content based on the initial score of each sample sentiment vocabulary.
[0075] In an embodiment of the present application, the server determines the evaluation category of the sample feedback content based on the sample feedback score, where the evaluation category reflects the user's emotional attitude towards the target product. The server then determines the initial score of the sample emotional vocabulary based on the evaluation category, and then determines the sample emotional score of the sample feedback content based on the initial score of each sample emotional vocabulary.
[0076] Specifically, the sample sentiment score can be obtained by taking the sum of multiple initial scores or taking the average of the initial scores as the sample sentiment score. The present application does not specifically limit the specific implementation method of obtaining the sample sentiment score according to the initial scores. The sample sentiment score is a floating point number. For example, the sample sentiment score is between 0 and 1.
[0077] The server determines the initial score based on the evaluation category, and then determines the sample sentiment score of the sample feedback content based on the initial score. This is to reflect the user's sentiment attitude towards the target product in the initial score, so that the sample sentiment score also reflects the user's sentiment attitude towards the target product, that is, the degree of preference. The higher the sample sentiment score, the higher the user's preference for the target product.
[0078] In addition, the higher the sample feedback score, the more the sample emotional vocabulary in the sample feedback content is biased towards positive emotions, and the higher the sample emotional score is; the lower the sample feedback score, the more the sample emotional vocabulary in the sample feedback content is biased towards negative emotions, and the lower the sample emotional score is. For example, if the sample emotional vocabulary is positive vocabulary such as "excellent picture quality" and "smooth network", the higher the sample emotional score is; if the sample emotional vocabulary is negative vocabulary such as "page freeze" and "download failure", the lower the sample emotional score is.
[0079] For example, the sample feedback score is the score of an APP obtained from the application market. If the score is greater than or equal to 4 points (out of 5 points), the evaluation category is considered to be a good review; if the score is less than or equal to 3 points, the evaluation category is considered to be a bad review. The initial scores of the sample emotional words corresponding to the good and bad reviews are different. Generally speaking, the initial scores of the emotional words in the good reviews (such as excellent picture quality) are greater than the initial scores of the emotional words in the bad reviews (such as page freezes).
[0080] As an optional implementation, determining the sample sentiment score of the sample feedback content according to the initial score of each sample sentiment word includes: determining the frequency of occurrence of the sample sentiment word in the sample feedback content; determining the weight of the sample sentiment word according to the frequency of occurrence, wherein the frequency of occurrence and the weight are positively correlated; and determining the sample sentiment score of the sample feedback content by weighted averaging according to the initial score and weight of each sample sentiment word.
[0081] In an embodiment of the present application, in the sample feedback content, the server determines the frequency of occurrence of each sample sentiment word, and then determines the weight of the sample sentiment word according to the frequency of occurrence. The frequency of occurrence and the weight are positively correlated. The higher the frequency of occurrence of the same sample sentiment word, the greater the weight of the sample sentiment word. In this way, each sample sentiment word has a corresponding initial score and weight. The server performs weighted averaging based on the initial score and weight of each sample sentiment word to obtain the sample sentiment score of the sample feedback content.
[0082] In this application, the server not only considers the initial score of the sample sentiment words, but also takes into account the frequency of occurrence of the sample sentiment words. The higher the frequency of occurrence, the stronger the user's emotional attitude. The sample sentiment score obtained in this way can better reflect the user's preference for the target product.
[0083] In this application, after the server obtains the sentiment analysis model, it can use the sentiment analysis model to perform feedback statistics in multiple dimensions according to the requirements of different scenarios, including at least the following three statistical methods:
[0084] Method 1: Obtaining vocabulary for a preset period of time, wherein the vocabulary for the preset period of time comes from the first feedback content within the preset period of time; inputting the vocabulary for the preset period of time into a sentiment analysis model to obtain a first sentiment score of the first feedback content output by the sentiment analysis model; obtaining a product score of a target product within the preset period of time according to the first sentiment score of each first feedback content, wherein the product score indicates the degree of preference of users for the target product within the preset period of time.
[0085] In an embodiment of the present application, the server obtains the first feedback content within a preset time period, and then selects the preset time period vocabulary from the first feedback content. The server inputs the preset time period vocabulary into the sentiment analysis model to obtain the first sentiment score of the first feedback content output by the sentiment analysis model. Since each first feedback content corresponds to a first sentiment score, the server can obtain the product rating of the target product within the preset time period based on the multiple first sentiment scores. The product rating can be the sum of multiple first sentiment scores or the average of multiple first sentiment scores. The product rating indicates the user's preference for the target product within the preset time period. Among them, the preset time period can be a certain day, a certain week, a certain month, etc., and the present application does not make specific restrictions on the preset time period.
[0086] Figure 2 A schematic diagram for rating products for each day. Figure 2 As can be seen from the figure, the server can obtain the product ratings every day, and the product ratings reflect the user's preference for the product. The higher the product rating, the higher the preference. For example, the rating range is 0 to 1, 0 being the least favorite and 1 being the most favorite.
[0087] This application uses the first sentiment score output by the sentiment analysis model to statistically analyze changes in product ratings over time. If the product rating is too high or too low, further analysis can be performed on the reasons for the rating to continuously improve and perfect the product.
[0088] Method 2: Obtain preset category vocabulary, wherein the preset category vocabulary comes from the second feedback content, each second feedback content corresponds to a feedback category, and each feedback category corresponds to at least one second feedback content; input the preset category vocabulary into the sentiment analysis model to obtain the second sentiment score of the second feedback content output by the sentiment analysis model; select at least one preset feedback content corresponding to the preset feedback category from the second feedback content; determine the feedback category score of the preset feedback category according to the second sentiment score corresponding to each preset feedback content.
[0089] In an embodiment of the present application, the server obtains the second feedback content, each second feedback content corresponds to a feedback category, and each feedback category corresponds to at least one second feedback content. Among them, the feedback category can be selected by the user when providing the second feedback content, or it can be obtained by the server according to the classification of the second feedback content. Exemplarily, the server obtains the second feedback content and feedback category from the fault reporting platform, and the feedback category is page loading failure, account problem or screen projection problem, etc.
[0090] The server selects a preset category vocabulary from the second feedback content, and inputs the preset category vocabulary into the sentiment analysis model to obtain a second sentiment score of the second feedback content output by the sentiment analysis model.
[0091] The server determines a preset feedback category, and then determines a second emotion score for each preset feedback content corresponding to the preset feedback category. The server obtains a feedback category score based on the above multiple second emotion scores, wherein the feedback category score can be obtained by: the sum of the second emotion scores or the average of the second emotion scores. The present application does not specifically limit the method for obtaining the feedback category score.
[0092] In this application, the most urgent fault at the moment can be determined based on the feedback category and the feedback category score, so as to achieve an accurate assessment of the feedback content.
[0093] Figure 3 This is a schematic diagram of the scores of each feedback category at different time periods. Figure 3 You can see how the scores for each feedback category change over time, and you can also see how the scores for different feedback categories differ over the same period of time.
[0094] Method three: obtaining target sentiment vocabulary, wherein the target sentiment vocabulary comes from the third feedback content; inputting the target sentiment vocabulary into the sentiment analysis model to obtain a third sentiment score of the third feedback content output by the sentiment analysis model; according to the correspondence between the preset sentiment score and the sentiment category, taking the sentiment category corresponding to the third sentiment score as the sentiment category of the target sentiment vocabulary; according to the sentiment category, dividing multiple target sentiment vocabulary in the third feedback content into different cloud word pictures, wherein each cloud word picture is used to display multiple sentiment vocabulary of the same sentiment category.
[0095] In an embodiment of the present application, the server obtains the third feedback content, selects a target sentiment word from the third feedback content, inputs the target sentiment word into the sentiment analysis model, and obtains a third sentiment score of the third feedback content output by the sentiment analysis model.
[0096] The database pre-stores the correspondence between the sentiment score and the sentiment category. The sentiment category indicates the sentiment towards the target product, such as like, dislike, etc. The higher the sentiment score, the more the sentiment category tends to be positive. The server determines the sentiment category corresponding to the third sentiment score based on the correspondence stored in the database. Since the third sentiment score corresponds to the target sentiment vocabulary in the third feedback content, the sentiment category corresponding to the third sentiment score can be used as the sentiment category of the target sentiment vocabulary.
[0097] In the above manner, the server divides multiple target emotional words into different cloud word images according to the emotional category, and each cloud word image includes multiple target emotional words of the same emotional category, so that multiple emotional words of the same emotional category can be viewed according to the cloud word image. In addition, since the cloud word image has filtered out the words without emotional color, the cloud word image is more readable and practical.
[0098] As an optional implementation, according to the emotion category, multiple target emotion words in the third feedback content are divided into different cloud word pictures, including: determining the number of occurrences of the target emotion words of the preset emotion category; determining the display area of the target emotion words in the cloud word picture according to the number of occurrences, wherein the number of occurrences and the display area are positively correlated; and displaying the target emotion words in the cloud word picture according to the display area.
[0099] In the embodiment of the present application, the server determines the number of occurrences of the target emotional vocabulary of the preset emotional category, and determines the display area of the target emotional vocabulary in the cloud word picture according to the number of occurrences. Different number of occurrences corresponds to different display areas. The more the number of occurrences, the higher the frequency of use of the target emotional vocabulary. The larger the display area of the target emotional vocabulary in the cloud word picture, the more obvious the display effect. The technician can quickly filter out the emotional vocabulary with more feedback through the cloud word picture. Figure 4 This is a schematic diagram showing the cloud word image.
[0100] In addition, the present application can also determine the number of occurrences of target emotional words in preset emotional categories, thereby obtaining statistics on multiple emotional categories, each emotional category corresponding to the total number of multiple emotional words. This can quickly locate and discover problems, determine the most urgent problems to be solved according to their severity, improve problem-solving efficiency, and optimize the decision-making chain.
[0101] Figure 5The following is a schematic diagram of the system architecture for feedback statistics of a target product. It can be seen that the server can periodically run the relevant script code through the timing management module to periodically obtain feedback content, feedback category or feedback score from the user feedback database. The server can segment the feedback content, train the model based on the feedback content and feedback score, and then use the sentiment analysis module to obtain the sentiment score, build a cloud word image, etc., and finally send the statistical results to the terminal.
[0102] In this application, when using the sentiment analysis model, the server can analyze the feedback content from different dimensions, quickly locate the problem, and provide information support for efficient decision-making and development through the urgency and priority of the problem, shorten the time to discover the problem, and optimize the decision-making link.
[0103] Based on the same technical concept, the embodiment of the present application also provides a feedback statistics device for a target product, such as Figure 6 As shown, the device comprises:
[0104] Acquisition module 601, used to acquire sample feedback content of a target product and a sample feedback score corresponding to the sample feedback content;
[0105] A selection module 602 is used to select sample emotional words with emotional colors from the sample feedback content, wherein the sample emotional words are used to reflect the user's emotional attitude towards the target product;
[0106] A determination module 603 is used to determine a sample sentiment score of the sample feedback content according to the sample feedback score and the sample sentiment vocabulary, wherein the sample sentiment score indicates the user's preference for the target product;
[0107] The training module 604 is used to train a sentiment analysis model based on sample sentiment words and sample sentiment scores in the sample feedback content, so as to perform feedback statistics of the target product through the sentiment scores output by the sentiment analysis model.
[0108] Optionally, the determination module 603 is used to:
[0109] Determine the evaluation category of the sample feedback content according to the sample feedback score;
[0110] Determine the initial score of the sample sentiment words in the sample feedback content according to the evaluation category;
[0111] According to the initial score of each sample sentiment word, the sample sentiment score of the sample feedback content is determined.
[0112] Optionally, the determination module 603 is further configured to:
[0113] Determine the frequency of occurrence of sample sentiment words in sample feedback content;
[0114] Determine the weight of the sample sentiment words according to the frequency of occurrence, where the frequency of occurrence and the weight are positively correlated;
[0115] According to the initial score and weight of each sample sentiment word, the sample sentiment score of the sample feedback content is determined by weighted average.
[0116] Optionally, the device is also used for:
[0117] Acquire a preset time period vocabulary, wherein the preset time period vocabulary is derived from the first feedback content within the preset time period;
[0118] Inputting the preset time period vocabulary into the sentiment analysis model to obtain a first sentiment score of the first feedback content output by the sentiment analysis model;
[0119] According to the first sentiment score of each piece of first feedback content, a product score of the target product within a preset period of time is obtained, wherein the product score indicates the degree of preference of the user for the target product within the preset period of time.
[0120] Optionally, the device is also used for:
[0121] Acquire preset category words, wherein the preset category words are derived from the second feedback content, each piece of second feedback content corresponds to a feedback category, and each feedback category corresponds to at least one piece of second feedback content;
[0122] Inputting the preset category vocabulary into the sentiment analysis model to obtain a second sentiment score of the second feedback content output by the sentiment analysis model;
[0123] Selecting at least one preset feedback content corresponding to the preset feedback category from the second feedback content;
[0124] A feedback category score of a preset feedback category is determined according to the second emotion score corresponding to each preset feedback content.
[0125] Optionally, the device is also used for:
[0126] Acquire target sentiment vocabulary, wherein the target sentiment vocabulary comes from the third feedback content;
[0127] Inputting the target sentiment vocabulary into the sentiment analysis model to obtain a third sentiment score of the third feedback content output by the sentiment analysis model;
[0128] According to the preset correspondence between the emotion score and the emotion category, the emotion category corresponding to the third emotion score is used as the emotion category of the target emotion vocabulary;
[0129] According to the emotion category, multiple target emotion words in the third feedback content are divided into different cloud word images, wherein each cloud word image is used to display multiple emotion words of the same emotion category.
[0130] Optionally, the device is also used for:
[0131] Determine the occurrence count of target emotion words of a preset emotion category;
[0132] According to the number of occurrences, determine the display area of the target emotional vocabulary in the cloud word image, where the number of occurrences and the display area are positively correlated;
[0133] Display the target sentiment words in the word cloud image according to the display area.
[0134] Based on the same technical concept, an embodiment of the present invention further provides an electronic device, such as Figure 7 As shown, it includes a processor 701, a communication interface 702, a memory 703 and a communication bus 704, wherein the processor 701, the communication interface 702, and the memory 703 communicate with each other through the communication bus 704.
[0135] Memory 703, used for storing computer programs;
[0136] The processor 701 is used to implement the above steps when executing the program stored in the memory 703.
[0137] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0138] The communication interface is used for communication between the above electronic device and other devices.
[0139] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0140] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0141] In another embodiment of the present invention, a computer storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above methods are implemented.
[0142] In another embodiment of the present invention, a computer program target product including instructions is provided, which enables the computer to execute any one of the methods in the above embodiments when the computer program target product is executed on the computer.
[0143] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program target product. The computer program target product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer storage medium, or transmitted from one computer storage medium to another computer storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk SolidState Disk (SSD)), etc.
[0144] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0145] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A method for statistical feedback of a target product, characterized in that: The method comprises: Obtain sample feedback content of the target product and a sample feedback score corresponding to the sample feedback content; Selecting sample emotional words with emotional colors from the sample feedback content, wherein the sample emotional words are used to reflect the user's emotional attitude towards the target product; Determining a sample sentiment score of the sample feedback content according to the sample feedback score and the sample sentiment vocabulary, wherein the sample sentiment score indicates the user's preference for the target product; A sentiment analysis model is trained based on the sample sentiment words and the sample sentiment scores in the sample feedback content, so as to perform feedback statistics of the target product through the sentiment scores output by the sentiment analysis model; Wherein, determining the sample sentiment score of the sample feedback content according to the sample feedback score and the sample sentiment vocabulary includes: Determining the evaluation category of the sample feedback content according to the sample feedback score; Determining an initial score of a sample sentiment vocabulary in the sample feedback content according to the evaluation category; Determining the frequency of occurrence of the sample sentiment words in the sample feedback content; Determining the weight of the sample sentiment vocabulary according to the occurrence frequency, wherein the occurrence frequency and the weight are in a positive relationship; The sample sentiment score of the sample feedback content is determined by weighted averaging according to the initial score and weight of each sample sentiment word.
2. The method according to claim 1, characterized in that: After the sentiment analysis model is trained, the method further includes: Acquire a preset time period vocabulary, wherein the preset time period vocabulary is derived from the first feedback content within the preset time period; Inputting the preset time period vocabulary into the sentiment analysis model to obtain a first sentiment score of the first feedback content output by the sentiment analysis model; A product score of the target product within the preset time period is obtained according to the first sentiment score of each piece of the first feedback content, wherein the product score indicates the user's preference for the target product within the preset time period.
3. The method according to claim 1, characterized in that: After the sentiment analysis model is trained, the method further includes: Acquire preset category words, wherein the preset category words are derived from second feedback content, each piece of the second feedback content corresponds to a feedback category, and each feedback category corresponds to at least one piece of second feedback content; Inputting the preset category vocabulary into the sentiment analysis model to obtain a second sentiment score of the second feedback content output by the sentiment analysis model; Selecting at least one preset feedback content corresponding to a preset feedback category from the second feedback content; The feedback category score of the preset feedback category is determined according to the second emotion score corresponding to each piece of the preset feedback content.
4. The method according to claim 1, characterized in that: After the sentiment analysis model is trained, the method further includes: Acquire a target sentiment vocabulary, wherein the target sentiment vocabulary is derived from the third feedback content; Inputting the target sentiment vocabulary into the sentiment analysis model to obtain a third sentiment score of the third feedback content output by the sentiment analysis model; According to a preset correspondence between the emotion score and the emotion category, taking the emotion category corresponding to the third emotion score as the emotion category of the target emotion vocabulary; According to the emotion category, the multiple target emotion words in the third feedback content are divided into different cloud word pictures, wherein each cloud word picture is used to display multiple emotion words of the same emotion category.
5. The method according to claim 4, characterized in that The step of placing the plurality of target emotional words in the third feedback content in different cloud word pictures according to the emotional category includes: Determine the occurrence count of target emotion words of a preset emotion category; Determine the display area of the target sentiment word in the cloud word picture according to the number of occurrences, wherein the number of occurrences and the display area are positively correlated; The target emotional vocabulary is displayed in the cloud word picture according to the display area.
6. A feedback statistics device for a target product, characterized in that: The device comprises: An acquisition module is used to acquire sample feedback content of a target product and a sample feedback score corresponding to the sample feedback content; A selection module, used to select sample emotional words with emotional colors from the sample feedback content, wherein the sample emotional words are used to reflect the user's emotional attitude towards the target product; A determination module, configured to determine a sample sentiment score of the sample feedback content according to the sample feedback score and the sample sentiment vocabulary, wherein the sample sentiment score indicates the user's preference for the target product; A training module, used to train a sentiment analysis model based on sample sentiment words and the sample sentiment scores in the sample feedback content, so as to perform feedback statistics of a target product through the sentiment scores output by the sentiment analysis model; Wherein, the determination module is used for: Determining the evaluation category of the sample feedback content according to the sample feedback score; Determining an initial score of a sample sentiment vocabulary in the sample feedback content according to the evaluation category; Determining the frequency of occurrence of the sample sentiment words in the sample feedback content; Determining the weight of the sample sentiment vocabulary according to the occurrence frequency, wherein the occurrence frequency and the weight are in a positive relationship; The sample sentiment score of the sample feedback content is determined by weighted averaging according to the initial score and weight of each sample sentiment word.
7. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor is used to implement any method step of claims 1-5 when executing a program stored in a memory.
8. A computer storage medium, characterized in that: The computer storage medium stores a computer program, and when the computer program is executed by a processor, the method steps of any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Commodity comment emotional tendency analysis method, device, equipment and readable storage medium
CN111666757A
Service quality evaluation method, system and device and readable storage medium
CN114219337A
