Sentence alignment method based on depth neural network
A deep neural network and neural network technology, applied in the field of sentence alignment based on neural network, can solve the problems of easy loss of word matching information, loss of sentence context information, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0070] The sentence alignment method of deep neural network (Bi-RNN+GRN+CNN) such as image 3 Shown, be the structural diagram of the sentence alignment method based on deep neural network of the present invention, the sentence alignment method based on deep neural network comprises the following steps, simultaneously Figure 9 The specific flow chart is given:
[0071] 1) Corpus preprocessing: Generate vocabulary and word embedding vocabulary according to the training corpus;
[0072] 2) Word embedding layer, for each word in the sentence, find its corresponding word embedding from the word embedding table, that is, use the bilingual word embedding provided by the reference paper [Note 1] to represent the word as a vector, so that similar words have a similar representation;
[0073] 3) A bidirectional recurrent neural network layer is used to encode sentences, not only considering the semantic information of the word itself, but also considering the context information of ...
Embodiment 2
[0080] The bidirectional recurrent neural network model (Bi-RNN) such as Figure 6 Shown, be another embodiment of the present invention, the sentence alignment method based on deep neural network The present invention comprises the steps:
[0081] 1) Corpus preprocessing: Generate vocabulary and word embedding vocabulary according to the training corpus;
[0082] 2) Generate a word embedding layer, and find its corresponding word embedding from the word embedding table for each word in the sentence;
[0083] 3) A bidirectional recurrent neural network layer is used to encode sentences, not only considering the semantic information of the word itself, but also considering the context information of the word, so that each word obtains a hidden state containing its context information; The hidden state of the word is averaged to obtain the sentence vector, and then the two sentence vectors are concatenated to obtain v r ;
[0084] 4) Multi-layer perceptron layer, input the re...
Embodiment 3
[0088] Bi-directional cyclic neural network + convolutional neural network model (Bi-RNN+CNN) such as Figure 7 Shown, be another embodiment of the present invention, the sentence alignment method based on deep neural network comprises the steps:
[0089] 1) Corpus preprocessing: Generate vocabulary and word embedding vocabulary according to the training corpus;
[0090] 2) Generate a word embedding layer, and find its corresponding word embedding from the word embedding table for each word in the sentence;
[0091] 3) A bidirectional recurrent neural network layer is used to encode sentences, not only considering the semantic information between words itself, but also considering the context information of the word, so that each word obtains a hidden state containing its context information; each sentence Find the average of the hidden states of the words in the word to obtain the sentence vector, and then splicing the two sentence vectors together to obtain v r ;
[0092]...
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