Text classification method based on multi-source features, terminal equipment and storage medium
A text classification and text technology, applied in text database clustering/classification, neural learning methods, text database query, etc., can solve the problems of shrinking dictionary length, limited keyword extraction ability, and reducing computing costs, etc., to achieve enhanced text semantics features, increasing interpretability, reducing noise
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] The embodiment of the present invention provides a text classification method based on multi-source features, such as figure 1 and figure 2 As shown, the method includes the following steps:
[0040] S1: Receive the text to be analyzed and perform word segmentation processing on it.
[0041] In this embodiment, the text to be analyzed is chat record text. Since there may be a lot of noise in the chat records, which will affect the effect of text classification based on multi-source features, it also needs to be preprocessed to remove words or words in the text that affect the classification results. The preprocessing in this embodiment includes data cleaning and removing stop words.
[0042] S2: Obtain the word weight matrix M of each word in the text to be analyzed by adding a self-attention mechanism to the LSTM network word and the word weight matrix M of each word char .
[0043] This step S2 is used to obtain the attention weight based on the attention mecha...
Embodiment 2
[0086] The present invention also provides a text classification terminal device based on multi-source features, including a memory, a processor, and a computer program stored in the memory and operable on the processor, and the processor executes the computer program The steps in the above method embodiment of Embodiment 1 of the present invention are realized at the same time.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


