Entity question answering method and device based on neural network and terminal
A neural network and entity technology, applied in the computer field, can solve problems such as optimization, limited overall effect, heavy system calculation, etc., and achieve the effects of reducing explicit calculation and cumulative errors, improving timeliness, and improving positioning accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] In a specific embodiment, a neural network-based entity question answering method is provided, such as figure 1 with figure 2 shown, including:
[0051]Step S100: convert the words contained in the question and candidate documents into word vectors, and generate corresponding question word vector sequences and candidate document word vector sequences.
[0052] In the presentation layer, the words in question q and document p are respectively vectorized. Specifically, initially, each word in the question and document is initialized as a random floating-point vector of fixed dimension, and the question word vectors are arranged to form a question word vector sequence q emb , the candidate document word vectors are arranged to form a candidate document word vector sequence p emb , these can be used as initial representations of words for questions and documents. The representations of questions and documents are then continuously refined during system training. In on...
Embodiment 2
[0073] In another specific embodiment, a neural network-based entity question answering device is provided, such as image 3 shown, including:
[0074] The vector conversion module 10 is used to convert the words contained in the question and the candidate document into word vectors respectively, and generate corresponding question word vector sequences and candidate document word vector sequences;
[0075] Sequence encoding module 20, for inputting the question word vector sequence and the candidate document word vector sequence respectively into the long short-term memory network model, outputting the word encoding sequence of the question and the word encoding sequence of the candidate document;
[0076] Question and document matching module 30, for matching the word coding sequence of the question and the word coding sequence of the candidate document, generate a candidate document representation based on matching information, and the candidate document representation incl...
Embodiment 3
[0090] The embodiment of the present invention provides a neural network-based entity question answering terminal, such as Image 6 shown, including:
[0091] A memory 400 and a processor 500 , the memory 400 stores computer programs that can run on the processor 500 . When the processor 500 executes the computer program, the neural network-based entity question answering method in the foregoing embodiments is implemented. The number of memory 400 and processor 500 may be one or more.
[0092]The communication interface 600 is used for the memory 400 and the processor 500 to communicate with the outside.
[0093] The memory 400 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory.
[0094] If the memory 400, the processor 500, and the communication interface 600 are implemented independently, the memory 400, the processor 500, and the communication interface 600 may be connected to e...
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