首页> 外国专利> TEXT SENTIMENT ANALYSIS MODEL TRAINING METHOD, APPARATUS AND DEVICE, AND READABLE STORAGE MEDIUM

TEXT SENTIMENT ANALYSIS MODEL TRAINING METHOD, APPARATUS AND DEVICE, AND READABLE STORAGE MEDIUM

机译:文本情绪分析模型训练方法,装置和装置,可读存储介质

摘要

A text sentiment analysis model training method, apparatus and device, and a readable storage medium, relating to the technical field of artificial intelligence. The method comprises: obtaining a text sample to be trained (S10); performing word segmentation processing on the text sample by means of a preset word segmentation method, and dividing the text sample into a plurality of different words (S20); performing encoding processing on the plurality of different words on the basis of a preset encoding method to obtain word vectors (S30); inputting the word vectors into a preset deep neural network, and performing dimension reduction processing on the word vectors on the basis of an embedded layer (S40); calculating word vectors after dimension reduction on the basis of a hidden layer in the deep neural network to obtain corresponding features (S50); classifying the features corresponding to the text sample by means of a multi-classification SVM support vector machine, and determining a sentiment category (S60); and determining a difference value between the sentiment category and a correct sentiment category on the basis of a loss function, and when the difference value satisfies a preset condition, determining that training of a text sentiment analysis model is completed (S70). The method improves the accuracy of text sentiment analysis.
机译:文本情绪分析模型训练方法,装置和装置和可读存储介质,与人工智能技术领域有关。该方法包括:获得待培训的文本样本(S10);通过预设的单词分割方法对文本样本进行文本样本进行字分割处理,并将文本样本划分为多个不同的单词(S20);基于预设编码方法在多个不同词上执行编码处理以获得字矢量(S30);将单词向量输入预设的深神经网络,并在嵌入层基于嵌入层执行单词矢量上的尺寸减小处理;基于深神经网络中的隐藏层计算尺寸减小之后的字矢量,以获得相应的特征(S50);通过多分类SVM支持向量机进行分类对应于文本样本的特征,并确定情绪类别(S60);基于损耗函数确定情绪类别与正确情感类别之间的差值,并且当差值满足预设条件时,确定完成了文本情绪分析模型的训练(S70)。该方法提高了文本情绪分析的准确性。

著录项

  • 公开/公告号WO2021051598A1

    专利类型

  • 公开/公告日2021-03-25

    原文格式PDF

  • 申请/专利权人 PING AN TECHNOLOGY (SHENZHEN) CO. LTD.;

    申请/专利号WO2019CN118268

  • 发明设计人 JIN GE;XU LIANG;

    申请日2019-11-14

  • 分类号G06F40/216;G06F40/289;G06K9/62;G06N3/04;G06N3/08;

  • 国家 CN

  • 入库时间 2022-08-24 17:57:12

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号