Supercharge Your Innovation With Domain-Expert AI Agents!

Cloze answer method and device, electronic device and storage medium

A cloze, question technology, applied in the field of devices, cloze answering methods, electronic equipment and storage media, can solve problems such as the inability to automatically give answers

Pending Publication Date: 2019-09-10
卓尔智联(武汉)研究院有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of the above, it is necessary to propose a cloze answering method, device, electronic equipment and computer-readable storage medium, to solve the problem of cloze and the combination of cloze answer in the case that there is no fixed collocation in the text. questions that give answers

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
  • Cloze answer method and device, electronic device and storage medium
  • Cloze answer method and device, electronic device and storage medium
  • Cloze answer method and device, electronic device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] figure 1 It is a flow chart of the cloze answering method in one embodiment of the present invention. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted.

[0048] refer to figure 1 As shown, the cloze answering method specifically includes the following steps:

[0049] Step S11, obtaining answer data, wherein the answer data includes question document data, question data and answer data.

[0050] In this implementation manner, the answer data may be obtained from a server database. For example, the answer data may be obtained from an electronic document containing answer information stored in a database of the server. In another embodiment, the answer data is obtained from a paper document containing the answer information through a scanning device. Specifically, the scanning device adopts optical technology to acquire the emitted light signal in the paper document, wherein the reflected light ...

Embodiment 2

[0071] figure 2 It is a structural diagram of the cloze answering device 40 in one embodiment of the present invention.

[0072] In some embodiments, the cloze answering device 40 runs in an electronic device. The cloze answering device 40 may include a plurality of functional modules composed of program code segments. The program codes of each program segment in the cloze answering device 40 can be stored in a memory and executed by at least one processor to perform the function of cloze answering questions.

[0073] In this embodiment, the cloze answering device 40 can be divided into multiple functional modules according to the functions it performs. refer to figure 2 As shown, the cloze answering device 40 may include a data acquisition module 401, a word vector construction module 402, a word vector generation module 403, a question vector generation module 404, a calculation module 405, a judgment module 406 and an answer determination module 407. The module referr...

Embodiment 3

[0096] image 3 It is a schematic diagram of the electronic device 6 in an embodiment of the present invention.

[0097] The electronic device 6 includes a memory 61 , a processor 62 and a computer program 63 stored in the memory 61 and executable on the processor 62 . When the processor 62 executes the computer program 63, it realizes the steps in the embodiment of the above-mentioned cloze answering method, for example figure 1 Steps S11 to S17 are shown. Or, when the processor 62 executes the computer program 63, it realizes the functions of each module / unit in the embodiment of the above-mentioned cloze answering device, for example figure 2 Modules 401-407 in.

[0098] Exemplarily, the computer program 63 can be divided into one or more modules / units, and the one or more modules / units are stored in the memory 61 and executed by the processor 62 to complete this invention. The one or more modules / units may be a series of computer program instruction segments capable ...

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 relates to a cloze answer method and device, an electronic device and a storage medium. The method comprises the following steps: constructing word vectors of words in question documentdata; performing bidirectional long and short memory network coding on word vectors of words in the question document data to generate word vectors of the words; constructing word vectors of words inthe question data, and encoding the word vectors of the words in the question data to generate question vectors; carrying out dot product on the word vector of each word in the question document dataand the question vector in the question data, carrying out normalization to obtain a probability value of each word in the question document data, and merging probabilities of the same words in the question document data to obtain probabilities of all words in the question document data; and determining a final answer according to a judgment result and the answer data.

Description

technical field [0001] The invention relates to the field of computer processing, in particular to a cloze answering method, device, electronic equipment and storage medium. Background technique [0002] Cloze question is the most popular question type in middle school English test questions in various parts of our country, and it is also a difficult question type with low scoring rate. Generally speaking, cloze reading comprehension is a representative problem of mining the relationship between documents and queries, and the setting of distracting items in cloze questions is mainly related to the meaning of the text. The existing automatic cloze system is a simple system based on the n-gram model. It is mainly judged based on the frequency of phrases in the document. It can only answer word combinations that have appeared in the document, but lacks reasoning ability. If there are fixed collocations that appear, no answer can be given. Contents of the invention [0003] ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/27G06F17/22
CPCG06F40/126G06F40/205G06F40/284
Inventor 吴良顺
Owner 卓尔智联(武汉)研究院有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More