Coding method, device and equipment, and storage medium
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- TENCENT TECH (SHENZHEN) CO LTD
- Publication Date
- 2019-08-20
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The present invention relates to the field of natural language processing, and in particular, to an encoding method, apparatus, device and storage medium. Background technique
[0002] Encoding is the process of converting text into encoded values, resulting in a vector that accurately describes the meaning of the text. By encoding, the text can be converted into a vector form that is convenient for operation and processing, and it has been widely used in many fields such as sentence selection and sentence generation.
[0003] At present, a hierarchical encoding scheme is proposed. When a target paragraph including multiple sentences is to be encoded, the word vector of each word in each sentence in the target paragraph is obtained. For each sentence in the target paragraph, the first encoding model based on the word level is applied, and the word vector of each word in the sentence is encoded into a vector to obtain the sentence vector of the sentenc...