Robot chat method based on word vectors and recurrent neural network
A technology of cyclic neural network and word vector, which is applied in the field of robot chat, can solve the problem of low accuracy of robot reply, achieve the effect of improving reply accuracy, good chat experience, and improving accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment approach
[0051] S203. Utilize the continuous bag-of-words model CBOW to carry out word vector training according to the word dictionary of the question-and-answer sentence, and obtain the word vector file QA.conv, and its implementation method is as follows:
[0052] S2031. Randomly generate a word vector matrix embedding according to the word dictionary, and initialize the word vector matrix [-1, 1]. The size of the word vector matrix embedding is (vocabulary_size, embedding_size), where vocabulary_size represents the word dictionary size , embedding_size represents the word vector dimension;
[0053] S2032. Extract the word vectors of the surrounding words of a certain central word according to the word vector matrix embedding, and solve the mean value vector of the word vectors of the surrounding words. The expression of the mean value vector avr of the word vectors of the surrounding words is as follows:
[0054]
[0055] Among them, n represents the number of unilateral words o...
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