Knowledge base construction method and device oriented to program design field question-answering system

A question answering system and construction method technology, applied in computing, special data processing applications, instruments, etc., can solve problems such as inaccurate answers to questions, and achieve the effects of optimizing teaching effects, overcoming time differences, and improving speed and accuracy.

Pending Publication Date: 2018-10-30
NANJING UNIV OF POSTS & TELECOMM
View PDF3 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the above-mentioned intelligent question answering system has the disadvantage that: due to the large differences in the grammar of different computer programming languages, the answers to the questions obtained by the system are not accurate enough in a few cases.

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
  • Knowledge base construction method and device oriented to program design field question-answering system
  • Knowledge base construction method and device oriented to program design field question-answering system
  • Knowledge base construction method and device oriented to program design field question-answering system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] see figure 1 A method for constructing a knowledge base for question answering systems in the field of programming, comprising the following steps,

[0041] S101. Based on the content of communication between teachers and students in the online evaluation system and the knowledge of questions and answers, a knowledge base of intelligent questions and answers is preliminarily established for use in subsequent steps to search for answers to questions;

[0042] S102. Obtain user questions, perform word segmentation operations on user question sentences, and perform synonyms replacement;

[0043] S103. Perform similarity analysis and calculation on the question sentences, sort the results according to the similarity, return the answer with the highest similarity according to the similarity matching sorting, and return this answer to the students first;

[0044] S104. When the student is not satisfied with the currently returned answer, another suboptimal answer in the same...

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 knowledge base construction method and device oriented to a program design field question-answering system. The method comprises the following steps that: according to the knowledge contents of an online evaluation system, preliminarily establishing an intelligent question-answering knowledge base; obtaining a user question, carrying out sentence word segmentation on thequestion, carrying out synonym replacement, and carrying out similarity calculation with contents in the knowledge base; if a user is satisfied with a current returning answer, according to question answering, synchronously updating an intelligent question-answering knowledge base, and applying a code similarity algorithm to detect data in a cache in real time; and otherwise, returning a suboptimum answer to the user until the user is satisfied. By use of the system, the problems in a traditional online after class question answering system that a time difference is in the presence, search accuracy is low, efficiency needs to be improved and the like, the information acquisition speed and accuracy of the user can be effectively improved, and meanwhile, the teaching effect of the online evaluation system is optimized.

Description

technical field [0001] The invention belongs to the technical field of computer data processing, and in particular relates to a knowledge base construction method and device for question answering systems in the programming field. Background technique [0002] The intelligent question answering system is an intelligent system based on the massive data provided by the rapidly developing Internet, through problem analysis and data processing, to answer the real problems to be solved. This system can greatly improve the speed and accuracy of users' access to information. [0003] As far as the applicant knows, the existing intelligent question answering system is mainly based on the online question answering knowledge base and the huge database in the Internet. By mining historical user question answer information and massive network data, it calculates the alignment between user question sentences and existing question answer sentences. The similarity between them returns the...

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/30G06F17/27
CPCG06F40/205G06F40/289
Inventor 薛景史立丽黄寄陈仁祥武鹏超
Owner NANJING UNIV OF POSTS & TELECOMM
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