Method and system for obtaining answers to food safety questions based on LSTM

A technology for food safety and correct answers to questions, applied in neural learning methods, biological neural network models, instruments, etc., can solve problems such as low answer efficiency and achieve the effect of solving low efficiency

Pending Publication Date: 2020-05-08
CHINA AGRI UNIV
View PDF1 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present invention provides a method and system for obtaining answers to food safety questions based on LSTM

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
  • Method and system for obtaining answers to food safety questions based on LSTM
  • Method and system for obtaining answers to food safety questions based on LSTM
  • Method and system for obtaining answers to food safety questions based on LSTM

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0048] figure 1 A flow chart of a method for obtaining answers to food safety questions based on LSTM provided by the embodiment of the present invention, such as figure 1 shown, including:

[0049] S1, obtaining questions to be answered;

[0050] S2. Input the question to be answered into the pre-trained question-and-answer judgment model...

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 embodiment of the invention provides a method and a system for obtaining answers to food safety questions based on LSTM. The method comprises the steps of obtaining a to-be-answered question; inputting the to-be-answered question into a pre-trained question and answer judgment model, and obtaining a question matching result output by the question and answer judgment model; wherein the questionand answer judgment model is obtained by training an LSTM model by using manually labeled question and answer pairs and corresponding matching labels based on a food safety question and answer sampleset. According to the method of the invention, the food safety questions are trained based on the LSTM model, the problem of low food safety event retrieval accuracy of a search engine is solved, andanswers to the food safety questions can be effectively screened out from a news library.

Description

technical field [0001] The invention relates to the technical field of natural language processing, in particular to a method and system for obtaining answers to food safety questions based on LSTM. Background technique [0002] In recent years, due to the frequent occurrence of various food safety incidents, the food safety problem has become more and more serious, which has aggravated the public's concerns about food safety. Due to information asymmetry, data on food safety information is often difficult to obtain. [0003] At present, the corpus for food safety incidents mainly comes from news reports. However, due to the different lengths of news texts and the uncertainty of the distribution of answers, for a food safety-related question, it is inefficient to manually search for answers in news reports of food safety events. [0004] Most automatic question answering systems construct food safety databases in a structured way, and select the corresponding data that mee...

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/31G06F16/332G06F40/289G06K9/62G06N3/04G06N3/08
CPCG06F16/319G06F16/3329G06N3/08G06N3/044G06N3/045G06F18/24
Inventor 陈瑛赵筱钰陈昂轩董玉博侯文俊
Owner CHINA AGRI UNIV
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