Unstructured text-oriented intelligent question and answer method and system
An intelligent question answering and unstructured technology, applied in neural learning methods, neural architecture, special data processing applications, etc., can solve problems such as too coarse answer granularity, inability to effectively use big data, not particularly accurate, etc., and achieve the effect of accurate answers
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0049] Embodiments of the present invention provide a method for unstructured text intelligent question answering, such as figure 1 shown, including:
[0050] S1, the encoding layer encodes the acquired text and question separately to obtain the text hidden vector and the question hidden vector;
[0051]S2, the information fusion layer fuses the text hidden vector and the question hidden vector, and obtains a fused association vector group;
[0052] S3. The decoding layer decodes the text according to the association vector group, obtains the answer to the question, and outputs the answer.
[0053] Preferably, the specific method of S1 is:
[0054] S11, acquiring the input text and question;
[0055] S12: Segment the text and the question to obtain a text phrase and a question phrase;
[0056] S13: Mapping each word in the text phrase and the question phrase to a corresponding word vector to obtain a text word vector and a question word vector;
[0057] S14: Encoding the ...
Embodiment 1
[0083] Example 1: Story Understanding
[0084] The text reads: On the trees in spring, tender buds grow; on the trees in summer, they are covered with fat leaves; on the trees in autumn, the leaves are painted with bright red and golden; under the trees in winter, the leaves fall and turn into soil. Fallen leaves are the stamps of nature. Send them to you, to me, and to everyone throughout the year.
[0085] The question is: what grows on the tree in spring?
[0086] After the present embodiment analyzes the text and the question, the start position and the end position of the answer are calculated, and the text content between the start position and the end position is extracted as the answer to the question. The answer is: grow a tender bud petal
Embodiment 2
[0087] Example 2: Understanding legal provisions
[0088] The text is: Chapter Four Museum Social Services
[0089] Article 28 The museum shall be open to the public within 6 months from the date of obtaining the registration certificate.
[0090] Article 29 Museums shall announce the specific opening hours to the public. During national statutory holidays and school winter and summer vacations, museums should be open.
[0091] Article 30 Museums holding exhibitions shall abide by the following regulations:
[0092] The theme and content should conform to the basic principles established by the Constitution, safeguard national security and national unity, and promote patriotism...
[0093] The question is: How long should the museum be open to the public?
[0094] This embodiment analyzes the text and the question, calculates the start position and end position of the answer, and extracts the text content between the start position and the end position as the answer to the...
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