首页>
外国专利>
SEMANTIC REPRESENTATION MODEL-BASED TEXT CLASSIFICATION METHOD AND APPARATUS, AND COMPUTER DEVICE
SEMANTIC REPRESENTATION MODEL-BASED TEXT CLASSIFICATION METHOD AND APPARATUS, AND COMPUTER DEVICE
展开▼
机译:基于语义表示模型的文本分类方法和装置,以及计算机设备
展开▼
页面导航
摘要
著录项
相似文献
摘要
A semantic representation model-based text classification method and apparatus, a computer device and a storage medium. The method comprises: acquiring inputted original text, and preprocessing the original text so as to obtain a word sequence; calculating to obtain a vector wi; generating a text embedding vector sequence {w1, w2,..., wn}; inputting the word sequence into a preset knowledge embedding model to acquire an entity embedding vector sequence {e1, e2,..., en}; inputting the text embedding vector sequence into a M-layer word granularity encoder for calculation to obtain an intermediate text embedding vector sequence; inputting the intermediate text embedding vector sequence and the entity embedding vector sequence into a N-layer knowledge granularity encoder for calculation to obtain a final text embedding vector sequence and a final entity embedding vector sequence; and inputting the final text embedding vector sequence and the final entity embedding vector sequence into a classification model to obtain a text classification result. Thus, the accuracy of text classification is improved.
展开▼