Text semantic coding method and device

A semantic encoding and text technology, applied in the field of text semantic encoding methods and devices, can solve the problem of inability to accurately encode text data

Pending Publication Date: 2019-07-16
ALIBABA GRP HLDG LTD
View PDF4 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present application provides a text semantic encoding method and device, aiming to solve the technical problem existing in the prior art that text data of variable length cannot be accurately encoded

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Text semantic coding method and device
  • Text semantic coding method and device
  • Text semantic coding method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The embodiment of the present application provides a text semantic coding method and device, which can realize text semantic coding of variable-length text data.

[0021] Terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms of "a", "said" and "the" used in the embodiments of this application and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.

[0022] Among them, the technical term "text encoding" generally refers to the vectorized expression of variable-length natural language text. In the embodiment of the present application, a piece of natural language text with an indeterminate length can be identif...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention provides a text semantic coding method and device. The method comprises: generating a word vector matrix according to text data; inputting the word vector matrix into abidirectional recurrent neural network for preprocessing operation to obtain an output vector used for representing a word context semantic relation; carrying out convolution operation on the outputvector to obtain a convolution processing result, wherein the convolution processing result is related to the theme; and performing pooling operation on the convolution processing result to obtain a vector with a fixed length as a semantic code of the text data, the semantic code being used for representing a theme of the text data. According to the embodiment of the invention, the semantic relationship of the text and the association between the text and the theme can be mined, and fixed semantic coding of the text data with the uncertain length is realized.

Description

technical field [0001] The embodiments of the present application relate to the field of computer technology, and in particular to a text semantic encoding method and device. Background technique [0002] In many application scenarios, it is necessary to provide user question answering services. For example, Internet applications will provide consulting services about their functional characteristics in order to help users better understand their product functions. In these question-and-answer services, natural language texts are mainly used for communication between users and customer service. As the number of users of an application or service increases, so does the pressure on customer service. Therefore, many service providers choose to use technologies such as text mining or information retrieval to provide users with automatic question answering services to replace high human resource investment with poor scalability. [0003] In order to mine and process natural la...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/35G06F17/27G06N3/04G06N3/08
CPCG06N3/084G06F40/30G06F16/355G06N3/044G06N3/045G06N5/022G06F16/31G06N3/042G06N3/049
Inventor 王成龙
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products