Emotion classification model training and textual emotion polarity analysis method and system
A technology of emotion classification and emotion polarity, which is applied in semantic analysis, neural learning methods, biological neural network models, etc., can solve the problems of dimension disaster, semantic information cannot be expressed, and the potential connection of words cannot be revealed, so as to improve accuracy, Avoiding the disaster of dimensionality and reducing the effect of dimensionality
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] see Figure 1A The solution of this embodiment can be implemented by a computer, specifically, it can be implemented by a software program configured in a computer, and the method for training an emotion classification model includes the following steps:
[0046] S110: Collect data from the corpus to obtain original data.
[0047] Exemplarily, the original analysis data may be obtained by crawling content in the corpus through a crawler tool, or the original analysis data may be obtained through other data collection methods.
[0048] A crawler can be a program that automatically obtains web content, or it can be an important part of a search engine. Search engines use crawlers to search for web content, and HTML (HyperTextMark-upLanguage, Hypertext Markup Language) documents on the web are connected using hyperlinks, just like weaving a web, and crawlers crawl along this web, every time they arrive at A web page is grabbed by a crawler program, and then the content is...
Embodiment 2
[0065] On the basis of Embodiment 1 of the present invention, this embodiment further provides a preferred implementation manner of step S120 in the technical solution of Embodiment 1, that is, performing preprocessing on raw data to obtain preprocessed data.
[0066] Referring to Embodiment 1 of the present invention, as figure 2 As shown, step S120 is to preprocess the original data, and obtaining the preprocessed data may include:
[0067] S121: Clean the original data to obtain the cleaned data.
[0068] Exemplarily, the unrecognizable data and non-literal characters in the raw data previously acquired by the crawler tool are removed to obtain the cleaned data, which is convenient for subsequent word segmentation, stop word removal and word vector extraction operations.
[0069] S122: Perform word segmentation and stop word removal processing on the cleaned data to obtain preprocessed data.
[0070] Exemplarily, an open source word segmentation tool or a purchased non-o...
Embodiment 3
[0073] On the basis of the second embodiment, this embodiment further provides a preferred implementation manner of step S121 in the technical solution of the second embodiment, that is, cleaning the original data and obtaining the cleaned data.
[0074] Referring to Embodiment 2 of the present invention, as image 3 As shown, step S121, that is, cleaning the original data, and obtaining the cleaned data may include:
[0075] S1211: Delete HTML tags and URLs in the original data.
[0076] Exemplarily, the Hypertext Markup Language (HyperTextMark-upLanguage, HTML) tags and Uniform Resource Locator (UniformResourceLocation, URL) etc. in the raw data have nothing to do with the sentence itself, nor do they constitute words, so it is necessary to convert the above HTML Tags and URLs are deleted to facilitate the subsequent operation of extracting word vectors.
[0077] S1212: When the content in the corpus is Chinese, convert traditional characters in the original data into simp...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com