Hot event mining method, device and server

By acquiring and analyzing hot word combinations of content resources, title summary information is generated, which solves the problem of low accuracy in hot event mining in the existing technology and improves the readability and accuracy of events.

CN112380339BActive Publication Date: 2024-09-20BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011320781.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-23
Publication Date
2024-09-20
Estimated Expiration
2040-11-23

AI Technical Summary

Technical Problem

The accuracy of hot event mining results in the existing technology is low, and it is impossible to effectively understand public opinion events.

Method used

By obtaining multiple hot words in the title information of content resources, the hot word combinations are determined, and title summary information is generated based on the hot word combinations, and the accuracy is improved by using heat value calculation and correlation analysis.

Benefits of technology

The accuracy of the mining results of hot events is improved, making the mined events more readable and accurate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112380339B
    Figure CN112380339B
Patent Text Reader

Abstract

The present disclosure relates to a hot event mining method, device and server, the method comprising: obtaining multiple hot words in the title information of a content resource; determining at least one hot word combination among the multiple hot words; wherein each hot word combination includes at least two hot words that appear in the same title information among the multiple hot words; determining a first hot word combination among the at least one hot word combination, and obtaining title summary information for representing the hot event based on the at least two first hot words included in the first hot word combination; wherein the number of times at least two first hot words appear simultaneously in the title information is higher than the number of times at least two second hot words appear simultaneously in the title information in the second hot word combination, and the second hot word combination is a hot word combination among the at least one hot word combination except the first hot word combination. In this way, the accuracy of the mining results of the hot events can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The disclosed embodiments relate to the field of digital mining technology, and in particular to a hot event mining method, device and server. Background Art

[0002] With the development of technology, some online platforms, due to their large audience, produce a large amount of content every day, accompanied by a large amount of viewing and commenting, and form a large-scale online community. If a major hot event occurs, the impact of public opinion will be rapidly amplified through the online community, and if the public opinion of the event contains a large amount of negative emotions, it will have a negative impact on society. Therefore, real-time monitoring of hot events in the information flow can help to detect and prevent problems as early as possible before public opinion causes adverse effects.

[0003] At present, the topic words are generally extracted through the document topic generation model (Latent Dirichlet Allocation, LDA for short), and the topic words that have suddenly increased in frequency in the recent period are regarded as hot topic words. However, the output result of the LDA topic extraction scheme is the topic words, and in the actual public opinion monitoring process, it is not enough for monitoring personnel to effectively understand the public opinion events based on the topic words alone.

[0004] It can be seen that the mining results of hot events in related technologies have the problem of low accuracy. Summary of the invention

[0005] The present disclosure provides a hot event mining method, device and electronic device to at least solve the problem of low accuracy of hot event mining results in related technologies. The technical solution of the present disclosure is as follows:

[0006] According to a first aspect of an embodiment of the present disclosure, a hot event mining method is provided, comprising:

[0007] Obtain multiple hot words in the title information of the content resource;

[0008] Determine at least one hot word combination from the multiple hot words; wherein each hot word combination includes at least two hot words from the multiple hot words that appear in the same title information;

[0009] A first hot word combination is determined in the at least one hot word combination, and title summary information for representing a hot event is obtained based on at least two first hot words included in the first hot word combination; wherein the number of times the at least two first hot words appear simultaneously in the title information is higher than the number of times at least two second hot words in a second hot word combination appear simultaneously in the title information, and the second hot word combination is a hot word combination in the at least one hot word combination except the first hot word combination.

[0010] Optionally, the step of obtaining multiple hot words in the title information of the content resource and obtaining multiple hot words in the title information of the content resource published by the platform within a preset time period includes:

[0011] Get the title information of the content resources released by the platform within the preset time period;

[0012] Segmenting the title information based on the word segmentation library to obtain multiple candidate words;

[0013] A plurality of hot words are determined from the plurality of candidate words.

[0014] Optionally, after the step of segmenting the title information based on the word segmentation library to obtain a plurality of candidate words, the method further includes:

[0015] In a case where the plurality of candidate words include a target candidate word including at least two characters, obtaining an association relationship between the at least two characters of the target candidate word;

[0016] When the association relationship satisfies a preset condition for adding a segmentation word in the segmentation library, the target candidate word is added to the segmentation library, and the segmentation library is updated.

[0017] Optionally, the step of obtaining the association relationship between the at least two characters of the target candidate word includes:

[0018] Acquire association information between the at least two characters of the target candidate word;

[0019] Obtaining average mutual information between the at least two characters of the target candidate word;

[0020] The association relationship between the at least two characters of the target candidate word is determined according to the association degree information and the average mutual information.

[0021] Optional,

[0022] The step of obtaining the association information between the at least two characters of the target candidate word includes:

[0023] In a case where the at least two characters include a first character and a second character, and the second character is located on a first side of the first character and adjacent to the first character, obtaining a first information entropy of the first character, and determining association information between the at least two characters of the target candidate word based on the first information entropy; or

[0024] In a case where the at least two characters include a first character and a third character, and the third character is located on a second side of the first character and adjacent to the first character, obtaining a second information entropy of the first character, and determining association information between the at least two characters of the target candidate word based on the second information entropy; or,

[0025] In the case where the at least two characters include a first character, a second character and a third character, and the second character is located on a first side of the first character and adjacent to the first character, and the third character is located on a second side of the first character and adjacent to the first character, a first information entropy associated with the second character of the first character is obtained, and a second information entropy associated with the third character of the first character is obtained, and the association information between the at least two characters of the target candidate word is determined based on the first information entropy and the second information entropy.

[0026] Optionally, obtaining title summary information for representing a hot event based on at least two first hot words included in the first hot word combination includes:

[0027] Determine at least two first hot words included in the first hot word group;

[0028] Based on the text generation logic, the at least two first hot words are generated into title summary information representing the hot event.

[0029] According to a second aspect of an embodiment of the present disclosure, a hot event mining device is provided, comprising:

[0030] A first acquisition module is configured to execute acquisition of multiple hot words in the title information of the content resource;

[0031] A determination module is configured to determine at least one hot word combination from the plurality of hot words; wherein each hot word combination includes at least two hot words from the plurality of hot words that appear in the same title information;

[0032] The output module is configured to determine a first hot word combination in the at least one hot word combination, and obtain title summary information for representing a hot event based on at least two first hot words included in the first hot word combination; wherein the number of times the at least two first hot words appear simultaneously in the title information is higher than the number of times at least two second hot words in the second hot word combination appear simultaneously in the title information, and the second hot word combination is a hot word combination in the at least one hot word combination except the first hot word combination.

[0033] Optionally, the first acquisition module includes:

[0034] A first acquisition unit is configured to execute acquisition of title information of content resources published by the platform within a preset time period;

[0035] A segmentation unit, configured to segment the title information based on a word segmentation library to obtain a plurality of candidate words;

[0036] The first determining unit is configured to determine a plurality of hot words from the plurality of candidate words.

[0037] Optionally, the hot event mining device further includes:

[0038] A second acquisition module is configured to execute, when the plurality of candidate words include a target candidate word including at least two characters, acquiring an association relationship between the at least two characters of the target candidate word;

[0039] The adding module is configured to add the target candidate word to the word segmentation library and update the word segmentation library when the association relationship meets the preset condition for adding a word segmentation in the word segmentation library.

[0040] Optionally, the second acquisition module includes:

[0041] A second acquiring unit is configured to acquire the association information between the at least two characters of the target candidate word;

[0042] A third acquiring unit is configured to acquire average mutual information between the at least two characters of the target candidate word;

[0043] The second determining unit is configured to determine the association relationship between the at least two characters of the target candidate word according to the association degree information and the average mutual information.

[0044] Optionally, the second acquisition unit is configured to acquire a first information entropy of the first character when the at least two characters include a first character and a second character, and the second character is located on a first side of the first character and adjacent to the first character, and determine the association information between the at least two characters of the target candidate word based on the first information entropy; or

[0045] is configured to execute, when the at least two characters include a first character and a third character, and the third character is located on a second side of the first character and adjacent to the first character, obtaining a second information entropy of the first character, and determining the association information between the at least two characters of the target candidate word based on the second information entropy; or,

[0046] It is configured to execute, when the at least two characters include a first character, a second character and a third character, the second character is located on a first side of the first character and adjacent to the first character, and the third character is located on a second side of the first character and adjacent to the first character, obtaining a first information entropy associated with the second character of the first character, and obtaining a second information entropy associated with the third character of the first character, and determining the association information between the at least two characters of the target candidate word based on the first information entropy and the second information entropy.

[0047] Optionally, the output module includes:

[0048] A third determining unit is configured to determine at least two first hot words included in the first hot word group;

[0049] The generating unit is configured to execute text-based generating logic to generate title summary information representing the hot event from the at least two first hot words.

[0050] According to a third aspect of an embodiment of the present disclosure, a server is provided, including:

[0051] processor;

[0052] a memory for storing instructions executable by the processor;

[0053] Wherein, the processor is configured to execute the instructions to implement the hot event mining method described in any one of the first aspects.

[0054] According to a fourth aspect of an embodiment of the present disclosure, a storage medium is provided. When instructions in the storage medium are executed by a server, the server is enabled to execute the hot event mining method described in any one of the first aspects.

[0055] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, comprising: executable instructions, which, when executed on a computer, enable the computer to execute the hot event mining method described in any one of the first aspects.

[0056] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:

[0057] By acquiring multiple hot words in the title information of the content resource; determining at least one hot word combination from the multiple hot words; wherein each hot word combination includes at least two hot words from the multiple hot words that appear in the same title information; determining a first hot word combination from the at least one hot word combination, and obtaining title summary information for representing hot events based on at least two first hot words included in the first hot word combination; wherein the number of times the at least two first hot words appear simultaneously in the title information is higher than the number of times at least two second hot words in the second hot word combination appear simultaneously in the title information, and the second hot word combination is a hot word combination in the at least one hot word combination except the first hot word combination. In this way, by determining at least two first hot words and obtaining title summary information for representing hot events based on the determined at least two first hot words, not only the mined hot events have stronger readability, but also the mined hot events can be expressed more accurately, thereby improving the accuracy of the mining results of hot events.

[0058] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0060] Figure 1 The figure is a flow chart of a hot event mining method according to an exemplary embodiment.

[0061] Figure 2 The figure is a flow chart of a hot event mining method according to another exemplary embodiment.

[0062] Figure 3 It is a block diagram of a hot event mining device according to an exemplary embodiment.

[0063] Figure 4 It is a block diagram of a device according to an exemplary embodiment. DETAILED DESCRIPTION

[0064] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0065] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0066] Figure 1 is a flow chart of a hot event mining method according to an exemplary embodiment. Figure 1 As shown, the hot event mining method can be applied to a server, such as a resource publishing platform, etc., and includes the following steps:

[0067] Step 101: Acquire multiple hot words in the title information of the content resource.

[0068] In this step, the content resource may be resource information released by a resource publishing platform. The content resource may be obtained first, and then the hot words in the title information of the content resource may be obtained.

[0069] In one embodiment, the content resource may be a resource released by the platform within a preset period of time.

[0070] For example, the title information of the content resources released by the resource publishing platform within a preset time (such as half an hour) can be used as a corpus, and the corpus includes the title information of each content resource released by the resource publishing platform within the preset time.

[0071] In the process of obtaining hot words in the title information, the title information can be segmented based on the word segmentation library to obtain multiple candidate words; then the heat values ​​of the multiple candidate words are calculated to determine multiple hot words from the multiple candidate words.

[0072] In the process of determining hot words, the occurrence frequency of each candidate word can be counted first, and then some candidate words with lower occurrence frequency can be filtered out to reduce the amount of calculation of the server in the process of calculating the heat value of the candidate words.

[0073] In some implementations, the popularity values ​​of candidate words with higher occurrence frequencies may be calculated, and candidate words with higher popularity values ​​may be used as hot words.

[0074] In some other embodiments, the heat value of the candidate word can be calculated by a preset model, such as a heat value calculation model, and multiple hot words can be determined from the candidate words. In a specific embodiment of the present disclosure, the heat value of the candidate word can be calculated by a heat value calculation formula; wherein the heat value calculation formula is as follows:

[0075] The heat value calculation formula is as follows:

[0076] Popularity value = (average word frequency in the current time period + smoothing factor) / ([(average word frequency in the current hour of the previous day + smoothing factor) * (average word frequency in the current hour of the previous week + smoothing factor)]^0.5)

[0077] Among them, the average word frequency in the current time period = the average number of words appearing per minute in the current (half hour); the average word frequency in the current hour of the previous day = the average number of words appearing per minute in the current hour of the previous day; the average word frequency in the current hour of the previous week = the average number of words appearing per minute in the current hour of the previous week.

[0078] The smoothing factor can determine the accuracy of the heat value, and its value can be set based on user needs. For example, the closer the smoothing factor is to 1, the greater the impact of the smoothing factor on the heat value; the closer the smoothing factor is to 0, the smaller the impact of the smoothing factor on the heat value.

[0079] The time period range in the formula can be set based on experience or actual needs.

[0080] By using the above heat value calculation formula, the heat value of each candidate word can be calculated, and the candidate words with higher heat values ​​can be used as hot words, for example, the top 20 candidate words with the highest heat values ​​can be used as hot words.

[0081] Step 102: Determine at least one hot word combination among the multiple hot words.

[0082] In this step, each hot word combination includes at least two hot words among the multiple hot words that appear in the same title information.

[0083] For example, within a preset time, the title information in the corpus includes: "Develop Shanghai into a world financial center", "Build Shanghai into a world financial center", "Build Shanghai into a world-class financial center", "The rise of Shanghai financial center", and "The new journey of Shanghai financial center"; the hot words obtained include: "Shanghai", "world", "finance", and "center"; since the hot words "Shanghai", "world", "finance", and "center" all appear in the same title information, at least two of the hot words "Shanghai", "world", "finance", and "center" can be grouped together to form a hot word combination.

[0084] For example, we can get hot word combinations: "Shanghai", "Shanghai Financial Center", "Shanghai World Financial Center" and so on.

[0085] Step 103: determine a first hot word combination in the at least one hot word combination, and obtain title summary information for representing a hot event based on at least two first hot words included in the first hot word combination.

[0086] In this step, at least two first hot words included in the first hot word combination can be converted into title summary information for representing the hot event through grammatical logic or language tools.

[0087] The title summary information includes at least two first hot words, and may also include connecting words or punctuation marks used to connect at least two hot words, so that the generated title summary information can accurately express the content of the mined hot event.

[0088] In this way, by determining at least two first hot words and obtaining title summary information used to represent hot events based on the determined at least two first hot words, not only the mined hot events are more readable, but also the mined hot events can be expressed more accurately, thereby improving the accuracy of the mining results of hot events.

[0089] Among them, the number of times at least two first hot words appear simultaneously in the title information is higher than the number of times at least two second hot words in the second hot word combination appear simultaneously in the title information, and the second hot word combination is a hot word combination in at least one hot word combination except the first hot word combination.

[0090] For example, among the above five title information, the hot word combination "Shanghai World Financial Center" appears in the same title three times, and the hot word combination "Shanghai Financial Center" appears in the same title five times. The number of appearances of "Shanghai Financial Center" is greater than the number of appearances of "Shanghai World Financial Center". Therefore, the hot word combination "Shanghai Financial Center" can be determined as the first hot word combination, and the hot word combination "Shanghai World Financial Center" can be determined as the second hot word combination.

[0091] For another example, the hot word combination "Shanghai World Financial Center" appears in the same title 3 times, the hot word combination "Shanghai Financial Center" appears in the same title 5 times, and the hot word combination "Shanghai Finance" appears in the same title 6 times. Then the hot word combination "Shanghai Finance" can be determined as the first hot word combination, and the hot word combination "Shanghai Financial Center" and "Shanghai World Financial Center" can be determined as the second hot words.

[0092] In another embodiment, a hot word combination that is higher than the occurrence threshold can also be used as the first hot word combination. Assuming that the occurrence threshold is set to 3 times, when the number of hot words in the same title exceeds 3 times, the hot word combination can be determined as the first hot word combination. The number of times the hot word combination "Shanghai Financial Center" appears in the same title is 5 times, so the hot word combination "Shanghai Financial Center" can be determined as the first hot word combination.

[0093] After determining the first hot word combination, the first hot word combination "Shanghai Financial Center" is processed through grammatical logic or language tools to obtain the title summary information "Shanghai Financial Center" used to express the hot event.

[0094] Moreover, for at least two hot words in the first hot word combination, the at least two first hot words can be used to generate title summary information for representing the hot event based on the text generation logic. For example, the at least two first hot words can be converted into title summary information through connecting words or punctuation marks (such as commas, etc.); or the at least two first hot words can be input into a Chinese text summary tool to obtain title summary information for representing the hot event.

[0095] The title summary information in this embodiment can be a summary phrase associated with multiple title information with the same subject, or a summary phrase including multiple title information with the same subject, and can also be converted into a short sentence or event description. For example, for the title summary information "Shanghai Financial Center", in order to improve the readability of the title summary information, it can be described as "Shanghai is a financial center". In one embodiment, the number of hot words included in the title summary information includes but is not limited to 3.

[0096] In addition, compared with the document topic generation model, in the process of extracting keywords, it is necessary to pre-annotate data and pre-define event keywords, phrases and other information. In the embodiment of the present disclosure, the hot words in the title information can be analyzed to determine a first hot word combination including at least two first hot words, and then based on the at least two first hot words, the title summary information used to express the hot event is obtained, thereby achieving the purpose of dynamically discovering hot events.

[0097] Figure 2 is a flow chart of a hot event mining method according to another exemplary embodiment. Figure 2 As shown, the following steps 201-205 are included.

[0098] Step 201: Obtain title information of content resources published by the platform within a preset time period.

[0099] In this step, the content resources may be resources released by the platform within a preset time period.

[0100] For example, the title information of the content resources published by the resource publishing platform within a preset duration (such as half an hour) can be used as a corpus, and the corpus includes the title information of each content resource published by the resource publishing platform within the preset duration.

[0101] Step 202: Segment the title information based on the segmentation library to obtain multiple candidate words.

[0102] In this step, the segmentation library can be the segmentation library updated based on the addition of the previous candidate words to segment the title information and obtain multiple candidate words.

[0103] Among them, in the process of segmenting the title information according to the segmentation library, the size of the segmentation window can be set, and all the segmentation windows within the segmentation window can be traversed to segment the title information and obtain multiple candidate words. For example, for the title information "Develop Shanghai into a world financial center", according to the historical segmentation experience, the size of the segmentation window can be set to 2 characters, 3 characters, and 4 characters, and by traversing all the segmentation windows within the window range, candidate words can be obtained, where:

[0104] The candidate words with a segmentation window of 2 characters include: "将上", "上海", "海发", "发展", "展为", "为世", "世界", "界金", "金融", "融中", "中心";

[0105] The candidate words with a segmentation window of 3 characters include: "将上海", "上海发", "海发展", "发展为", "展为世", "世界金", "界金融", "金融中", "融中心";

[0106] The candidate words with a segmentation window of 4 characters include: "将上海发", "上海发展", "海发展为", "发展为世", "展为世界", "为世界金", "世界金融", "界金融中", "金融中心".

[0107] Step 203: Determine multiple hot words from the multiple candidate words.

[0108] In this step, a preset model, such as a heat value calculation model, can be used to calculate the heat value of the candidate words and determine multiple hot words from the candidate words.

[0109] Step 204: Determine at least one hot word combination from the multiple hot words.

[0110] In this step, each hot word combination includes at least two hot words that appear in the same title information among the multiple hot words.

[0111] Step 205: determine a first hot word combination in the at least one hot word combination, and obtain title summary information for representing the hot event based on at least two first hot words included in the first hot word combination.

[0112] In this step, at least two first hot words included in the first hot word combination can be converted into title summary information for representing the hot event through grammatical logic or language tools.

[0113] The title summary information includes at least two first hot words, and may also include connecting words or punctuation marks used to connect at least two hot words, so that the generated title summary information can accurately express the content of the mined hot event.

[0114] In this way, by using the word library updated after the last candidate word addition as the word library for segmenting the title information, unnecessary segmentation can be effectively avoided and the segmentation efficiency of the candidate words can be improved.

[0115] It should be noted that, in the disclosed embodiment, the word segmentation library used to segment the title information is the word segmentation library after the previous candidate word is added and updated, that is, the word segmentation library used for segmentation is the latest word segmentation library. Therefore, in the process of using the word segmentation library to segment the title information, when the word "Shijiazhuang" is included in the word segmentation library, if the title information "Shijiazhuang" is segmented according to a segmentation window of 2 characters, the candidate word obtained is "Shijiazhuang", rather than "Shijia" and "Jiazhuang"; and when the word "Shijiazhuang" is not included in the word segmentation library, if the title information "Shijiazhuang" is segmented according to a segmentation window of 2 characters, the candidate words obtained are "Shijia" and "Jiazhuang". It can be seen that using the updated word segmentation library to segment the title information can effectively avoid unnecessary segmentation and improve the segmentation efficiency of the candidate words.

[0116] Optionally, after the step of segmenting the title information based on the word segmentation library to obtain multiple candidate words, the method further includes: when the multiple candidate words include a target candidate word containing at least two characters, obtaining the association relationship between the at least two characters of the target candidate word; when the association relationship satisfies a preset condition for adding a word in the word segmentation library, adding the target candidate word to the word segmentation library and updating the word segmentation library.

[0117] In this embodiment, for a target candidate word including at least two characters, the association relationship between at least two characters of the target candidate word can be obtained to determine whether the target candidate word is a new word in the word segmentation library; if it is a new word, the target candidate word is added to the word segmentation library, and the word segmentations in the word segmentation library are updated, so that in the subsequent hot event mining process, the target candidate word can be directly segmented, thereby avoiding unnecessary window segmentation and improving the word segmentation efficiency of the word segmentation library for title information.

[0118] For example, for the target candidate word "financial center", the association relationship between "finance" and "center" can be calculated to determine whether the target candidate word "financial center" is a new word. If it is a new word, it is added to the word segmentation library to update the word segmentation library. In some embodiments, the association relationship between "finance" and "center" can be the number of times "finance" and "center" appear simultaneously in the title information.

[0119] For example, the number of times "finance" and "center" appear in the title information at the same time can be compared with the number of times any one of "finance" and "center" appears; if the number of times "finance" and "center" appear in the title information at the same time is the same as the number of times any one of "finance" and "center" appears, it means that "finance" and "center" always appear at the same time, and "finance" and "center" can be combined into "financial center" and added to the word segmentation library as a new word to update the word segmentation library. It should be noted that "financial center" may already exist in the word segmentation library, so before adding it to the word segmentation library, "financial center" can be searched in the word segmentation library. If it exists, the original word segmentation in the word segmentation library can be overwritten with "financial center"; if it does not exist, "financial center" is added to the word segmentation library. In another embodiment, if "financial center" is found in the word segmentation library, the addition operation can be omitted and the original word segmentation can be retained.

[0120] Moreover, in the process of mining hot events in the next period, when "financial center" appears, even when the segmentation window is 2 characters or 3 characters, the segmentation candidate words are all "financial center" rather than other forms of candidate words, thus avoiding unnecessary window segmentation.

[0121] Optionally, the step of obtaining the association relationship between the at least two characters of the target candidate word includes: obtaining association information between the at least two characters of the target candidate word; obtaining average mutual information between the at least two characters of the target candidate word; and determining the association relationship between the at least two characters of the target candidate word based on the association information and the average mutual information.

[0122] In this implementation, the association relationship between at least two characters may be determined by acquiring the association degree information and the average mutual information between at least two characters.

[0123] Among them, the correlation information can be obtained by calculating the neighboring information entropy, and the neighboring information entropy can be calculated by the following formula:

[0124]

[0125] Among them, Entropy(w) represents the neighboring information entropy, w is the central word, and w n is the neighboring word, W Neighbor represents the set of neighboring words; P(w n |w) means that when the central word is w, w n The probability of appearing in the left and right adjacent positions.

[0126] Among them, it can be based on the number of title information in the corpus and the number of w in the corpus. n The number of times it appears in the vicinity of the central word w is calculated as P(w n |w). For example, if the number of title information in the corpus is 100, and w n The number of times it appears in the vicinity of the central word w is 30, then P(w n |w)=30 / 100, i.e. 30%.

[0127] For example, for at least two characters including a first character, the first character can be set as the central word, and when the at least two characters include a second character and / or a third character, the first information entropy and / or the second information entropy of the first character can be obtained respectively, and the association information between at least two characters of the target candidate word can be determined based on the first information entropy and / or the second information entropy; wherein the second character is located on the first side of the first character and is adjacent to the first character; and the third character is located on the second side of the first character and is adjacent to the first character.

[0128] Optionally, the step of obtaining the association information between the at least two characters of the target candidate word includes:

[0129] In a case where the at least two characters include a first character and a second character, and the second character is located on a first side of the first character and adjacent to the first character, obtaining a first information entropy of the first character, and determining association information between the at least two characters of the target candidate word based on the first information entropy; or

[0130] When the at least two characters include a first character and a third character, and the third character is located on a second side of the first character and adjacent to the first character, obtain a second information entropy of the first character, and determine correlation degree information between the at least two characters of the target candidate word based on the second information entropy; or,

[0131] When the at least two characters include a first character, a second character, and a third character, the second character is located on a first side of the first character and adjacent to the first character, and the third character is located on the second side of the first character and adjacent to the first character, obtain a first information entropy of the first character associated with the second character, and obtain a second information entropy of the first character associated with the third character, and determine correlation degree information between the at least two characters of the target candidate word based on the first information entropy and the second information entropy.

[0132] Among them, the correlation degree information can be calculated by the following formula:

[0133]

[0134] Among them, L(w) represents the correlation degree information between at least two characters of the target candidate word, LE is the first information entropy, RE is the second information entropy, and e represents the natural constant.

[0135] Among them, when there is no second character among the at least two characters, that is, there is no character on the first side of the first character, then determine LE to be 0; when there is no third character among the at least two characters, that is, there is no character on the second side of the first character, then determine RE to be 0.

[0136] The average mutual information between at least two characters of the target candidate word can be calculated by the following formula:

[0137]

[0138] Among them, n represents the number of characters, p(w) is the occurrence probability of the target candidate word in the corpus, p(c n ) is the occurrence probability of a certain character c n in the target candidate word w in the corpus. For example, for the target candidate word "financial center", p(w) represents the occurrence probability of "financial center" in the corpus; the occurrence probabilities of the characters "gold", "finance", "center", and "heart" are p(c1), p(c2), p(c3), and p(c4) respectively; AM1 represents the average mutual information between at least two characters of the target candidate word.

[0139] The probability p(w) of the target candidate word appearing in the corpus can be calculated based on the number of title information in the corpus and the number of times the target candidate word appears in the corpus. For example, if the number of title information in the corpus is 100 and the number of times the target candidate word appears in the corpus is 40, then p(w)=40 / 100, i.e., 40%.

[0140] Among them, it can be based on the amount of title information in the corpus and the number of characters c in the corpus n Count the number of occurrences of character c n The probability of appearing in the corpus p(c n ). For example, the number of title information in the corpus is 100, and the number of characters in the corpus is c n The number of occurrences is 50, then p(c n )=50 / 100, i.e. 50%.

[0141] Among them, whether the target candidate word is a new word can be determined by calculating the overall score of the target candidate word.

[0142] The formula for calculating the overall score of a candidate word can be:

[0143] score=AMI+L(w)

[0144] Among them, score represents the overall score of the target candidate word, AM1 represents the average mutual information between at least two characters of the target candidate word, and L(w) represents the association information between at least two characters of the target candidate word.

[0145] Specifically, the target candidate words may be ranked according to their overall scores, and target candidate words with positive scores may be added to the word segmentation library as new words to update the phrases in the word segmentation library.

[0146] The hot event mining method provided by the embodiment of the present disclosure is through obtaining multiple hot words in the title information of the content resource; determining at least one hot word combination among the multiple hot words; wherein each hot word combination includes at least two hot words that appear in the same title information among the multiple hot words; determining a first hot word combination among the at least one hot word combination, and obtaining title summary information for representing the hot event based on the at least two first hot words included in the first hot word combination; wherein the number of times the at least two first hot words appear simultaneously in the title information is higher than the number of times at least two second hot words in the second hot word combination appear simultaneously in the title information, and the second hot word combination is a hot word combination in the at least one hot word combination except the first hot word combination. In this way, by determining at least two first hot words and obtaining title summary information for representing the hot event based on the determined at least two first hot words, not only the mined hot events have stronger readability, but also the mined hot events can be expressed more accurately, thereby improving the accuracy of the mining results of the hot events.

[0147] Figure 3 FIG. 1 is a block diagram of a hot event mining device according to an exemplary embodiment. Figure 3 The hot event mining device 300 includes a first acquisition module 301, a determination module 302 and an output module 303:

[0148] The first acquisition module 301 is configured to execute acquisition of multiple hot words in the title information of the content resource;

[0149] The determination module 302 is configured to determine at least one hot word combination from the multiple hot words; wherein each hot word combination includes at least two hot words from the multiple hot words that appear in the same title information;

[0150] The output module 303 is configured to determine a first hot word combination in the at least one hot word combination, and obtain title summary information for representing a hot event based on at least two first hot words included in the first hot word combination; wherein the number of times the at least two first hot words appear simultaneously in the title information is higher than the number of times at least two second hot words in the second hot word combination appear simultaneously in the title information, and the second hot word combination is a hot word combination in the at least one hot word combination except the first hot word combination.

[0151] Optionally, the first acquisition module 301 includes:

[0152] A first acquisition unit is configured to execute acquisition of title information of content resources published by the platform within a preset time period;

[0153] A segmentation unit, configured to segment the title information based on a word segmentation library to obtain a plurality of candidate words;

[0154] The first determining unit is configured to determine a plurality of hot words from the plurality of candidate words.

[0155] Optionally, the hot event mining device 300 further includes:

[0156] A second acquisition module is configured to execute, when the plurality of candidate words include a target candidate word including at least two characters, acquiring an association relationship between the at least two characters of the target candidate word;

[0157] The adding module is configured to add the target candidate word to the word segmentation library and update the word segmentation library when the association relationship meets the preset condition for adding a word segmentation in the word segmentation library.

[0158] Optionally, the second acquisition module includes:

[0159] A second acquiring unit is configured to acquire the association information between the at least two characters of the target candidate word;

[0160] A third acquiring unit is configured to acquire average mutual information between the at least two characters of the target candidate word;

[0161] The second determining unit is configured to determine the association relationship between the at least two characters of the target candidate word according to the association degree information and the average mutual information.

[0162] Optionally, the second acquisition unit is configured to acquire a first information entropy of the first character when the at least two characters include a first character and a second character, and the second character is located on a first side of the first character and adjacent to the first character, and determine the association information between the at least two characters of the target candidate word based on the first information entropy; or

[0163] is configured to execute, when the at least two characters include a first character and a third character, and the third character is located on a second side of the first character and adjacent to the first character, obtaining a second information entropy of the first character, and determining the association information between the at least two characters of the target candidate word based on the second information entropy; or,

[0164] It is configured to execute, when the at least two characters include a first character, a second character and a third character, the second character is located on a first side of the first character and adjacent to the first character, and the third character is located on a second side of the first character and adjacent to the first character, obtaining a first information entropy associated with the second character of the first character, and obtaining a second information entropy associated with the third character of the first character, and determining the association information between the at least two characters of the target candidate word based on the first information entropy and the second information entropy.

[0165] Optionally, the output module 303 includes:

[0166] A third determining unit is configured to determine at least two first hot words included in the first hot word group;

[0167] The generating unit is configured to execute text-based generating logic to generate title summary information representing the hot event from the at least two first hot words.

[0168] Regarding the hot event mining device 300 in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0169] In an exemplary embodiment, a storage medium including instructions is also provided, such as a memory including instructions, and the instructions can be executed by a processor of the device to complete the above method. Optionally, the storage medium can be a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0170] Figure 4 4 is a block diagram of a device 400 for hot event mining according to an exemplary embodiment. For example, the device 400 can be provided as a server. Figure 4 , the apparatus 400 includes a processing component 422, which further includes one or more processors, and a memory resource represented by a memory 432 for storing instructions, such as an application, that can be executed by the processing component 422. The application stored in the memory 432 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 422 is configured to execute the instructions to perform the above method.

[0171] The device 400 may also include a power supply component 426 configured to perform power management of the device 400, a wired or wireless network interface 450 configured to connect the device 400 to a network, and an input / output (I / O) interface 458. The device 400 may operate based on an operating system stored in the memory 432, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, or the like.

[0172] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.

[0173] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. A hot event mining method, characterized in that: include: Obtain multiple hot words in the title information of the content resource; Determine at least one hot word combination from the multiple hot words; wherein each hot word combination includes at least two hot words from the multiple hot words that appear in the same title information; Determine a first hot word combination in the at least one hot word combination, and obtain title summary information for representing a hot event based on at least two first hot words included in the first hot word combination; wherein the number of times the at least two first hot words appear simultaneously in the title information is higher than the number of times at least two second hot words in a second hot word combination appear simultaneously in the title information, and the second hot word combination is a hot word combination in the at least one hot word combination except the first hot word combination; The step of obtaining multiple hot words in the title information of the content resource includes: Get the title information of the content resources released by the platform within the preset time period; Segmenting the title information based on the word segmentation library to obtain multiple candidate words; Determine a plurality of hot words from the plurality of candidate words; After the step of segmenting the title information based on the word segmentation library to obtain a plurality of candidate words, the method further includes: In a case where the plurality of candidate words include a target candidate word including at least two characters, obtaining association information between the at least two characters of the target candidate word; The step of obtaining the association information between the at least two characters of the target candidate word includes: In a case where the at least two characters include a first character and a second character, and the second character is located on a first side of the first character and adjacent to the first character, obtaining a first information entropy of the first character, and determining association information between the at least two characters of the target candidate word based on the first information entropy; In a case where the at least two characters include a first character and a third character, and the third character is located on a second side of the first character and adjacent to the first character, obtaining a second information entropy of the first character, and determining association information between the at least two characters of the target candidate word based on the second information entropy; In the case where the at least two characters include a first character, a second character and a third character, and the second character is located on a first side of the first character and adjacent to the first character, and the third character is located on a second side of the first character and adjacent to the first character, a first information entropy associated with the second character of the first character is obtained, and a second information entropy associated with the third character of the first character is obtained, and the association information between the at least two characters of the target candidate word is determined based on the first information entropy and the second information entropy.

2. The method according to claim 1, characterized in that The method further comprises: Obtaining average mutual information between the at least two characters of the target candidate word; Determining, according to the association degree information and the average mutual information, an association relationship between the at least two characters of the target candidate word; When the association relationship satisfies a preset condition for adding a segmentation word in the segmentation library, the target candidate word is added to the segmentation library, and the segmentation library is updated.

3. The method according to claim 1, characterized in that The obtaining of title summary information for representing a hot event based on at least two first hot words included in the first hot word combination includes: Determine at least two first hot words included in the first hot word group; Based on the text generation logic, the at least two first hot words are generated into title summary information representing the hot event.

4. A hot event mining device, characterized in that: include: A first acquisition module is configured to execute acquisition of multiple hot words in the title information of the content resource; A determination module is configured to determine at least one hot word combination from the plurality of hot words; wherein each hot word combination includes at least two hot words from the plurality of hot words that appear in the same title information; an output module, configured to determine a first hot word combination in the at least one hot word combination, and obtain title summary information for representing a hot event based on at least two first hot words included in the first hot word combination; wherein the number of times the at least two first hot words appear simultaneously in the title information is higher than the number of times at least two second hot words in a second hot word combination appear simultaneously in the title information, and the second hot word combination is a hot word combination in the at least one hot word combination except the first hot word combination; The first acquisition module includes: A first acquisition unit is configured to execute acquisition of title information of content resources published by the platform within a preset time period; A segmentation unit, configured to segment the title information based on a word segmentation library to obtain a plurality of candidate words; A first determining unit is configured to determine a plurality of hot words from the plurality of candidate words; The hot event mining device also includes: A second acquisition module is configured to execute, when the plurality of candidate words include a target candidate word including at least two characters, acquiring association information between the at least two characters of the target candidate word; Among them, the second acquisition module is configured to execute, when the at least two characters include a first character and a second character, and the second character is located on a first side of the first character and adjacent to the first character, to acquire a first information entropy of the first character, and to determine the association information between the at least two characters of the target candidate word based on the first information entropy; when the at least two characters include a first character and a third character, and the third character is located on a second side of the first character and adjacent to the first character, to acquire a second information entropy of the first character, and to determine the association information between the at least two characters of the target candidate word based on the second information entropy; when the at least two characters include a first character, a second character and a third character, and the second character is located on a first side of the first character and adjacent to the first character, and the third character is located on a second side of the first character and adjacent to the first character, to acquire a first information entropy associated with the second character of the first character, and to acquire a second information entropy associated with the third character of the first character, and to determine the association information between the at least two characters of the target candidate word based on the first information entropy and the second information entropy.

5. The hot event mining device according to claim 4, characterized in that: The second acquisition module is configured to execute: acquiring the average mutual information between the at least two characters of the target candidate word; determining the association relationship between the at least two characters of the target candidate word according to the association degree information and the average mutual information; The hot event mining device also includes an adding module, which is configured to add the target candidate word to the word segmentation library and update the word segmentation library when the association relationship meets the preset condition for adding a word segmentation library.

6. The hot event mining device according to claim 4, characterized in that: The output module comprises: A third determining unit is configured to determine at least two first hot words included in the first hot word group; The generating unit is configured to execute text-based generating logic to generate title summary information representing the hot event from the at least two first hot words.

7. A server, characterized in that: include: processor; a memory for storing instructions executable by the processor; Wherein, the processor is configured to execute the instructions to implement the hot event mining method as described in any one of claims 1 to 3.

8. A storage medium, characterized in that: When the instructions in the storage medium are executed by the server, the server is enabled to execute the hot event mining method as described in any one of claims 1 to 3.