Semantic question-answering method and device, electronic equipment and storage medium

A technology of semantics and questions, applied in the field of pattern recognition and machine learning, can solve problems such as underfitting of small data sample sets, poor text semantic recognition ability, text semantic representation differences, etc., and achieve the effect of improving accuracy

Active Publication Date: 2021-03-16
浙江诺诺网络科技有限公司
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the transfer learning process of the above question-answering algorithm, there are problems such as obvious differences in text ...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Semantic question-answering method and device, electronic equipment and storage medium
  • Semantic question-answering method and device, electronic equipment and storage medium
  • Semantic question-answering method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0056] see below figure 1 , figure 1 It is a flow chart of a semantic question answering method provided by the embodiment of this application.

[0057] Specific steps can include:

[0058] S101: Create an inverted index database corresponding to the preset question data in the question database;

[0059] Wherein, before this step, there may also ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a semantic question-answering method. The semantic question-answering method comprises the steps of creating an inverted sorting index library corresponding to preset questiondata in a question library; generating question pair sample data by utilizing the inverted sorting index library, and converting the question pair sample data into a character coding sequence; determining a loss function of a neural network model according to the character coding sequence and a part-of-speech coding sequence; determining a preset question vector corresponding to the preset question data by using the neural network model; determining a set of candidate question data similar to user question data in the question library according to the inverted sorting index library; calculating text vector similarity between the user question data and the candidate question data; and setting the candidate question data with the highest vector similarity as target question data, and outputting preset answer data corresponding to the target question data. According to the invention, the semantic question-answering accuracy can be improved. The invention further discloses a semantic question-answering device, electronic equipment and a storage medium, and the device has the above beneficial effects.

Description

technical field [0001] The present application relates to the technical field of pattern recognition and machine learning, in particular to a method and device for semantic question answering, an electronic device and a storage medium. Background technique [0002] With the vigorous development of artificial intelligence technology, neural network models have achieved great success in question answering tasks. The continuous innovation of question answering technology has prompted this technology to receive extensive attention in the fields of information retrieval, text matching, and search-based dialogue. [0003] Question answering algorithms can generally be divided into generative-based methods and retrieval-based methods. Generative-based methods aim to learn the connections between question-answer pairs from large-scale corpora, and use the above information to predict the following content. Retrieval-based methods aim to learn the correlation between texts and retr...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F16/33G06F16/332G06F16/31G06F16/35G06F40/216G06F40/289
CPCG06F16/3329G06F16/319G06F16/3335G06F16/3344G06F16/35G06F40/216G06F40/289
Inventor 李利娟王梦婷
Owner 浙江诺诺网络科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products