A method for detecting sudden hot events based on unsupervised feature clustering

Through the induction and summary of unsupervised feature clustering and large language models, it solves the problem of existing sudden hot event detection methods that cannot meet the real-time requirements and the high cost of obtaining annotated data, and achieves low-cost and efficient event detection.

CN118312619BActive Publication Date: 2024-09-06JINAN UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410723638.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-09-06
Estimated Expiration
2044-06-05

AI Technical Summary

Technical Problem

Existing emergency hot event detection methods rely on keyword monitoring and manual screening, which cannot meet real-time requirements, and methods based on supervised learning require a large amount of annotated data, which is costly and time-consuming to obtain.

Method used

Using a method based on unsupervised feature clustering, by downloading Internet content, using the feature space of the pre-trained language model for clustering, identifying sudden hot events, and using large language models to summarize and implement event detection.

Benefits of technology

At low computing cost, it achieves effective detection of sudden hot events, avoids dependence on annotated data, and meets real-time requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118312619B
    Figure CN118312619B
Patent Text Reader

Abstract

The invention discloses a method for detecting sudden hot events based on unsupervised feature clustering, the method comprising: downloading texts from an Internet content platform, performing data preprocessing, obtaining a word segmentation list and an article list; encoding the word segmentation list and the article list using a pre-trained language model to obtain a word segmentation feature list and an article feature list; performing unsupervised feature clustering on the word segmentation feature list and the article feature list to obtain all word segmentation clusters and all article clusters; calculating articles containing sudden hot events based on all word segmentation clusters and all article clusters; summarizing articles containing sudden hot events to obtain a sudden hot event set. The invention downloads massive content on the Internet, uses a discriminative feature space of a pre-trained language model, realizes effective detection of sudden hot events through unsupervised feature clustering, and summarizes them using a large language model, does not require a training model, and realizes effective event detection at a relatively low computational cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the fields of deep learning and natural language processing, and in particular to a method for detecting sudden hot events based on unsupervised feature clustering. Background Art

[0002] Hotspot incident detection is a technology designed to quickly identify events that are important, urgent, or have broad social impact. This detection usually requires processing and analyzing real-time data streams, including news reports, social media posts, blog posts, etc., in order to detect and respond to these events in a timely manner. Hotspot incident detection has extremely high social and practical value. For news organizations, being able to report important news quickly and accurately is part of their core competitiveness. For public safety and emergency response agencies, timely detection of major emergencies (such as natural disasters, large-scale accidents, etc.) is the key to timely response and loss mitigation. In addition, the public can also obtain necessary information through timely emergency reports to make corresponding personal safety preparations and decisions.

[0003] At present, the detection methods of sudden hot events mainly rely on keyword monitoring and manual screening, which often cannot meet the real-time requirements in terms of speed and efficiency. With the development of artificial intelligence technology, especially the progress in the field of natural language processing, machine learning-based methods have begun to be studied and applied to automated event detection. Nevertheless, existing methods usually require a large amount of labeled data for supervised learning, and the acquisition of such data is time-consuming and expensive. In recent years, unsupervised learning, especially unsupervised clustering technology, has shown great potential in text analysis. These methods do not rely on labeled data, but identify hot events by analyzing the intrinsic structure and features of the text, and can achieve effective event detection with lower computing resource requirements. Summary of the invention

[0004] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention discloses a method for detecting sudden hot events based on unsupervised feature clustering. The method downloads massive content from the Internet, uses the discriminative feature space of the pre-trained language model, realizes effective detection of sudden hot events through unsupervised feature clustering, and summarizes them using a large language model, does not require a training model, and realizes effective event detection at a low computational cost.

[0005] The object of the present invention is to achieve a method for detecting sudden hot events based on unsupervised feature clustering through the following technical solution, the method comprising:

[0006] Step 1: Download the text from the Internet content platform, perform data preprocessing, and obtain a word list and an article list;

[0007] Step 2: Use the pre-trained language model to encode the word list and article list to obtain the word feature list and article feature list;

[0008] Step 3: Perform unsupervised feature clustering on the word feature list and the article feature list to obtain all word clusters and all article clusters;

[0009] Step 4: Calculate the articles containing sudden hot events based on all word clusters and all article clusters;

[0010] Step 5: Summarize the articles containing sudden hot events to obtain a set of sudden hot events.

[0011] The downloading of text from the Internet content platform, performing data preprocessing, and obtaining a word segmentation list and an article list comprises the following steps:

[0012] Step 101, downloading an Internet content platform webpage;

[0013] Step 102, cleaning the downloaded webpage content, retaining only the text of each webpage, and obtaining an article; cleaning a large number of webpages to obtain an article list ,in Represents a list of articles. Indicates Articles, Indicates the number of articles;

[0014] Step 103: Apply the word segmentation tool to the article list Segment the articles in the text, keep only the nouns, and get the segmentation list ,in Represents a word list, Indicates participle, Indicates the number of participles.

[0015] The method of using a pre-trained language model to encode a word segmentation list and an article list to obtain a word segmentation feature list and an article feature list comprises the following steps:

[0016] Step 201, add the special character "[CLS]" to the front of each word in the word list, and add the special character "[SEP]" to the back. The expression is:

[0017]

[0018] in, Indicates The word segmentation after splicing special characters, Indicates word segment, "[CLS]" and "[SEP]" are special characters;

[0019] Step 202, input the segmented words after splicing the special characters into the pre-trained language model Bert-base-Chinese, and extract the features corresponding to the special characters "[CLS]" as the segmented word features, the expression is:

[0020]

[0021] in, Indicates The segmentation features of the segmentation words, represents the pre-trained language model Bert-base-Chinese, Indicates The word segmentation after splicing special characters, Indicates the features corresponding to the special character "[CLS]" of the pre-trained language model Bert-base-Chinese encoding result;

[0022] Extract the segmentation features of all the segmentations in the segmentation list to obtain the segmentation feature list. The expression is:

[0023]

[0024] in, Represents a list of word segmentation features, Indicates The segmentation features of the segmentation words, Indicates the number of participles;

[0025] Step 203, add special characters "[CLS]" to the front of each article in the article list, and add special characters "[SEP]" to the back. The expression is:

[0026]

[0027] in, Indicates Articles after splicing special characters, Indicates Articles, "[CLS]" and "[SEP]" are special characters;

[0028] Step 204, input the article after splicing special characters into the pre-trained language model Bert-base-Chinese, and extract the features corresponding to the special characters "[CLS]" as article features, the expression is:

[0029]

[0030] in, Indicates Article features of each article, represents the pre-trained language model Bert-base-Chinese, Indicates Articles after splicing special characters, Indicates the features corresponding to the special character "[CLS]" of the pre-trained language model Bert-base-Chinese encoding result;

[0031] Extract article features from all articles in the article list to obtain an article feature list, the expression is:

[0032]

[0033] in, Represents a list of article features, Indicates Article features of each article, Indicates the number of articles.

[0034] The unsupervised feature clustering of the word segmentation feature list and the article feature list to obtain all word segmentation clusters and all article clusters includes the following steps:

[0035] Use the existing clustering algorithm to and a list of article features For clustering, the expression is:

[0036]

[0037] in, Represents a list of article features, Represents a list of word segmentation features, represents the existing clustering algorithm, represents all article clusters, represents all word clusters, represents the i-th article cluster among all article clusters, represents the i-th word cluster among all word clusters, Indicates Article features of each article, Indicates The segmentation features of the segmentation words, represents the number of clusters of all article clusters, represents the number of clusters of all word clusters, Indicates participle, Indicates Articles;

[0038] The existing clustering algorithms include one or more of DBSCAN, OPTICS, GMM, and Mean-Shift.

[0039] The method of calculating the articles containing sudden hot events based on all word clusters and all article clusters includes the following steps:

[0040] Step 401, according to the size of each word segmentation cluster in all word segmentation clusters, select the hot word segmentation cluster, the expression is:

[0041]

[0042] in, Indicates hot word clusters, represents all word clusters, represents the i-th word cluster among all word clusters, Indicates the size of the computational cluster, represents the descending sorting function, Indicates the first word clusters, It is a preset hyperparameter representing the number of hot word clusters;

[0043] Step 402, according to the size of each article cluster in all article clusters, select the hot article cluster, the expression is:

[0044]

[0045] in, represents a cluster of hot articles, represents all article clusters, represents the i-th article cluster among all article clusters, Indicates the size of the computational cluster, represents the descending sorting function, Indicates the first Article clusters, is a preset hyperparameter representing the number of hot article clusters;

[0046] Step 403, the hot article clusters are refined according to the hot word clusters, and articles that do not contain the words of the hot word clusters in the hot article clusters are removed to obtain the target article clusters, which are expressed as:

[0047]

[0048] in, represents the target article cluster, is a preset hyperparameter representing the number of hot article clusters, Indicates the first Clusters, Indicates Articles, Express The word set obtained by word segmentation, represents the kth word cluster among all the word clusters mentioned, It is a preset hyperparameter representing the number of hot word clusters;

[0049] The articles in each cluster of the target article cluster are the articles containing the sudden hot events.

[0050] The method of summarizing the articles containing sudden hot events to obtain a sudden hot event set includes the following steps:

[0051] Step 501, initialize the sudden hot event set to an empty set, take out a cluster from the target article cluster as the current cluster, and go to step 502;

[0052] Step 502, if the current cluster is an empty set, delete the current cluster from the target article cluster and go to step 501, otherwise go to step 503;

[0053] Step 503, input the articles of the current cluster into the existing large language model, use the large language model to summarize the common events recorded in the articles of the current cluster, obtain the current sudden hot events, add the current sudden hot events to the sudden hot event set, delete the current cluster from the target article cluster, and go to step 504;

[0054] Step 504: if the target article cluster is an empty set, output a set of sudden hot events, otherwise go to step 501;

[0055] The existing large language models include one or more of GPT, LLaMA, claude, Wenxin Yiyan, and Tongyi Qianwen.

[0056] Compared with the existing methods, the advantages of the method of the present invention are: the present technology provides a method for detecting sudden hot events based on unsupervised feature clustering. The method downloads massive content from the Internet, uses the discriminative feature space of the pre-trained language model, realizes effective detection of sudden hot events through unsupervised feature clustering, and summarizes them using a large language model. Compared with the existing methods, the present method adopts the technical route of unsupervised feature clustering, does not require model training, and realizes effective event detection at a lower computational cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 A schematic diagram of a flow chart of an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0058] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0059] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0060] In this embodiment, it is assumed that we want to develop an event monitoring system. The core difficulty lies in how to detect sudden hot events in the current society. To achieve this, the sudden hot event detection method based on unsupervised feature clustering proposed in the present invention can be used.

[0061] Therefore, if Figure 1 As shown, a method for detecting sudden hot events based on unsupervised feature clustering includes:

[0062] Step 1: Download the text from the Internet content platform, perform data preprocessing, and obtain a word list and an article list;

[0063] Step 2: Use the pre-trained language model to encode the word list and article list to obtain the word feature list and article feature list;

[0064] Step 3: Perform unsupervised feature clustering on the word feature list and the article feature list to obtain all word clusters and all article clusters;

[0065] Step 4: Calculate the articles containing sudden hot events based on all word clusters and all article clusters;

[0066] Step 5: Summarize the articles containing sudden hot events to obtain a set of sudden hot events.

[0067] The downloading of text from the Internet content platform, performing data preprocessing, and obtaining a word segmentation list and an article list comprises the following steps:

[0068] Step 101, downloading an Internet content platform webpage;

[0069] Step 102, cleaning the downloaded webpage content, retaining only the text of each webpage, and obtaining an article; cleaning a large number of webpages to obtain an article list ,in Represents a list of articles. Indicates Articles, Indicates the number of articles;

[0070] Step 103: Apply the word segmentation tool to the article list Segment the articles in the text, keep only the nouns, and get the segmentation list ,in Represents a word list, Indicates participle, Indicates the number of participles.

[0071] The method of using a pre-trained language model to encode a word segmentation list and an article list to obtain a word segmentation feature list and an article feature list comprises the following steps:

[0072] Step 201, add the special character "[CLS]" to the front of each word in the word list, and add the special character "[SEP]" to the back. The expression is:

[0073]

[0074] in, Indicates The word segmentation after splicing special characters, Indicates word segment, "[CLS]" and "[SEP]" are special characters;

[0075] Step 202, input the segmented words after splicing the special characters into the pre-trained language model Bert-base-Chinese, and extract the features corresponding to the special characters "[CLS]" as the segmented word features, the expression is:

[0076]

[0077] in, Indicates The segmentation features of the segmentation words, represents the pre-trained language model Bert-base-Chinese, Indicates The word segmentation after splicing special characters, Indicates the features corresponding to the special character "[CLS]" of the pre-trained language model Bert-base-Chinese encoding result;

[0078] Extract the segmentation features of all the segmentations in the segmentation list to obtain the segmentation feature list. The expression is:

[0079]

[0080] in, Represents a list of word segmentation features, Indicates The segmentation features of the segmentation words, Indicates the number of participles;

[0081] Step 203, add special characters "[CLS]" to the front of each article in the article list, and add special characters "[SEP]" to the back. The expression is:

[0082]

[0083] in, Indicates Articles after splicing special characters, Indicates Articles, "[CLS]" and "[SEP]" are special characters;

[0084] Step 204, input the article after splicing special characters into the pre-trained language model Bert-base-Chinese, and extract the features corresponding to the special characters "[CLS]" as article features, the expression is:

[0085]

[0086] in, Indicates Article features of each article, represents the pre-trained language model Bert-base-Chinese, Indicates Articles after splicing special characters, Indicates the features corresponding to the special character "[CLS]" of the pre-trained language model Bert-base-Chinese encoding result;

[0087] BERT (Bidirectional Encoder Representations from Transformers) is an advanced pre-trained language model proposed by the Google AI team in 2018. The model uses the encoder part of the Transformer architecture. Its core feature is that it can effectively capture long-distance dependencies in text through the self-attention mechanism. The innovation of BERT lies in its bidirectional training feature, that is, the model considers the information of all words in the context during the pre-training stage, rather than just a unidirectional understanding from left to right or right to left. This comprehensive bidirectional understanding gives BERT a significant advantage in understanding the complexity of language.

[0088] Extract article features from all articles in the article list to obtain an article feature list, the expression is:

[0089]

[0090] in, Represents a list of article features, Indicates Article features of each article, Indicates the number of articles.

[0091] The unsupervised feature clustering of the word segmentation feature list and the article feature list to obtain all word segmentation clusters and all article clusters includes the following steps:

[0092] Use the existing clustering algorithm to and a list of article features For clustering, the expression is:

[0093]

[0094] in, Represents a list of article features, Represents a list of word segmentation features, represents the existing clustering algorithm, represents all article clusters, represents all word clusters, represents the i-th article cluster among all article clusters, represents the i-th word cluster among all word clusters, Indicates Article features of each article, Indicates The segmentation features of the segmentation words, represents the number of clusters of all article clusters, represents the number of clusters of all word clusters, Indicates participle, Indicates Articles;

[0095] The existing clustering algorithms include one or more of DBSCAN, OPTICS, GMM, and Mean-Shift.

[0096] DBSCAN is a density-based clustering algorithm that can identify high-density areas and treat them as clusters, while identifying and processing noise points. The algorithm mainly relies on two parameters: neighborhood radius (ε) and minimum number of points (MinPts). If a point has more than MinPts points in its ε neighborhood, then the point is considered a core point. Based on the connectivity of the core points, DBSCAN can form clusters. The advantage of DBSCAN is that it does not require the number of clusters to be specified in advance and can handle clusters of arbitrary shapes.

[0097] The OPTICS algorithm is similar to DBSCAN and is also a density-based clustering method, but it solves some limitations of DBSCAN when dealing with data of different density levels. OPTICS does not directly produce a clear clustering division, but instead produces an ordered sequence of points that represent the reachability relationship between points. Through this sequence, clustering structures of different densities can be extracted as needed. This makes OPTICS more flexible than DBSCAN on multi-scale data.

[0098] Gaussian mixture model (GMM) is a probabilistic model that assumes that all data points are generated from a mixture of a finite number of Gaussian distributions. Each Gaussian distribution corresponds to a cluster with its own mean and covariance. In the clustering process, GMM uses the EM (Expectation Maximization) algorithm to estimate the parameters of the Gaussian distribution and calculate the probability that each point belongs to each cluster. The advantage of GMM is that it can simulate the distribution of points within the cluster and is suitable for situations where the cluster shapes are diverse.

[0099] Mean-Shift is a clustering algorithm based on kernel density estimation. The core idea of ​​the algorithm is to update the center point of the candidate cluster in the direction of the highest data point density. Specifically, the algorithm iteratively calculates the mean shift of each point and moves the cluster center to the dense area until convergence. Mean-Shift does not require the number of clusters to be specified, and can adaptively discover the shape and size of clusters. However, it has a high computational cost, especially when dealing with large-scale data sets.

[0100] The method of calculating the articles containing sudden hot events based on all word clusters and all article clusters includes the following steps:

[0101] Step 401, according to the size of each word segmentation cluster in all word segmentation clusters, select the hot word segmentation cluster, the expression is:

[0102]

[0103] in, Indicates hot word clusters, represents all word clusters, represents the i-th word cluster among all word clusters, Indicates the size of the computational cluster, represents the descending sorting function, Indicates the first word clusters, It is a preset hyperparameter representing the number of hot word clusters;

[0104] Step 402, according to the size of each article cluster in all article clusters, select the hot article cluster, the expression is:

[0105]

[0106] in, represents a cluster of hot articles, represents all article clusters, represents the i-th article cluster among all article clusters, Indicates the size of the computational cluster, represents the descending sorting function, Indicates the first Article clusters, is a preset hyperparameter representing the number of hot article clusters;

[0107] Step 403, the hot article clusters are refined according to the hot word clusters, and articles that do not contain the words of the hot word clusters in the hot article clusters are removed to obtain the target article clusters, which are expressed as:

[0108]

[0109] in, represents the target article cluster, is a preset hyperparameter representing the number of hot article clusters, Indicates the first Clusters, Indicates Articles, Express The word set obtained by word segmentation, represents the kth word cluster among all the word clusters mentioned, It is a preset hyperparameter representing the number of hot word clusters;

[0110] The articles in each cluster of the target article cluster are the articles containing the sudden hot events.

[0111] The method of summarizing the articles containing sudden hot events to obtain a sudden hot event set includes the following steps:

[0112] Step 501, initialize the sudden hot event set to an empty set, take out a cluster from the target article cluster as the current cluster, and go to step 502;

[0113] Step 502, if the current cluster is an empty set, delete the current cluster from the target article cluster and go to step 501, otherwise go to step 503;

[0114] Step 503, input the articles of the current cluster into the existing large language model, use the large language model to summarize the common events recorded in the articles of the current cluster, obtain the current sudden hot events, add the current sudden hot events to the sudden hot event set, delete the current cluster from the target article cluster, and go to step 504;

[0115] Step 504: if the target article cluster is an empty set, output a set of sudden hot events, otherwise go to step 501;

[0116] The existing large language models include one or more of GPT, LLaMA, claude, Wenxin Yiyan, and Tongyi Qianwen.

[0117] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

Claims

1. A method for detecting sudden hot events based on unsupervised feature clustering. It is characterized in that The method comprises: Step 1: Download the text from the Internet content platform, perform data preprocessing, and obtain a word list and an article list; Step 2: Use the pre-trained language model to encode the word list and article list to obtain the word feature list and article feature list; Step 3: Perform unsupervised feature clustering on the word feature list and the article feature list to obtain all word clusters and all article clusters; Step 4: Calculate the articles containing sudden hot events based on all word clusters and all article clusters; Step 5, summarizing the articles containing sudden hot events to obtain a set of sudden hot events; The unsupervised feature clustering of the word segmentation feature list and the article feature list to obtain all word segmentation clusters and all article clusters includes the following steps: Use clustering algorithm to segment the word feature list and a list of article features For clustering, the expression is: ; in, Represents a list of article features, Represents a list of word segmentation features, represents the clustering algorithm, represents all article clusters, represents all word clusters, represents the i-th article cluster among all article clusters, represents the i-th word cluster among all word clusters, represents the number of clusters of all article clusters, represents the number of clusters of all word clusters, Indicates participle, Indicates Articles; The clustering algorithm includes one or more of DBSCAN, OPTICS, GMM, and Mean-Shift; The method of calculating the articles containing sudden hot events based on all word clusters and all article clusters includes the following steps: Step 401, according to the size of each word segmentation cluster in all word segmentation clusters, select the hot word segmentation cluster, the expression is: ; in, Indicates hot word clusters, Indicates the size of the computational cluster, represents the descending sorting function, Indicates the first word clusters, It is a preset hyperparameter representing the number of hot word clusters; Step 402, according to the size of each article cluster in all article clusters, select the hot article cluster, the expression is: ; in, represents a cluster of hot articles, represents all article clusters, represents the i-th article cluster among all article clusters, Indicates the first Clusters of articles, is a preset hyperparameter representing the number of hot article clusters; Step 403, the hot article clusters are refined according to the hot word clusters, and articles that do not contain the words of the hot word clusters in the hot article clusters are removed to obtain the target article clusters, which are expressed as: ; in, represents the target article cluster, Indicates the first Clusters, Indicates Articles, Express The word set obtained by word segmentation, represents the kth word cluster among all the word clusters; The articles in each cluster of the target article cluster are the articles containing sudden hot events; The method of summarizing the articles containing sudden hot events to obtain a sudden hot event set includes the following steps: Step 501, initialize the sudden hot event set to an empty set, take out a cluster from the target article cluster as the current cluster, and go to step 502; Step 502, if the current cluster is an empty set, delete the current cluster from the target article cluster and go to step 501, otherwise go to step 503; Step 503, input the articles of the current cluster into the large language model, use the large language model to summarize the common events recorded in the articles of the current cluster, obtain the current sudden hot events, add the current sudden hot events to the sudden hot event set, delete the current cluster from the target article cluster, and go to step 504; Step 504: if the target article cluster is an empty set, output a set of sudden hot events, otherwise go to step 501; The large language model includes one or more of GPT, LLaMA, claude, Wenxin Yiyan, and Tongyi Qianwen.

2. The method for detecting sudden hot events based on unsupervised feature clustering according to claim 1, It is characterized in that The downloading of text from the Internet content platform, performing data preprocessing, and obtaining a word segmentation list and an article list comprises the following steps: Step 101, downloading an Internet content platform webpage; Step 102, cleaning the downloaded web page content, retaining only the text of each web page, and obtaining an article; Clean massive web pages and get a list of articles ,in Represents a list of articles. Indicates Articles, Indicates the number of articles; Step 103: Apply the word segmentation tool to the article list Segment the articles in the text, keep only the nouns, and get the segmentation list ,in Represents a word list, Indicates participle, Indicates the number of participles.

3. The method for detecting sudden hot events based on unsupervised feature clustering according to claim 2, It is characterized in that The method of using a pre-trained language model to encode a word segmentation list and an article list to obtain a word segmentation feature list and an article feature list comprises the following steps: Step 201, add special characters "[CLS]" to the front of each word in the word list, and add special characters "[SEP]" to the back, the expression is: ; in, Indicates The word segmentation after splicing special characters, "[CLS]" and "[SEP]" are special characters; Step 202, input the segmented words after splicing the special characters into the pre-trained language model Bert-base-Chinese, and extract the features corresponding to the special characters "[CLS]" as the segmented word features, the expression is: ; in, Indicates The segmentation features of the segmentation words, represents the pre-trained language model Bert-base-Chinese, Indicates the features corresponding to the special character "[CLS]" of the Bert-base-Chinese encoding result of the pre-trained language model; Extract the segmentation features of all the segmentations in the segmentation list to obtain the segmentation feature list. The expression is: ; in, Represents a list of word segmentation features; Step 203, add special characters "[CLS]" to the front of each article in the article list, and add special characters "[SEP]" to the back, the expression is: ; in, Indicates Articles after splicing special characters; Step 204, input the article after splicing the special characters into the pre-trained language model Bert-base-Chinese, and extract the features corresponding to the special characters "[CLS]" as the article features, the expression is: ; in, Indicates Article features of each article; Extract article features from all articles in the article list to obtain an article feature list, the expression is: ; in, Represents a list of article features.