Comment discovery method, device, terminal device and storage medium

By screening and analyzing user comments and using keyword collections to generate comment alert information, the problem of low efficiency in Internet comment monitoring is solved and efficient capture of user feedback is achieved.

CN110728146BActive Publication Date: 2024-09-10TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910966956.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-10-12
Publication Date
2024-09-10
Estimated Expiration
2039-10-12

AI Technical Summary

Technical Problem

Existing technology is inefficient when monitoring Internet reviews, requires a lot of manual reading and analysis, and is difficult to accurately capture user feedback information on products.

Method used

By obtaining the set of valid keywords and invalid keywords, filtering user comments, determining valid comments, and generating comment alarm information based on the number of comments, the accuracy and efficiency of comment extraction are improved.

Benefits of technology

It achieves efficient and accurate extraction and monitoring of comments, reduces the need for manual reading, and improves the efficiency of capturing user feedback.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110728146B
    Figure CN110728146B
Patent Text Reader

Abstract

The embodiment of the present application discloses a comment discovery method, apparatus, terminal device and storage medium, the method comprising: obtaining a first keyword set and a second keyword set; obtaining a first user comment set for a target comment object within a first acquisition period, the first user comment set including at least one user comment; if any user comment in the first user comment set includes any valid keyword in the first keyword set and does not include any invalid keyword in the second keyword set, then any user comment is determined to be a valid comment; obtaining the first comment number corresponding to the valid comments in the first user comment set, and generating comment warning information for the target comment object according to the first comment number. The embodiment of the present application can improve the accuracy of comment extraction and discovery efficiency, and has strong operability and high applicability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a comment discovery method, apparatus, terminal device, and storage medium. Background Art

[0002] With the development of Internet technology and the rapid upgrading of terminals, more and more applications can be installed on terminals. Various applications make people's work, life and entertainment more colorful than traditional methods. Generally speaking, user feedback information is of great reference significance to the development team. However, with the explosive growth of Internet data, the Internet has brought massive data while also greatly increasing the difficulty of extracting effective information from these data. The existing technology is to manually read the content posted by users in places where users are concentrated, such as official forums, forums, etc., summarize, analyze and make reports for relevant personnel to read. However, manual reading requires a lot of manpower and time, and continuous monitoring requires continuous reading, analysis, and report generation, which is inefficient. Therefore, for developers, how to effectively monitor external network comments and accurately capture user feedback on the use of their own products has become a problem that needs to be solved urgently. Summary of the invention

[0003] The embodiments of the present application provide a comment discovery method, apparatus, terminal device, and storage medium, which can improve the accuracy of comment extraction and discovery efficiency, and have strong operability and high applicability.

[0004] In a first aspect, an embodiment of the present application provides a comment discovery method, the method comprising:

[0005] Acquire a first keyword set and a second keyword set, wherein the first keyword set includes a plurality of valid keywords, and the second keyword set includes a plurality of invalid keywords;

[0006] Acquire a first user comment set for a target comment object in a first collection period, wherein the first user comment set includes at least one user comment;

[0007] If any user comment in the first user comment set includes any valid keyword in the first keyword set and does not include any invalid keyword in the second keyword set, then the user comment is determined to be a valid comment;

[0008] A first number of comments corresponding to the valid comments in the first user comment set is obtained, and comment warning information for the target comment object is generated according to the first number of comments.

[0009] In combination with the first aspect, in a possible implementation manner, generating comment warning information for the target comment object according to the first number of comments includes:

[0010] If the first number of comments is greater than a preset comment number threshold, comment warning information for the target comment object is generated.

[0011] In combination with the first aspect, in a possible implementation manner, generating comment warning information for the target comment object according to the first number of comments includes:

[0012] Obtain a second user comment set for the target comment object within a second collection period, and obtain a second comment quantity of the valid comments included in the second user comment set, wherein the second collection period and the first collection period are two adjacent collection periods and the second collection period is located before the first collection period;

[0013] The growth rate of valid comments is determined based on the first number of comments and the second number of comments. If the growth rate of valid comments is greater than a preset growth rate threshold, comment warning information is generated for the target comment object.

[0014] In combination with the first aspect, in a possible implementation manner, generating comment warning information for the target comment object according to the first number of comments includes:

[0015] Clustering all the valid comments determined from the first user comment set to obtain a plurality of comment categories;

[0016] The third number of comments corresponding to each comment category is determined from the first number of comments corresponding to the valid comments included in the first user comment set, and comment warning information corresponding to each comment category is generated based on the third number of comments.

[0017] In combination with the first aspect, in a possible implementation manner, the obtaining of the first keyword set and the second keyword set includes:

[0018] Acquire a first comment set and a second comment set, wherein the first comment set includes at least one pre-marked first valid comment, and the second comment set includes at least one pre-marked second invalid comment;

[0019] Performing word segmentation processing on each first valid comment in the first comment set to obtain a plurality of word segments constituting each first valid comment, and extracting a plurality of word segments including preset keywords from the plurality of word segments constituting each first valid comment as valid keywords, thereby obtaining the first keyword set;

[0020] Each second invalid comment in the above-mentioned second comment set is segmented to obtain multiple segmentations constituting each second invalid comment, and multiple segmentations including the above-mentioned preset keywords are extracted from the multiple segmentations constituting each second invalid comment as invalid keywords, thereby obtaining the above-mentioned second keyword set.

[0021] In combination with the first aspect, in a possible implementation manner, the extracting of multiple segmented words including preset keywords from the multiple segmented words constituting each first valid comment as valid keywords includes:

[0022] Extracting multiple participles including a preset keyword from the multiple participles constituting each first valid comment, and obtaining a first occurrence frequency of each participle in the multiple participles including the preset keyword in the first comment set;

[0023] The segmented words with a first occurrence frequency greater than a first preset frequency threshold are determined as valid keywords.

[0024] In combination with the first aspect, in a possible implementation manner, the obtaining of the first keyword set and the second keyword set includes:

[0025] Acquire a first comment set and a second comment set, wherein the first comment set includes at least one pre-marked first valid comment, and the second comment set includes at least one pre-marked second invalid comment;

[0026] Performing word segmentation processing on each first valid comment in the first comment set to obtain a plurality of valid word segments constituting each first valid comment, and obtaining a second occurrence frequency of each valid word segment in the first comment set, and determining a valid word segment having a second occurrence frequency greater than a second preset frequency threshold as a valid keyword, thereby obtaining the first keyword set;

[0027] Each second invalid comment in the above-mentioned second comment set is segmented to obtain multiple invalid participles constituting each second invalid comment, and the third occurrence frequency of each invalid participle in the above-mentioned second comment set is obtained, and the invalid participle whose third occurrence frequency is greater than the third preset frequency threshold is determined as an invalid keyword, thereby obtaining the above-mentioned second keyword set.

[0028] In combination with the first aspect, in a possible implementation manner, after obtaining the second keyword set, the method further includes:

[0029] If the first keyword set and the second keyword set contain the same target keyword, obtaining the fourth occurrence frequency and the fifth occurrence frequency of the target keyword in the first comment set and the second comment set respectively;

[0030] When the absolute value of the difference between the fourth occurrence frequency and the fifth occurrence frequency is greater than a fourth preset frequency threshold, deleting the target keyword in the keyword set corresponding to the smaller frequency;

[0031] When the absolute value of the difference between the fourth occurrence frequency and the fifth occurrence frequency is less than the fourth preset frequency threshold, the target keyword in the first keyword set and the second keyword set is deleted.

[0032] In a second aspect, an embodiment of the present application provides a comment discovery device, the device comprising:

[0033] A keyword set acquisition module, used to acquire a first keyword set and a second keyword set, wherein the first keyword set includes a plurality of valid keywords, and the second keyword set includes a plurality of invalid keywords;

[0034] A user comment set acquisition module, used to acquire a first user comment set for a target comment object in a first collection period, wherein the first user comment set includes at least one user comment;

[0035] A valid comment determination module, configured to determine that any user comment in the first user comment set is a valid comment if the user comment includes any valid keyword in the first keyword set and does not include any invalid keyword in the second keyword set;

[0036] The comment warning generation module is used to obtain the first comment quantity corresponding to the above-mentioned valid comments in the above-mentioned first user comment set, and generate comment warning information for the above-mentioned target comment object according to the above-mentioned first comment quantity.

[0037] In conjunction with the second aspect, in a possible implementation manner, the comment alarm generating module includes a first comment alarm generating unit, and the first comment alarm generating unit is used to:

[0038] If the first number of comments is greater than a preset comment number threshold, comment warning information for the target comment object is generated.

[0039] In conjunction with the second aspect, in a possible implementation manner, the comment alert generation module includes:

[0040] A second comment quantity acquisition unit is used to acquire a second user comment set for the target comment object in a second collection period, and acquire a second comment quantity of the valid comments included in the second user comment set, wherein the second collection period and the first collection period are two adjacent collection periods and the second collection period is located before the first collection period;

[0041] The second comment alarm generating unit is used to determine the growth rate of valid comments based on the first number of comments and the second number of comments, and if the growth rate of valid comments is greater than a preset growth rate threshold, generate comment alarm information for the target comment object.

[0042] In conjunction with the second aspect, in a possible implementation manner, the comment alert generation module includes:

[0043] A comment category determination unit, used for clustering all the above-mentioned valid comments determined from the above-mentioned first user comment set to obtain multiple comment categories;

[0044] The third comment alarm generating unit is used to determine the number of third comments corresponding to each comment category from the first number of comments corresponding to the above-mentioned valid comments included in the above-mentioned first user comment set, and generate comment alarm information corresponding to the above-mentioned each comment category based on the above-mentioned third number of comments.

[0045] In conjunction with the second aspect, in a possible implementation, the keyword set acquisition module includes:

[0046] A first pre-marked comment set acquisition unit, configured to acquire a first comment set and a second comment set, wherein the first comment set includes at least one pre-marked first valid comment, and the second comment set includes at least one pre-marked second invalid comment;

[0047] a first keyword set determining unit, configured to perform word segmentation processing on each first valid comment in the first comment set to obtain a plurality of word segments constituting each first valid comment, and extract a plurality of word segments including preset keywords from the plurality of word segments constituting each first valid comment as valid keywords, thereby obtaining the first keyword set;

[0048] The second keyword set determination unit is used to perform word segmentation processing on each second invalid comment in the above-mentioned second comment set to obtain multiple word segments constituting each second invalid comment, and extract multiple word segments including the above-mentioned preset keywords from the above-mentioned multiple word segments constituting each second invalid comment as invalid keywords, thereby obtaining the above-mentioned second keyword set.

[0049] In conjunction with the second aspect, in a possible implementation manner, the first keyword set determining unit is specifically configured to:

[0050] Extracting multiple participles including a preset keyword from the multiple participles constituting each first valid comment, and obtaining a first occurrence frequency of each participle in the multiple participles including the preset keyword in the first comment set;

[0051] The segmented words with a first occurrence frequency greater than a first preset frequency threshold are determined as valid keywords.

[0052] In conjunction with the second aspect, in a possible implementation manner, the keyword set acquisition module further includes:

[0053] A second pre-marked comment set acquisition unit, configured to acquire a first comment set and a second comment set, wherein the first comment set includes at least one pre-marked first valid comment, and the second comment set includes at least one pre-marked second invalid comment;

[0054] a third keyword set determination unit, configured to perform word segmentation processing on each first valid comment in the first comment set to obtain a plurality of valid word segments constituting each first valid comment, and obtain a second occurrence frequency of each valid word segment in the first comment set, and determine a valid word segment having a second occurrence frequency greater than a second preset frequency threshold as a valid keyword, thereby obtaining the first keyword set;

[0055] The fourth keyword set determination unit is used to perform word segmentation processing on each second invalid comment in the above-mentioned second comment set to obtain multiple invalid word segments that constitute each second invalid comment, and obtain the third occurrence frequency of each invalid word in the above-mentioned second comment set, and determine the invalid word whose third occurrence frequency is greater than the third preset frequency threshold as an invalid keyword, thereby obtaining the above-mentioned second keyword set.

[0056] In conjunction with the second aspect, in a possible implementation manner, the apparatus further includes a keyword set adjustment module, and the keyword set adjustment module includes:

[0057] a target keyword determining unit, configured to obtain a fourth occurrence frequency and a fifth occurrence frequency of the target keyword in the first comment set and the second comment set respectively if the first keyword set and the second keyword set contain the same target keyword;

[0058] The keyword set processing unit is used to delete the target keyword in the keyword set corresponding to the smaller frequency when the absolute value of the difference between the fourth occurrence frequency and the fifth occurrence frequency is greater than the fourth preset frequency threshold; and to delete the target keyword in the first keyword set and the second keyword set when the absolute value of the difference between the fourth occurrence frequency and the fifth occurrence frequency is less than the fourth preset frequency threshold.

[0059] In a third aspect, an embodiment of the present application provides a terminal device, the terminal device includes a processor and a memory, the processor and the memory are connected to each other. The memory is used to store a computer program that supports the terminal device to execute the method provided by the first aspect and / or any possible implementation of the first aspect, the computer program includes program instructions, and the processor is configured to call the program instructions to execute the method provided by the first aspect and / or any possible implementation of the first aspect.

[0060] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and the computer program includes program instructions, which, when executed by a processor, enable the processor to execute the method provided by the above-mentioned first aspect and / or any possible implementation method of the first aspect.

[0061] In an embodiment of the present application, by obtaining a first keyword set and a second keyword set, it can be obtained that the first keyword set includes multiple valid keywords and the second keyword set includes multiple invalid keywords. By obtaining a first user comment set for a target comment object in a first collection period, if any user comment in the first user comment set includes any valid keyword in the first keyword set and does not include any invalid keyword in the second keyword set, then any user comment is determined to be a valid comment, and then by obtaining the first number of comments corresponding to the valid comments in the first user comment set, comment warning information for the target comment object can be generated according to the first number of comments. The method provided in the embodiment of the present application can improve the accuracy of comment extraction and discovery efficiency, and has strong operability and high applicability. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0063] Figure 1 It is a flowchart of a review discovery method provided by an embodiment of the present application;

[0064] Figure 1a This is a schematic diagram of a process for determining valid comments provided by an embodiment of the present application;

[0065] Figure 1b is another flowchart of determining valid comments provided by an embodiment of the present application;

[0066] Figure 1cis a schematic diagram of the relationship between the valid comments and the first user comment set provided in the embodiment of the present application;

[0067] Figure 2 is another flowchart of the review discovery method provided by an embodiment of the present application;

[0068] Figure 2a It is a schematic diagram of an application scenario for determining valid comments provided by an embodiment of the present application;

[0069] Figure 2b is a schematic diagram of the relationship between valid comments corresponding to multiple comment categories and a first user comment set provided in an embodiment of the present application;

[0070] Figure 2c This is a schematic diagram of an application scenario for generating comment alert information provided by an embodiment of the present application;

[0071] Figure 3 is a structural diagram of a review discovery device provided in an embodiment of the present application;

[0072] Figure 4 It is a structural diagram of the terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0073] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only 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 creative work are within the scope of protection of this application.

[0074] The comment discovery method provided in the embodiment of the present application can be widely applied to servers or terminals that can process comment data. Among them, the terminal includes but is not limited to mobile phones, tablet computers, laptops, PDAs, mobile Internet devices (mobile internet devices, MIDs), etc., which are not limited here. The method provided in the embodiment of the present application, by obtaining a first keyword set and a second keyword set, can obtain a plurality of valid keywords in the first keyword set and a plurality of invalid keywords in the second keyword set. By obtaining a first user comment set for a target comment object in a first acquisition period, if any user comment in the first user comment set includes any valid keyword in the first keyword set and does not include any invalid keyword in the second keyword set, then any user comment is determined to be a valid comment, and then by obtaining the first comment number corresponding to the valid comment in the first user comment set, a comment warning information for the target comment object can be generated according to the first comment number. By adopting the embodiment of the present application, the accuracy of comment extraction and the efficiency of discovery can be improved, and the operability is strong and the applicability is high.

[0075] The following will be combined Figures 1 to 4 The method and related devices provided by the embodiments of the present application are described in detail respectively. The method provided by the embodiments of the present application may include data processing stages such as obtaining a first keyword set, obtaining a second keyword set, obtaining a first user comment set, determining valid comments from the first user comment set, and generating comment warning information based on the first number of comments corresponding to the valid comments. The implementation methods of the above-mentioned data processing stages can be referred to as follows Figure 1 to Figure 2 The implementation shown.

[0076] See also Figure 1 , Figure 1 A flowchart of a review discovery method provided in an embodiment of the present application. The method provided in an embodiment of the present application may include the following steps 101 to 104:

[0077] 101. Obtain a first keyword set and a second keyword set.

[0078] In some feasible implementations, by obtaining the preset first keyword set and the second keyword set, multiple valid keywords included in the first keyword set and multiple invalid keywords included in the second keyword set can be obtained. It should be understood that the valid keywords and invalid keywords in the embodiments of the present application can be two types of words with opposite meanings. For example, if the valid keyword is "stuck", the invalid keyword can be "no stuck", and if the valid keyword is "flash back", the invalid keyword can be "no flash back", etc., which is not limited here.

[0079] 102. Obtain a first user comment set for a target comment object in a first collection period.

[0080] In some feasible implementations, any product needs to be continuously improved during its use to better meet user needs. For example, in the development and operation of the game, it is a very important task to collect feedback information from game users on the game in various ways. By analyzing the collected feedback information, it is not only possible to explore the needs of players and understand the preferences of game users, but also to observe the recent attitudes of game users towards a certain game and their preferences for game play. With these feedback information, strategists can adjust the direction of the game and the game development team can improve the game content. It can be said that the feedback information of game users is a very important reference for a game team. Therefore, the collection and analysis of user comments in places where some game users appear in large numbers, such as the official forums, forums, or game special editions of portals, can become a channel for the game production team to obtain user feedback information. In an embodiment of the present application, by obtaining the first user comment set for the target comment object in the first collection period, at least one user comment included in the first user comment set can be obtained. Among them, the first collection period can be the current collection period or any collection period, and the target comment object can be a certain game, a certain application, or a certain product, etc., which is determined according to the actual application scenario and is not limited here. In the embodiment of the present application, the first user comment set includes multiple user comments collected in the current collection period.

[0081] 103. If any user comment in the first user comment set includes any valid keyword in the first keyword set and does not include any invalid keyword in the second keyword set, then any user comment is determined to be a valid comment.

[0082] In some feasible implementations, if any user comment in the first user comment set includes any valid keyword in the first keyword set and does not include any invalid keyword in the second keyword set, then any user comment is determined to be a valid comment. Figure 1a , Figure 1a Schematic diagram of a process for determining valid comments provided by an embodiment of the present application. Figure 1aAs shown, for each user comment in the first user comment set, each user comment is matched word by word based on each valid keyword included in the first keyword set to perform the first screening, if any user comment in the first user comment set includes at least one valid keyword, then the user comment is matched word by word based on each invalid keyword included in the second keyword set to perform the second screening, on the contrary, if the user comment does not include any valid keyword, then the user comment is deleted and the subsequent second screening is not performed. It should be understood that for the user comments that pass the first screening, if the user comment does not include any invalid keyword in the second keyword set in the second screening, then the user comment can be determined to be a valid comment, on the contrary, if the user comment includes any invalid keyword in the second keyword set, then the user comment is deleted.

[0083] Optional, see Figure 1b , Figure 1b FIG. 1 is another flow chart of determining valid comments provided by an embodiment of the present application. Figure 1b As shown, for each user comment in the first user comment set, each user comment is matched word by word based on each invalid keyword included in the second keyword set to perform the first screening. If any user comment in the first user comment set does not include any invalid keyword, the user comment is matched word by word based on each valid keyword included in the first keyword set to perform the second screening. On the contrary, if the user comment includes any invalid keyword, the user comment is deleted and the subsequent second screening is not performed. It should be understood that for user comments that pass the first screening, if the user comment includes at least one valid keyword in the first keyword set in the second screening, the user comment can be determined to be a valid comment. On the contrary, if the user comment does not include any valid keyword in the first keyword set, the user comment is deleted.

[0084] For example, assuming that the valid keywords in the first keyword set include "stuttering, freezing, freezing, freezing like a dog", and the invalid keywords in the second keyword set include "not stuck, not stuck, not frozen", and a user comment included in the first user comment set is "I haven't been online for a long time, and it's not stuck after the update". Based on each valid keyword included in the first keyword set, each user comment is matched word by word to perform the first screening, and it can be determined that the user comment includes a valid keyword "stuttering". Therefore, the user comment is continued to be matched word by word based on each invalid keyword included in the second keyword set to perform the second screening, and it can be determined that the user comment includes an invalid keyword "not stuck". Since the user comment includes both valid keywords in the first keyword set and invalid keywords in the second keyword set, it can be determined that the user comment is not a valid comment, and the user comment can be deleted. From the above example, it can be seen that, assuming that the monitored comment category is stuck comments, that is, user comments with feedback information of stuck are valid comments. After the above secondary filtering, the accuracy of comment discovery can be improved and the occurrence of false positive comments can be avoided.

[0085] 104. Obtain a first number of comments corresponding to valid comments in the first user comment set, and generate comment warning information for a target comment object according to the first number of comments.

[0086] In some feasible implementations, after performing a secondary screening on each user comment in the first user comment set based on the above step 103, all valid comments included in the first user comment set can be obtained. Figure 1c , Figure 1c Schematic diagram of the relationship between the valid comments and the first user comment set provided by the embodiment of the present application. Figure 1cAs shown, the valid comments are included in the first user comment set. By obtaining the first comment number corresponding to the valid comments in the first user comment set, the comment warning information for the target comment object can be generated according to the first comment number. Generally speaking, if the first comment number is greater than the preset comment number threshold, the comment warning information for the target comment object is generated. Optionally, the second user comment set for the target comment object in the second collection period can also be obtained, and the second comment number of the valid comments included in the second user comment set can be obtained, wherein the second collection period and the first collection period are two adjacent collection periods and the second collection period is located before the first collection period, so the effective comment growth rate can be calculated based on the first comment number and the second comment number. If the effective comment growth rate is greater than the preset growth rate threshold, the comment warning information for the target comment object is generated. Or if and only if the first comment number is greater than the preset comment number threshold and the effective comment growth rate is greater than the preset growth rate threshold, the comment warning information for the target comment object is generated. Or when the first comment number is greater than the preset comment number threshold, the first comment warning information for the target comment object is generated, and when the effective comment growth rate is greater than the preset growth rate threshold, the second comment warning information for the target comment object is generated. It is understandable that after the comment warning information is generated, the comment warning information can be sent to the network supervisor via SMS, email, phone, internal message or other warning methods to remind the network supervisor to fix the problems reported in the comments.

[0087] In an embodiment of the present application, by obtaining a first keyword set and a second keyword set, it can be obtained that the first keyword set includes multiple valid keywords and the second keyword set includes multiple invalid keywords. By obtaining a first user comment set for a target comment object in a first collection period, if any user comment in the first user comment set includes any valid keyword in the first keyword set and does not include any invalid keyword in the second keyword set, then any user comment is determined to be a valid comment, and then by obtaining the first number of comments corresponding to the valid comments in the first user comment set, comment warning information for the target comment object can be generated according to the first number of comments. The method provided in the embodiment of the present application can improve the accuracy of comment extraction and discovery efficiency, and has strong operability and high applicability.

[0088] See also Figure 2 , Figure 2 This is another flow chart of the review discovery method provided in the embodiment of the present application. The review discovery method provided in the embodiment of the present application can also be described by the implementation method provided by the following steps 201 to 205:

[0089] 201. Obtain a first keyword set and a second keyword set.

[0090] In some feasible implementations, by obtaining the preset first keyword set and the second keyword set, multiple valid keywords included in the first keyword set and multiple invalid keywords included in the second keyword set can be obtained. It should be understood that the valid keywords and invalid keywords in the embodiments of the present application can be two types of words with opposite meanings. For example, if the valid keyword is "stuck", the invalid keyword can be "no stuck", and if the valid keyword is "flash back", the invalid keyword can be "no flash back", etc., which is not limited here.

[0091] Optionally, in some feasible implementations, the first keyword set can be generated based on the first comment set, and the second keyword set can be generated based on the second comment set. The first comment set includes at least one pre-marked first valid comment, and the second comment set includes at least one pre-marked second invalid comment. Here, the first valid comment is a user comment including a valid keyword, and the second invalid comment is a user comment including an invalid keyword. For each first valid comment included in the first comment set, by performing word segmentation processing on each first valid comment in the first comment set, multiple word segments constituting each first valid comment can be obtained, and then multiple word segments including preset keywords are extracted from the multiple word segments constituting each first valid comment as valid keywords, thereby obtaining the first keyword set. For each second invalid comment included in the second comment set, by performing word segmentation processing on each second invalid comment in the second comment set, multiple word segments constituting each second invalid comment can be obtained, and then multiple word segments including the above preset keywords are extracted from the multiple word segments constituting each second invalid comment as invalid keywords, thereby obtaining the second keyword set. For example, taking a first valid comment included in the first comment set as an example, assuming that the first valid comment is "Playing games today is simply super stuck", by performing word segmentation processing on the first valid comment, the four word segments that constitute the first valid comment are "today", "playing games", "simply", and "super stuck". The word segmentation tools used include but are not limited to jieba, StandardAnalyzer, ChineseAnalyzer, CJKAnalyzer, IKAnalyzer, paoding, and imdict, etc., which are not limited here. The preset keyword is the word "stuck", so "super stuck" can be determined as a valid keyword. For another example, taking another first valid comment included in the first comment set as an example, assuming that the first valid comment is "It always crashes after opening the application interface today", by performing word segmentation processing on the first valid comment, the four word segments that constitute the first valid comment are "today", "open", "application", "interface", "after", "always", and "crash back". The preset keyword is the word "back", so "crash back" can be determined as a valid keyword.

[0092] Optionally, in some feasible implementations, after extracting multiple segmentations including preset keywords from multiple segmentations constituting each first valid comment, the frequency of occurrence of each segmentation in the multiple segmentations including the preset keywords in the first comment set, i.e., the first frequency of occurrence, can also be obtained, and then the segmentations in the first frequency of occurrence that are greater than the first preset frequency threshold are determined as valid keywords. After extracting multiple segmentations including the preset keywords from multiple segmentations constituting each second invalid comment, the frequency of occurrence of each segmentation in the multiple segmentations including the preset keywords in the second comment set, i.e., the sixth frequency of occurrence, can also be obtained, and the segmentations in the sixth frequency of occurrence that are greater than the sixth preset frequency threshold are determined as invalid keywords. It can be understood that the first preset frequency threshold and the sixth preset frequency threshold can be set the same or different, and are not limited here. That is, in the first comment set and the second comment set, for any segmentation including the preset keyword, the higher the corresponding frequency of occurrence, the higher the importance of the word, and vice versa, the lower the frequency of occurrence, the lower the importance, so only the segmentations with high importance and including the preset keyword can be retained as valid keywords or invalid keywords. It should be understood that the frequency of occurrence of a participle can be defined as the number of times it appears in each comment. For example, assuming that the first comment set includes 10 first valid comments, and the number of times a participle including a preset keyword appears is 15 times, then the first occurrence frequency corresponding to the word can be determined as 1.5.

[0093] Optionally, in some feasible embodiments, after performing word segmentation on each first valid comment in the first comment set and obtaining a plurality of valid word segments that make up each first valid comment, the second occurrence frequency of each valid word segment in the first comment set can be obtained, and the valid word segments with a second occurrence frequency greater than the second preset frequency threshold can be determined as valid keywords, thereby obtaining the first keyword set. After performing word segmentation on each second invalid comment in the second comment set and obtaining a plurality of invalid word segments that make up each second invalid comment, the third occurrence frequency of each invalid word segment in the second comment set can be obtained, and the invalid word segments with a third occurrence frequency greater than the third preset frequency threshold can be determined as invalid keywords, thereby obtaining the second keyword set. Among them, the valid word segments can be the word segments determined from the plurality of word segments that make up each first valid comment and that do not belong to the stop word list, and the invalid word segments can also be the word segments determined from the plurality of word segments that make up each second invalid comment and that do not belong to the stop word list. The stop word list includes a plurality of stop words. It should be understood that for a given purpose, any type of word can be selected as a stop word. In the embodiments of the present application, the stop words may include English characters, numbers, mathematical characters, punctuation marks, and single Chinese characters with extremely high usage frequencies, etc., which are not limited here. Usually, single Chinese characters with extremely high usage frequencies such as common single Chinese characters like "de" and "zai" are not limited here. It can be understood that the settings of the second preset frequency threshold and the third preset frequency threshold can be the same or different, which are not limited here.

[0094] Optionally, in some feasible embodiments, if the same target keyword is included in the first keyword set and the second keyword set, the fourth occurrence frequency and the fifth occurrence frequency of the target keyword in the first comment set and the second comment set are obtained respectively. When the absolute value of the difference between the fourth occurrence frequency and the fifth occurrence frequency is greater than the fourth preset frequency threshold, the target keyword in the keyword set with the smaller frequency is deleted. When the absolute value of the difference between the fourth occurrence frequency and the fifth occurrence frequency is less than the fourth preset frequency threshold, the target keyword in the first keyword set and the second keyword set is deleted, where the size setting of the fourth preset frequency threshold can be determined according to the actual application scenario and is not limited here. Optionally, in some feasible embodiments, it can also be that when the fourth occurrence frequency is less than the fifth occurrence frequency, the target keyword in the first comment set is deleted. When the fourth occurrence frequency is greater than the fifth occurrence frequency, the target keyword in the second comment set is deleted. When the fourth occurrence frequency is equal to the fifth occurrence frequency, the target keyword in the first keyword set and the second keyword set is deleted. That is to say, in the embodiments of the present application, the same word segment cannot belong to both the first keyword set and the second keyword set.

[0095] 202. Obtain a first user comment set for a target comment object in a first collection period.

[0096] In some feasible implementations, any product needs to be continuously improved during its use to better meet user needs. For example, in the development and operation of the game, it is a very important task to collect feedback information from game users on the game in various ways. By analyzing the collected feedback information, it is not only possible to explore the needs of players and understand the preferences of game users, but also to observe the recent attitudes of game users towards a certain game and their preferences for game play. With these feedback information, strategists can adjust the direction of the game and the game development team can improve the game content. It can be said that the feedback information of game users is a very important reference for a game team. Therefore, the collection and analysis of user comments in places where some game users appear in large numbers, such as the official forums, forums, or game special editions of portals, can become a channel for the game production team to obtain user feedback information. In an embodiment of the present application, by obtaining the first user comment set for the target comment object in the first collection period, at least one user comment included in the first user comment set can be obtained. Among them, the first collection period can be the current collection period or any collection period, and the target comment object can be a certain game, a certain application, or a certain product, etc., which is determined according to the actual application scenario and is not limited here. In the embodiment of the present application, the first user comment set includes multiple user comments collected in the current collection period.

[0097] 203. If any user comment in the first user comment set includes any valid keyword in the first keyword set and does not include any invalid keyword in the second keyword set, then determine that any user comment is a valid comment.

[0098] In some feasible implementations, if any user comment in the first user comment set includes any valid keyword in the first keyword set and does not include any invalid keyword in the second keyword set, then any user comment is determined to be a valid comment. Figure 1a , Figure 1a Schematic diagram of a process for determining valid comments provided by an embodiment of the present application. Figure 1aAs shown, for each user comment in the first user comment set, each user comment is matched word by word based on each valid keyword included in the first keyword set to perform the first screening, if any user comment in the first user comment set includes at least one valid keyword, then the user comment is matched word by word based on each invalid keyword included in the second keyword set to perform the second screening, on the contrary, if the user comment does not include any valid keyword, then the user comment is deleted and the subsequent second screening is not performed. It should be understood that for the user comments that pass the first screening, if the user comment does not include any invalid keyword in the second keyword set in the second screening, then the user comment can be determined to be a valid comment, on the contrary, if the user comment includes any invalid keyword in the second keyword set, then the user comment is deleted.

[0099] Optional, see Figure 1b , Figure 1b FIG. 1 is another flow chart of determining valid comments provided by an embodiment of the present application. Figure 1b As shown, for each user comment in the first user comment set, each user comment is matched word by word based on each invalid keyword included in the second keyword set to perform the first screening. If any user comment in the first user comment set does not include any invalid keyword, the user comment is matched word by word based on each valid keyword included in the first keyword set to perform the second screening. On the contrary, if the user comment includes any invalid keyword, the user comment is deleted and the subsequent second screening is not performed. It should be understood that for user comments that pass the first screening, if the user comment includes at least one valid keyword in the first keyword set in the second screening, the user comment can be determined to be a valid comment. On the contrary, if the user comment does not include any valid keyword in the first keyword set, the user comment is deleted.

[0100] It should be understood that, assuming that the first keyword set includes valid keywords corresponding to multiple comment categories, and the second keyword set includes invalid keywords corresponding to multiple comment categories, then based on the first keyword set and the second keyword set, valid comments corresponding to multiple comment categories can be screened out from the first user comment set. For example, if the valid keywords in the first keyword set include "stuttering, freezing, freezing, freezing like a dog; flashback, forced exit, exit", and the invalid keywords in the second keyword set include "not stuck, not stuck, not frozen; not flashback, not forced exit", then the valid comments screened out from the first user comment set are user comments corresponding to the stagnant comments and the flashback comments.

[0101] For example, see Figure 2a , Figure 2a This is a schematic diagram of an application scenario for determining valid comments provided by an embodiment of the present application. Assuming that the valid keywords in the first keyword set include "stuck, network stuck, will be stuck, more stuck, all stuck, very stuck, stuck back, stuck, stuck, stuck, stuck like a dog", and the invalid keywords in the second keyword set include "not stuck, not stuck anymore, not stuck, not stuck", then the valid comments selected from the first user comment set are stuck comments. Figure 2a As shown in the figure, by selecting the game "Honor of Kings" and selecting the time (i.e., the collection period), the lag comment monitoring of "Honor of Kings" can be obtained. Figure 2a The chart shows the trend of the number of comments about King of Glory’s lag, as well as the specific content of the 10 valid comments obtained during the collection period of 2019-06-15.

[0102] 204. Cluster all valid comments determined from the first user comment set to obtain multiple comment categories.

[0103] In some feasible implementations, everyone has his or her own opinions on everything, so even for the same target comment object, the feedback information generated by different users may be very different. In an embodiment of the present application, after all valid comments included in the first user set are determined based on the above steps 201 to 203, multiple clustering results, that is, multiple comment categories, can be obtained by clustering all the determined valid comments. The clustering methods used include but are not limited to K-Means algorithm, K-MEDOIDS algorithm, CLARANS algorithm, BIRCH algorithm, CURE algorithm, CHAMELEON algorithm, etc., which are not limited here. Generally speaking, in text clustering, the similarity of documents of the same type is larger, while the similarity of documents of different types is smaller. See. Figure 2b , Figure 2b Schematic diagram of the relationship between valid comments corresponding to multiple comment categories and the first user comment set provided in the embodiment of the present application. Figure 2b As shown in , the valid comments are included in the first user comment set. By performing text clustering on the valid comments, multiple comment categories corresponding to the valid comments can be obtained, such as Figure 2b The comment categories obtained after clustering include comment category 1, comment category 2, comment category 3, ..., comment category n, where n is a positive integer. It can be understood that the sum of the number of comments corresponding to each comment category is equal to the total number of valid comments.

[0104] 205. Determine the number of third comments corresponding to each comment category from the number of first comments corresponding to the valid comments included in the first user comment set, and generate comment warning information corresponding to each comment category based on the number of third comments.

[0105] In some feasible implementations, after valid comments are divided into multiple comment categories, the number of third comments corresponding to each comment category can be determined from the number of first comments corresponding to valid comments included in the first user comment set, and then comment warning information corresponding to each comment category can be generated based on the number of third comments, wherein the sum of the number of third comments is equal to the number of first comments, that is, the sum of the number of comments corresponding to each comment category is equal to the total number of valid comments in the first user comment set. Generally speaking, if the number of third comments corresponding to a certain comment category is greater than a preset comment number threshold, comment warning information corresponding to the comment category can be generated. Alternatively, the proportion of the number of comments corresponding to each comment category can be calculated based on the number of third comments and the number of first comments. When the proportion of the number of comments corresponding to a certain comment category is greater than the preset comment proportion threshold, comment warning information corresponding to the comment category can be generated.

[0106] Optionally, in some feasible implementations, the second user comment set for the target comment object in the second collection period can also be obtained, and the second comment number of the valid comments included in the second user comment set can be obtained, and then the fourth comment numbers corresponding to multiple comment categories can be determined from the second comment numbers corresponding to the valid comments included in the second user comment set, wherein the sum of the fourth comment numbers is equal to the second comment number, and the second collection period and the first collection period are two adjacent collection periods and the second collection period is located before the first collection period. It should be understood that for the same comment category, by obtaining the third comment number and the fourth comment number corresponding to the two adjacent collection periods, the growth rate of the valid comments corresponding to the comment category can be calculated, and if the growth rate of the valid comments is greater than the preset growth rate threshold, the comment warning information corresponding to the comment category can be generated. Or when and only when the third comment number corresponding to a certain comment category is greater than the preset comment number threshold and the growth rate of the valid comments corresponding to the comment category is greater than the preset growth rate threshold, the comment warning information for the comment category is generated. It is understood that when a comment warning message is generated, the comment warning message can be sent to the network supervisor via SMS, email, phone, internal message, etc. to remind the network supervisor to fix the problem reported in the comment. Figure 2c , Figure 2c Schematic diagram of an application scenario for generating comment warning information provided by an embodiment of the present application. Figure 2c As shown, the comment warning information is "2019-06-25 14:45:07 detected xxxx (23→31) yyyy (3→21) total 2 projects external network lag comment surge, please pay attention."

[0107] In an embodiment of the present application, by obtaining a first keyword set and a second keyword set, it can be obtained that the first keyword set includes multiple valid keywords and the second keyword set includes multiple invalid keywords. By obtaining a first user comment set for a target comment object in a first acquisition cycle, if any user comment in the first user comment set includes any valid keyword in the first keyword set and does not include any invalid keyword in the second keyword set, then any user comment is determined to be a valid comment. Then, by clustering all valid comments determined from the first user comment set, multiple comment categories can be obtained, and the number of third comments corresponding to each comment category is determined from the number of first comments corresponding to the valid comments included in the first user comment set, and comment alarm information corresponding to each comment category can be generated based on the number of third comments. The method provided in the embodiment of the present application can improve the accuracy of comment extraction and discovery efficiency, and has strong operability and high applicability.

[0108] See also Figure 3 , Figure 3 : is a schematic diagram of the structure of the comment discovery device provided in the embodiment of the present application. The comment discovery device provided in the embodiment of the present application includes:

[0109] A keyword set acquisition module 31 is used to acquire a first keyword set and a second keyword set, wherein the first keyword set includes a plurality of valid keywords, and the second keyword set includes a plurality of invalid keywords;

[0110] A user comment set acquisition module 32, configured to acquire a first user comment set for a target comment object in a first collection period, wherein the first user comment set includes at least one user comment;

[0111] A valid comment determination module 33, configured to determine that any user comment in the first user comment set is a valid comment if the user comment includes any valid keyword in the first keyword set and does not include any invalid keyword in the second keyword set;

[0112] The comment warning generation module 34 is used to obtain the first comment quantity corresponding to the valid comments in the first user comment set, and generate comment warning information for the target comment object according to the first comment quantity.

[0113] In some feasible implementations, the comment warning generation module 34 includes a first comment warning generation unit 341, and the first comment warning generation unit 341 is used to:

[0114] If the first number of comments is greater than a preset comment number threshold, comment warning information for the target comment object is generated.

[0115] In some feasible implementations, the comment alert generation module 34 includes:

[0116] A second comment quantity acquisition unit 342 is used to acquire a second user comment set for the target comment object in a second collection period, and acquire the second comment quantity of the valid comments included in the second user comment set, wherein the second collection period and the first collection period are two adjacent collection periods and the second collection period is located before the first collection period;

[0117] The second comment alarm generating unit 343 is used to determine the growth rate of valid comments based on the first number of comments and the second number of comments, and to generate comment alarm information for the target comment object if the growth rate of valid comments is greater than a preset growth rate threshold.

[0118] In some feasible implementations, the comment alert generation module 34 includes:

[0119] A comment category determination unit 344, configured to cluster all the valid comments determined from the first user comment set to obtain a plurality of comment categories;

[0120] The third comment alarm generating unit 345 is used to determine the number of third comments corresponding to each comment category from the first number of comments corresponding to the above-mentioned valid comments included in the above-mentioned first user comment set, and generate comment alarm information corresponding to the above-mentioned each comment category based on the above-mentioned third number of comments.

[0121] In some feasible implementations, the keyword set acquisition module 31 includes:

[0122] A first pre-marked comment set acquisition unit 311 is used to acquire a first comment set and a second comment set, wherein the first comment set includes at least one pre-marked first valid comment, and the second comment set includes at least one pre-marked second invalid comment;

[0123] A first keyword set determining unit 312 is configured to perform word segmentation processing on each first valid comment in the first comment set to obtain a plurality of word segments constituting each first valid comment, and extract a plurality of word segments including preset keywords from the plurality of word segments constituting each first valid comment as valid keywords, thereby obtaining the first keyword set;

[0124] The second keyword set determination unit 313 is used to perform word segmentation processing on each second invalid comment in the above-mentioned second comment set to obtain multiple word segments constituting each second invalid comment, and extract multiple word segments including the above-mentioned preset keywords from the above-mentioned multiple word segments constituting each second invalid comment as invalid keywords, thereby obtaining the above-mentioned second keyword set.

[0125] In some feasible implementations, the first keyword set determining unit 312 is specifically configured to:

[0126] Extracting multiple participles including a preset keyword from the multiple participles constituting each first valid comment, and obtaining a first occurrence frequency of each participle in the multiple participles including the preset keyword in the first comment set;

[0127] The segmented words with a first occurrence frequency greater than a first preset frequency threshold are determined as valid keywords.

[0128] In some feasible implementations, the keyword set acquisition module 31 further includes:

[0129] A second pre-marked comment set acquisition unit 314 is used to acquire a first comment set and a second comment set, wherein the first comment set includes at least one pre-marked first valid comment, and the second comment set includes at least one pre-marked second invalid comment;

[0130] The third keyword set determination unit 315 is used to perform word segmentation processing on each first valid comment in the first comment set to obtain multiple valid word segments constituting each first valid comment, and obtain the second occurrence frequency of each valid word in the first comment set, and determine the valid word whose second occurrence frequency is greater than the second preset frequency threshold as a valid keyword, thereby obtaining the first keyword set;

[0131] The fourth keyword set determination unit 316 is used to perform word segmentation processing on each second invalid comment in the above-mentioned second comment set to obtain multiple invalid word segments constituting each second invalid comment, and obtain the third occurrence frequency of each invalid word in the above-mentioned second comment set, and determine the invalid word whose third occurrence frequency is greater than the third preset frequency threshold as an invalid keyword, thereby obtaining the above-mentioned second keyword set.

[0132] In some feasible implementations, the apparatus further includes a keyword set adjustment module 35, and the keyword set adjustment module 35 includes:

[0133] A target keyword determining unit 351 is configured to obtain a fourth occurrence frequency and a fifth occurrence frequency of the target keyword in the first comment set and the second comment set, respectively, if the first keyword set and the second keyword set contain the same target keyword;

[0134] The keyword set processing unit 352 is used to delete the target keyword in the keyword set corresponding to the smaller frequency when the absolute value of the difference between the fourth occurrence frequency and the fifth occurrence frequency is greater than the fourth preset frequency threshold; and to delete the target keyword in the first keyword set and the second keyword set when the absolute value of the difference between the fourth occurrence frequency and the fifth occurrence frequency is less than the fourth preset frequency threshold.

[0135] In a specific implementation, the comment discovery device can execute the above-mentioned functions through its built-in functional modules. Figure 1 to Figure 2 For example, the keyword set acquisition module 31 can be used to execute the implementation methods of acquiring the first keyword set and acquiring the second keyword set in the above steps. For details, please refer to the implementation methods provided in the above steps, which will not be repeated here. The user comment set acquisition module 32 can be used to execute the implementation methods described in the above steps such as acquiring the first user comment set, which can be referred to the implementation methods provided in the above steps, which will not be repeated here. The effective comment determination module 33 can be used to execute the implementation methods of determining effective comments from the first user comment set based on the first keyword set and the second keyword set in the above steps, which can be referred to the implementation methods provided in the above steps, which will not be repeated here. The comment alarm generation module 34 can be used to execute the implementation methods of acquiring the first comment number corresponding to the effective comments and generating comment alarm information according to the first comment number in the above steps, which can be referred to the implementation methods provided in the above steps, which will not be repeated here. The keyword set adjustment module 35 can be used to execute the implementation methods of adjusting the first keyword set and the second keyword set in the above steps, which can be referred to the implementation methods provided in the above steps, which will not be repeated here.

[0136] In the embodiment of the present application, the comment discovery device can obtain a plurality of valid keywords in the first keyword set and a plurality of invalid keywords in the second keyword set by obtaining a first keyword set and a second keyword set. By obtaining a first user comment set for a target comment object in a first acquisition period, if any user comment in the first user comment set includes any valid keyword in the first keyword set and does not include any invalid keyword in the second keyword set, then any user comment is determined to be a valid comment, and then by obtaining the first comment number corresponding to the valid comments in the first user comment set, comment warning information for the target comment object can be generated according to the first comment number. Alternatively, multiple comment categories can be obtained by clustering all valid comments determined from the first user comment set, and the third comment number corresponding to each comment category is determined from the first comment number corresponding to the valid comments included in the first user comment set, and the comment warning information corresponding to each comment category can be generated based on the third comment number. The method provided in the embodiment of the present application can improve the accuracy of comment extraction and discovery efficiency, and has strong operability, high flexibility and wide application range.

[0137] See also Figure 4 , Figure 4 Schematic diagram of the structure of the terminal device provided in the embodiment of the present application. Figure 4 As shown, the terminal device in this embodiment may include: one or more processors 401 and a memory 402. The processor 401 and the memory 402 are connected via a bus 403. The memory 402 is used to store a computer program, which includes program instructions. The processor 401 is used to execute the program instructions stored in the memory 402 to perform the following operations:

[0138] Acquire a first keyword set and a second keyword set, wherein the first keyword set includes a plurality of valid keywords, and the second keyword set includes a plurality of invalid keywords;

[0139] Acquire a first user comment set for a target comment object in a first collection period, wherein the first user comment set includes at least one user comment;

[0140] If any user comment in the first user comment set includes any valid keyword in the first keyword set and does not include any invalid keyword in the second keyword set, then the user comment is determined to be a valid comment;

[0141] A first number of comments corresponding to the valid comments in the first user comment set is obtained, and comment warning information for the target comment object is generated according to the first number of comments.

[0142] In some feasible implementations, the processor 401 is configured to:

[0143] If the first number of comments is greater than a preset comment number threshold, comment warning information for the target comment object is generated.

[0144] In some feasible implementations, the processor 401 is configured to:

[0145] Obtain a second user comment set for the target comment object within a second collection period, and obtain a second comment quantity of the valid comments included in the second user comment set, wherein the second collection period and the first collection period are two adjacent collection periods and the second collection period is located before the first collection period;

[0146] The growth rate of valid comments is determined based on the first number of comments and the second number of comments. If the growth rate of valid comments is greater than a preset growth rate threshold, comment warning information is generated for the target comment object.

[0147] In some feasible implementations, the processor 401 is configured to:

[0148] Clustering all the valid comments determined from the first user comment set to obtain a plurality of comment categories;

[0149] The third number of comments corresponding to each comment category is determined from the first number of comments corresponding to the valid comments included in the first user comment set, and comment warning information corresponding to each comment category is generated based on the third number of comments.

[0150] In some feasible implementations, the processor 401 is configured to:

[0151] Acquire a first comment set and a second comment set, wherein the first comment set includes at least one pre-marked first valid comment, and the second comment set includes at least one pre-marked second invalid comment;

[0152] Performing word segmentation processing on each first valid comment in the first comment set to obtain a plurality of word segments constituting each first valid comment, and extracting a plurality of word segments including preset keywords from the plurality of word segments constituting each first valid comment as valid keywords, thereby obtaining the first keyword set;

[0153] Each second invalid comment in the above-mentioned second comment set is segmented to obtain multiple segmentations constituting each second invalid comment, and multiple segmentations including the above-mentioned preset keywords are extracted from the multiple segmentations constituting each second invalid comment as invalid keywords, thereby obtaining the above-mentioned second keyword set.

[0154] In some feasible implementations, the processor 401 is configured to:

[0155] Extracting multiple participles including a preset keyword from the multiple participles constituting each first valid comment, and obtaining a first occurrence frequency of each participle in the multiple participles including the preset keyword in the first comment set;

[0156] The segmented words with a first occurrence frequency greater than a first preset frequency threshold are determined as valid keywords.

[0157] In some feasible implementations, the processor 401 is configured to:

[0158] Acquire a first comment set and a second comment set, wherein the first comment set includes at least one pre-marked first valid comment, and the second comment set includes at least one pre-marked second invalid comment;

[0159] Performing word segmentation processing on each first valid comment in the first comment set to obtain a plurality of valid word segments constituting each first valid comment, and obtaining a second occurrence frequency of each valid word segment in the first comment set, and determining a valid word segment having a second occurrence frequency greater than a second preset frequency threshold as a valid keyword, thereby obtaining the first keyword set;

[0160] Each second invalid comment in the above-mentioned second comment set is segmented to obtain multiple invalid participles constituting each second invalid comment, and the third occurrence frequency of each invalid participle in the above-mentioned second comment set is obtained, and the invalid participle whose third occurrence frequency is greater than the third preset frequency threshold is determined as an invalid keyword, thereby obtaining the above-mentioned second keyword set.

[0161] In some feasible implementations, the processor 401 is configured to:

[0162] If the first keyword set and the second keyword set contain the same target keyword, obtaining the fourth occurrence frequency and the fifth occurrence frequency of the target keyword in the first comment set and the second comment set respectively;

[0163] When the absolute value of the difference between the fourth occurrence frequency and the fifth occurrence frequency is greater than a fourth preset frequency threshold, deleting the target keyword in the keyword set corresponding to the smaller frequency;

[0164] When the absolute value of the difference between the fourth occurrence frequency and the fifth occurrence frequency is less than the fourth preset frequency threshold, the target keyword in the first keyword set and the second keyword set is deleted.

[0165] It should be understood that in some feasible implementations, the processor 401 may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The memory 402 may include a read-only memory and a random access memory, and provide instructions and data to the processor 401. A portion of the memory 402 may also include a non-volatile random access memory. For example, the memory 402 may also store information about the device type.

[0166] In a specific implementation, the above terminal device can execute the above-mentioned functions through its built-in functional modules. Figure 1 to Figure 2 For the implementation methods provided in each step, please refer to the implementation methods provided in the above steps for details, which will not be repeated here.

[0167] In the embodiment of the present application, the terminal device can obtain a plurality of valid keywords in the first keyword set and a plurality of invalid keywords in the second keyword set by obtaining the first keyword set and the second keyword set. By obtaining the first user comment set for the target comment object in the first collection period, if any user comment in the first user comment set includes any valid keyword in the first keyword set and does not include any invalid keyword in the second keyword set, then any user comment is determined to be a valid comment, and then by obtaining the first comment number corresponding to the valid comments in the first user comment set, comment warning information for the target comment object can be generated according to the first comment number. Alternatively, multiple comment categories can be obtained by clustering all valid comments determined from the first user comment set, and the third comment number corresponding to each comment category is determined in the first comment number corresponding to the valid comments included in the first user comment set, and the comment warning information corresponding to each comment category can be generated based on the third comment number. The method provided in the embodiment of the present application can improve the accuracy of comment extraction and discovery efficiency, and has strong operability, high flexibility and wide application range.

[0168] The present application also provides a computer-readable storage medium storing a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, Figure 1 to Figure 2For the comment discovery method provided in each step, please refer to the implementation method provided in the above steps for details, which will not be repeated here.

[0169] The above-mentioned computer-readable storage medium may be the internal storage unit of the review discovery device or the above-mentioned terminal device provided in any of the aforementioned embodiments, such as a hard disk or memory of an electronic device. The computer-readable storage medium may also be an external storage device of the electronic device, such as a plug-in hard disk, a smart memory card (smartmedia card, SMC), a secure digital (secure digital, SD) card, a flash card (flash card), etc. equipped on the electronic device. Furthermore, the computer-readable storage medium may also include both an internal storage unit and an external storage device of the electronic device. The computer-readable storage medium is used to store the computer program and other programs and data required by the electronic device. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.

[0170] The terms "first", "second", "third", "fourth", etc. in the claims, specification and drawings of this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0171] Mentioning "embodiment" in this article means that the specific features, structures or characteristics described in conjunction with the embodiment may be included in at least one embodiment of the present application. Displaying the phrase at various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments. The term "and / or" used in the specification of this application and the appended claims refers to any combination of one or more of the items listed in association and all possible combinations, and includes these combinations. It can be appreciated by those of ordinary skill in the art that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.

[0172] The method and related apparatus provided by the embodiment of the present application are described with reference to the method flow chart and / or structural diagram provided by the embodiment of the present application. Specifically, each process and / or box in the method flow chart and / or structural diagram, as well as the combination of the processes and / or boxes in the flow chart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the process. Figure 1 A process or multiple processes and / or structures Figure 1 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 A process or multiple processes and / or structures Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process in the process. Figure 1 A flow or multiple flows and / or structures illustrate the steps of the functions specified in one block or multiple blocks.

Claims

1. A review discovery method, characterized in that: The method comprises: Acquire a first keyword set and a second keyword set, wherein the first keyword set includes a plurality of valid keywords, and the second keyword set includes a plurality of invalid keywords; Acquire a first user comment set for a target comment object in a first collection period, wherein the first user comment set includes at least one user comment; If any user comment in the first user comment set includes any valid keyword in the first keyword set and does not include any invalid keyword in the second keyword set, then determining that the any user comment is a valid comment; Obtaining a first number of comments corresponding to the valid comments in the first user comment set, and generating comment warning information for the target comment object according to the first number of comments; The acquiring of the first keyword set and the second keyword set includes: Acquire a first comment set and a second comment set, wherein the first comment set includes at least one pre-marked first valid comment, and the second comment set includes at least one pre-marked second invalid comment; Performing word segmentation processing on each first valid comment in the first comment set to obtain a plurality of word segments constituting each first valid comment, and extracting a plurality of word segments including preset keywords from the plurality of word segments constituting each first valid comment as valid keywords, thereby obtaining the first keyword set; Performing word segmentation processing on each second invalid comment in the second comment set to obtain a plurality of word segments constituting each second invalid comment, and extracting a plurality of word segments including the preset keyword from the plurality of word segments constituting each second invalid comment as invalid keywords, thereby obtaining the second keyword set; or, The obtaining of the first keyword set and the second keyword set includes: Acquire a first comment set and a second comment set, wherein the first comment set includes at least one pre-marked first valid comment, and the second comment set includes at least one pre-marked second invalid comment; Performing word segmentation processing on each first valid comment in the first comment set to obtain a plurality of valid word segments constituting each first valid comment, and obtaining a second occurrence frequency of each valid word segment in the first comment set, and determining a valid word segment having the second occurrence frequency greater than a second preset frequency threshold as a valid keyword, thereby obtaining the first keyword set; Perform word segmentation processing on each second invalid comment in the second comment set to obtain multiple invalid word segmentations constituting each second invalid comment, and obtain the third occurrence frequency of each invalid word segmentation in the second comment set, and determine the invalid word segmentation whose third occurrence frequency is greater than the third preset frequency threshold as an invalid keyword, thereby obtaining the second keyword set.

2. The method according to claim 1, characterized in that: The generating of comment warning information for the target comment object according to the first number of comments includes: If the first number of comments is greater than a preset comment number threshold, comment warning information for the target comment object is generated.

3. The method according to claim 1, characterized in that: The generating of comment warning information for the target comment object according to the first number of comments includes: Acquire a second user comment set for the target comment object in a second collection period, and acquire a second comment quantity of the valid comments included in the second user comment set, wherein the second collection period and the first collection period are two adjacent collection periods and the second collection period is located before the first collection period; The growth rate of valid comments is determined based on the first number of comments and the second number of comments. If the growth rate of valid comments is greater than a preset growth rate threshold, comment warning information for the target comment object is generated.

4. The method according to claim 1, characterized in that: The generating of comment warning information for the target comment object according to the first number of comments includes: Clustering all the valid comments determined from the first user comment set to obtain a plurality of comment categories; The third number of comments corresponding to each comment category is determined from the first number of comments corresponding to the valid comments included in the first user comment set, and comment warning information corresponding to each comment category is generated based on the third number of comments.

5. The method according to any one of claims 1 to 4, characterized in that: The step of extracting a plurality of segmented words including preset keywords from the plurality of segmented words constituting each first valid comment as valid keywords includes: Extracting multiple participles including a preset keyword from the multiple participles constituting each first valid comment, and obtaining a first occurrence frequency of each participle in the multiple participles including the preset keyword in the first comment set; The words with the first occurrence frequency greater than a first preset frequency threshold are determined as valid keywords.

6. The method according to any one of claims 1 to 4, characterized in that: After obtaining the second keyword set, the method further includes: If the first keyword set and the second keyword set include the same target keyword, obtaining a fourth occurrence frequency and a fifth occurrence frequency of the target keyword in the first comment set and the second comment set respectively; When the absolute value of the difference between the fourth occurrence frequency and the fifth occurrence frequency is greater than a fourth preset frequency threshold, deleting the target keyword in the keyword set corresponding to the smaller frequency; When the absolute value of the difference between the fourth occurrence frequency and the fifth occurrence frequency is less than the fourth preset frequency threshold, the target keyword in the first keyword set and the second keyword set is deleted.

7. A comment discovery device, characterized in that: The device comprises: A keyword set acquisition module, used to acquire a first keyword set and a second keyword set, wherein the first keyword set includes a plurality of valid keywords, and the second keyword set includes a plurality of invalid keywords; A user comment set acquisition module, configured to acquire a first user comment set for a target comment object in a first collection period, wherein the first user comment set includes at least one user comment; a valid comment determination module, configured to determine that any user comment in the first user comment set is a valid comment if the user comment includes any valid keyword in the first keyword set and does not include any invalid keyword in the second keyword set; A comment warning generation module, used to obtain a first number of comments corresponding to the valid comments in the first user comment set, and generate comment warning information for the target comment object according to the first number of comments; Wherein, the keyword set acquisition module includes: A first pre-marked comment set acquisition unit, configured to acquire a first comment set and a second comment set, wherein the first comment set includes at least one pre-marked first valid comment, and the second comment set includes at least one pre-marked second invalid comment; a first keyword set determining unit, configured to perform word segmentation processing on each first valid comment in the first comment set to obtain a plurality of word segments constituting each first valid comment, and extract a plurality of word segments including preset keywords from the plurality of word segments constituting each first valid comment as valid keywords, thereby obtaining the first keyword set; a second keyword set determination unit, configured to perform word segmentation processing on each second invalid comment in the second comment set to obtain a plurality of word segments constituting each second invalid comment, and extract a plurality of word segments including the preset keyword from the plurality of word segments constituting each second invalid comment as invalid keywords, thereby obtaining the second keyword set; or, The keyword set acquisition module also includes: A second pre-marked comment set acquisition unit, configured to acquire a first comment set and a second comment set, wherein the first comment set includes at least one pre-marked first valid comment, and the second comment set includes at least one pre-marked second invalid comment; a third keyword set determination unit, configured to perform word segmentation processing on each first valid comment in the first comment set to obtain a plurality of valid word segments constituting each first valid comment, and obtain a second occurrence frequency of each valid word segment in the first comment set, and determine a valid word segment having the second occurrence frequency greater than a second preset frequency threshold as a valid keyword, thereby obtaining the first keyword set; The fourth keyword set determination unit is used to perform word segmentation processing on each second invalid comment in the second comment set to obtain multiple invalid word segments constituting each second invalid comment, and obtain the third occurrence frequency of each invalid word in the second comment set, and determine the invalid word whose third occurrence frequency is greater than the third preset frequency threshold as an invalid keyword, thereby obtaining the second keyword set.

8. A terminal device, characterized in that: comprising a processor and a memory, wherein the processor and the memory are connected to each other; The memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute the method according to any one of claims 1-6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method according to any one of claims 1 to 6.

10. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method described in any one of claims 1 to 6 are implemented.