CN112863278B - Problem solving method after problem condition replacement - Google Patents

Problem solving method after problem condition replacement Download PDF

Info

Publication number
CN112863278B
CN112863278B CN202110176546.2A CN202110176546A CN112863278B CN 112863278 B CN112863278 B CN 112863278B CN 202110176546 A CN202110176546 A CN 202110176546A CN 112863278 B CN112863278 B CN 112863278B
Authority
CN
China
Prior art keywords
basic
expansion
questions
condition
theme
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110176546.2A
Other languages
Chinese (zh)
Other versions
CN112863278A (en
Inventor
陆晓
陈文斌
罗植升
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Liuzhou Zhishi Technology Co ltd
Original Assignee
Liuzhou Zhishi Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Liuzhou Zhishi Technology Co ltd filed Critical Liuzhou Zhishi Technology Co ltd
Priority to CN202110176546.2A priority Critical patent/CN112863278B/en
Publication of CN112863278A publication Critical patent/CN112863278A/en
Application granted granted Critical
Publication of CN112863278B publication Critical patent/CN112863278B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B7/00Electrically-operated teaching apparatus or devices working with questions and answers
    • G09B7/02Electrically-operated teaching apparatus or devices working with questions and answers of the type wherein the student is expected to construct an answer to the question which is presented or wherein the machine gives an answer to the question presented by a student

Abstract

A problem solving method after topic condition replacement comprises the following steps: recombining basic topics and expansion topics to generate combined topics; extracting logic related numbers of basic titles and expansion titles; obtaining problems and solving problems of basic problems and expansion problems; converting the problems of the basic questions and the expansion questions into the description of the problem solving step; respectively replacing numbers corresponding to the basic problem solving step by using the results of the expansion problems, and recalculating the equation result after replacement; and combining the solution descriptions of the expansion questions and the basic questions to generate a solution of the combined questions, thereby realizing the solution method of the combined questions. The invention adopts the solving steps of basic questions and extended questions of the computer system and the solving step of automatically combining and generating new combined questions, thereby completing the solving of the combined questions.

Description

Problem solving method after problem condition replacement
Technical Field
The invention relates to the technical field of computers, in particular to a problem solving method after problem condition replacement.
Background
In a computer semantic system, condition replacement is usually performed on input basic questions to enrich the question types and expand the thinking of a solver, however, although the question generation function of the semantic system can take relevant application of current question conditions from a trained question bank and complete recombination of various conditions in the basic questions to generate new questions, the recombined new questions still cannot be solved by the system, so a set of technical scheme is needed to complete learning and self-solving of the recombined questions, and the system can solve the recombined questions when a user inquires similar questions later.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the problem solving method after the problem condition replacement is provided, after the basic problem and the extended problem are combined into the combined problem, the problem solving step is added for the combined problem according to the problem solving steps of the basic problem and the extended problem, so that the problem solving method of the combined problem is obtained, and the defects in the prior art are overcome.
The technical scheme adopted by the invention is as follows: a problem solving method after topic condition replacement comprises the following steps:
(1) acquiring a basic theme and an expansion theme, replacing a basic condition in the basic theme with an expansion condition in the expansion theme, recombining the basic condition and the expansion condition to generate a combined theme, wherein the expansion theme is related application of a problem related to the basic condition;
(2) extracting logic related numbers of basic titles and expansion titles;
(3) judging whether the basic theme and the expansion theme are repeated and logic related numbers between the basic theme and the expansion theme are repeated, and if so, performing number replacement;
(4) obtaining the problems and the solution of the basic problems;
(5) converting the problem of the basic topic into the description of the topic solving step, and then sequentially adding the step description and the topic solving step into a basic topic solving description container;
(6) obtaining problems and solving problems of expansion problems;
(7) converting the problem of the expansion problem into the description of the problem solving step, and then sequentially adding the step description and the problem solving step into an expansion problem solution description container;
(8) recording logic numbers of basic subjects with relevant application conditions;
(9) respectively replacing numbers corresponding to the basic problem solving step by using the results of the expansion problems, and recalculating the equation result after replacement;
(10) combining the content of the extended topic solution description container and the content of the basic topic solution description container to form a solution of a combined topic;
(11) and converting the questions of the combined questions into answer descriptions of the combined questions, and supplementing and completing the solutions of the combined questions.
The further technical scheme is as follows: the step (1) comprises the following specific steps:
firstly, acquiring a basic question, and carrying out short sentence segmentation on the basic question to obtain independent basic conditions and basic problems;
secondly, sequentially taking out basic conditions and converting the basic conditions into related problems;
searching related applications of related problems in sequence;
fourthly, searching problem solving logics of the relevant applications in sequence, and reserving the relevant applications with the problem solving logics;
sequentially segmenting the related applied questions, extracting and reserving a condition group, and adding a condition replacement list;
replacing the extracted condition group in the fifth step with the corresponding basic condition in the first step;
judging whether the replaced condition is the conflict of the key objects between the groups, and if so, modifying the replaced condition;
and generating combined subjects.
Due to the adoption of the technical scheme, the problem solving method after the replacement of the problem conditions has the following beneficial effects:
1. the invention adopts the solving steps of basic questions and extended questions of the computer system and the solving step of automatically combining and generating new combined questions, thereby completing the solving of the combined questions, being more independent and efficient compared with manual solving, having no time limit, being capable of being continuously carried out, and having no problem caused by factors such as manual calculation errors and the like;
2. before the problem solving step is formed, the digital imitation and replacement are carried out on the relevant numbers of the repeated logics in the basic problem and the expansion problem, so that the numbers after imitation are not repeated, the foundation is laid for the problem solving logic of the subsequent generation of the combined problem, the generated problem solving logic is not disordered, and the popularization capability of the system is better realized.
The technical features of the problem solving method after the replacement of one problem condition in the present invention will be further described with reference to the accompanying drawings and examples.
Drawings
FIG. 1: a method flow diagram of an embodiment of the invention.
Detailed Description
Examples
Suppose the system has been trained as follows, and has the following problem solving steps:
1. the length of object a is 2 meters, the width is 3 meters, the height is 4 meters, what the volume of object a is. Solving: 2 x 3 x 4=24, answer: the volume of object a is 24 cubic meters.
2. The volume of object A is 12 cubic meters, the density is 2 kg/cubic meter, what the mass of object A is. Solution: 12 × 2=24, answer: the mass of object a is 24 kg.
3. The length of the object A is 3 meters, the width 4 meters, the height 5 meters, the density 6 kg/cubic meter, what the mass of the object A is. Solution: 3 × 4 × 5 × 6=360, answer: the mass of object a is 360 kg.
4. The mass of object a is 100kg, the mass of object B is 2 times that of object a, and what the mass of object B is. Solution: 100 × 2=200, answer: the mass of the object B is 200 kg.
5. The mass of object a is 40kg, the mass of object B is half of object a, and what the mass of object B is. Solution: 40/2=20, answer: the mass of the object B is 20 kg.
6. The mass of object a is 50kg, the mass of object B is 100kg, and the mass of object B is several times that of object a. Solution: 100/50=2, answer: the mass of object B is 2 times that of object a.
7. The mass of object a is 100kg, the mass of object B is 200kg, and the sum of the masses of object a and object B is what. Solution: 100+200=300, answer: the sum of the masses of object a and object B is 300 kg.
A problem solving method after topic condition replacement is shown in FIG. 1, which comprises the following steps:
(1) acquiring a basic theme and an expansion theme, replacing a basic condition in the basic theme with an expansion condition in the expansion theme, recombining the basic condition and the expansion condition to generate a combined theme, wherein the expansion theme is related application of a problem related to the basic condition;
firstly, acquiring a basic question, and carrying out short sentence segmentation on the basic question to obtain independent basic conditions and basic problems;
secondly, sequentially taking out basic conditions and converting the basic conditions into related problems;
searching related applications of related problems in sequence;
fourthly, searching problem solving logics of the relevant applications in sequence, and reserving the relevant applications with the problem solving logics;
sequentially segmenting the related applied questions, extracting and reserving a condition group, and adding a condition replacement list;
replacing the extracted condition group in the fifth step with the corresponding basic condition in the first step;
judging whether the replaced condition is the conflict of the key objects between the groups, and if so, modifying the replaced condition;
generating a combined subject;
the obtained title is as follows:
basic subject:
the mass of object a is 100kg, the mass of object B is 200kg, and the sum of the masses of object a and object B is what.
Expanding the theme:
the volume of object A is 12 cubic meters, the density is 2 kg/cubic meter, what the mass of object A is.
The mass of object a is 100kg, the mass of object B is 2 times that of object a, and what the mass of object B is.
Combination of subjects:
the volume of object a is 12 cubic meters, the density is 2 kg/cubic meter, the mass of object C is 100kg, the mass of object B is 2 times that of object C, and the sum of the masses of object a and object B is what.
(2) Extracting relevant numbers of solving the problem logic of the basic problem and the expansion problem;
basic subject: 100, 200
Expanding the theme: 12,2, 100,2
(3) Judging whether the basic theme and the expansion theme are repeated or not and the logic relevant numbers between the basic theme and the expansion theme are repeated, and if so, performing digital replacement until all the numbers are not repeated;
judging that the number of the basic subject is not repeated, the numbers of the basic subject and the expansion subject are not repeated, the expansion subject has two subjects, wherein the number 2 is repeated, so that the second number 2 is modified into the number other than 2, the second number 2 is modified into 3, and the replaced numbers are as follows:
basic subject: 100, 200
Expanding the theme: 12,2, 100,3
The replaced topics are as follows:
basic subject:
the mass of object a is 100kg, the mass of object B is 200kg, and the sum of the masses of object a and object B is what.
Expanding the theme:
expansion title 1: the volume of object A is 12 cubic meters, the density is 2 kg/cubic meter, what the mass of object A is.
Expansion topic 2: the mass of object a is 100kg, the mass of object B is 3 times that of object a, and what the mass of object B is.
Combination of subjects:
the volume of object a is 12 cubic meters, the density is 2 kg/cubic meter, the mass of object C is 100kg, the mass of object B is 3 times that of object C, and the sum of the masses of object a and object B is what.
(4) Obtaining the problems and the solution of the basic problems;
the problems are that: what is the sum of the masses of object a and object B.
Solving the problem: 100+200=300
(5) Converting the problem of the basic question into the description of the problem solving step, and then sequentially adding the description of the problem solving step and the problem solving step into a basic question solution description container, wherein the container is a data structure, namely a small memory for storing data;
obtaining a basic topic solution describing container content:
the sum of the masses of object a and object B is:
100+200=300
(6) obtaining problems and solving problems of expansion problems;
the problems are as follows: what is the mass of object a.
Solving the problem: 12 x 2=24
The problems are as follows: what is the mass of the object B.
Solving the problem: 100 x 3=300
(7) Converting the problem of the expansion problem into the description of the problem solving step, and then sequentially adding the description of the problem solving step and the problem solving step into an expansion problem solution description container;
obtaining the contents of the extended topic description container:
the mass of object a is:
12*2=24
the mass of object B is:
100*3=300
(8) recording logic numbers of basic subjects with relevant application conditions;
the base topic contains 2 conditions: "the mass of object a is 100 kg" and "the mass of object B is 200 kg", the 2 conditions each have a relevant application, and secondly, the solving logic of the basic topic is: the number 0+ number 1= result 0, so the logical number of the underlying topic is: the number 0, the number 1;
(9) replacing numbers corresponding to the basic problem solving step with the results of the expansion problems respectively, and recalculating the result of the equation after replacement;
solving problems of basic questions: 100+200=300
Expand the results for topic 1: 24
Results of extended topic 2: 300
And sequentially replacing the results of the expansion questions to the corresponding positions of the basic question solving steps to obtain: 24+300=300
The result of the recalculation formula is: 24+300=324
(10) Combining the content of the extended topic solution description container and the content of the basic topic solution description container to form a solution of a combined topic;
describing the content of the container by expanding the topic solution:
the mass of object a is:
12*2=24
the mass of object B is:
100*3=300
the basic topic solution describes the container contents:
the sum of the masses of object a and object B is:
24+300=324
combining the contents of the containers in sequence to obtain a solution of the combined topic:
the mass of object a is:
12*2=24
the mass of object B is:
100*3=300
the sum of the masses of object a and object B is:
24+300=324
(11) extracting the problems of the combined questions to generate answer descriptions of the combined questions, namely converting the problems of the combined questions into the answer descriptions of the combined questions and completely supplementing the solutions of the combined questions;
the answer to the combination question is described as:
the sum of the masses of object a and object B is;
supplementary beginning: solving: according to the subject, the following results can be obtained:
and (4) supplementing and ending: answering: the sum of the masses of object a and object B is 324;
the complete combined topic solution process is as follows:
solution: according to the subject, the following results can be obtained:
the mass of object a is:
12*2=24
the mass of object B is:
100*3=300
the sum of the masses of object a and object B is:
24+300=324
answering: the sum of the masses of object a and object B is 324;
and solving the combined question by adopting the solving steps to obtain the answer of the combined question and finish solving the question.
The above embodiments are only preferred embodiments of the present invention, and the method of the present invention is not limited to the forms illustrated in the above embodiments, and any modifications, equivalent substitutions and the like within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (1)

1. A problem solving method after problem condition replacement is characterized in that: the method comprises the following steps:
(1) obtaining a basic theme and an expansion theme, replacing a basic condition in the basic theme with an expansion condition in the expansion theme, recombining the basic condition and the expansion condition to generate a combined theme, wherein the expansion theme is a related application of a problem related to the basic condition;
firstly, acquiring a basic question, and carrying out short sentence segmentation on the basic question to obtain independent basic conditions and basic problems;
secondly, sequentially taking out basic conditions and converting the basic conditions into related problems;
searching related applications of related problems in sequence;
fourthly, searching problem solving logics of the relevant applications in sequence, and reserving the relevant applications with the problem solving logics;
sequentially segmenting the related applied questions, extracting and reserving a condition group, and adding a condition replacement list;
replacing the extracted condition group in the fifth step with the corresponding basic condition in the first step;
judging whether the replaced condition and the key objects between the groups conflict or not, and if so, modifying the replaced condition;
generating a combined subject;
(2) extracting logic related numbers of basic titles and expansion titles;
(3) judging whether the basic theme and the expansion theme are repeated and logic related numbers between the basic theme and the expansion theme are repeated, and if so, performing number replacement;
(4) obtaining the problems and the solution of the basic problems;
(5) converting the problem of the basic question into the description of the problem solving step, and then sequentially adding the step description and the problem solving step into a basic question description solving container;
(6) obtaining problems and solving problems of expansion problems;
(7) converting the problem of the expansion problem into the description of the problem solving step, and then sequentially adding the step description and the problem solving step into an expansion problem solution description container;
(8) recording logic numbers of basic subjects with relevant application conditions;
(9) respectively replacing numbers corresponding to the basic problem solving step by using the results of the expansion problems, and recalculating the equation result after replacement;
(10) combining the contents of the extended title solution description container and the contents of the basic title solution description container to form a solution of a combined title;
(11) and converting the questions of the combined questions into answer descriptions of the combined questions, and supplementing and completing the solutions of the combined questions.
CN202110176546.2A 2021-02-09 2021-02-09 Problem solving method after problem condition replacement Active CN112863278B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110176546.2A CN112863278B (en) 2021-02-09 2021-02-09 Problem solving method after problem condition replacement

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110176546.2A CN112863278B (en) 2021-02-09 2021-02-09 Problem solving method after problem condition replacement

Publications (2)

Publication Number Publication Date
CN112863278A CN112863278A (en) 2021-05-28
CN112863278B true CN112863278B (en) 2022-07-01

Family

ID=75989433

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110176546.2A Active CN112863278B (en) 2021-02-09 2021-02-09 Problem solving method after problem condition replacement

Country Status (1)

Country Link
CN (1) CN112863278B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113268970A (en) * 2021-06-07 2021-08-17 武汉华工智云科技有限公司 Method and device for generating on-line examination paper

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101339705A (en) * 2008-08-13 2009-01-07 安徽科大讯飞信息科技股份有限公司 Intelligent pronunciation training learning system construction method
CN101458677A (en) * 2007-12-12 2009-06-17 毛思原 Digit feedback teaching evaluating system and method thereof
CN101464898A (en) * 2009-01-12 2009-06-24 腾讯科技(深圳)有限公司 Method for extracting feature word of text
CN101950496A (en) * 2010-01-04 2011-01-19 代利忠 Random question setting and answer generating method for calculation type questions
CN105678664A (en) * 2016-02-03 2016-06-15 成都爱易佰网络科技有限公司 Method for implementing intelligent change anti-cheating movable question bank

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120078062A1 (en) * 2010-09-24 2012-03-29 International Business Machines Corporation Decision-support application and system for medical differential-diagnosis and treatment using a question-answering system
JP2012220666A (en) * 2011-04-07 2012-11-12 Nippon Telegr & Teleph Corp <Ntt> Reading comprehension question answering device, method, and program
CN107203514A (en) * 2017-07-18 2017-09-26 湖南光海教育科技有限公司 Intelligent tutoring exercise generation method, device and computer-readable recording medium
CN107909520B (en) * 2017-11-02 2021-06-11 浙江工商大学 Paper output method and device based on test question correlation
CN110414683B (en) * 2019-07-02 2023-04-18 科大讯飞股份有限公司 Method and device for solving mathematic questions
CN112287659B (en) * 2019-07-15 2024-03-19 北京字节跳动网络技术有限公司 Information generation method and device, electronic equipment and storage medium
CN110599838A (en) * 2019-09-20 2019-12-20 北京猿力未来科技有限公司 Mathematics automatic question setting method and device
CN110765752B (en) * 2019-10-29 2023-09-01 抖音视界有限公司 Test question generation method and device, electronic equipment and computer readable storage medium
CN111353037B (en) * 2020-02-27 2021-06-22 北京字节跳动网络技术有限公司 Topic generation method and device and computer readable storage medium
CN112069294B (en) * 2020-09-16 2023-01-13 科大讯飞股份有限公司 Mathematical problem processing method, device, equipment and storage medium
CN112231461B (en) * 2020-10-29 2022-05-17 中国科学院计算技术研究所厦门数据智能研究院 Knowledge-fused dialog generation method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101458677A (en) * 2007-12-12 2009-06-17 毛思原 Digit feedback teaching evaluating system and method thereof
CN101339705A (en) * 2008-08-13 2009-01-07 安徽科大讯飞信息科技股份有限公司 Intelligent pronunciation training learning system construction method
CN101464898A (en) * 2009-01-12 2009-06-24 腾讯科技(深圳)有限公司 Method for extracting feature word of text
CN101950496A (en) * 2010-01-04 2011-01-19 代利忠 Random question setting and answer generating method for calculation type questions
CN105678664A (en) * 2016-02-03 2016-06-15 成都爱易佰网络科技有限公司 Method for implementing intelligent change anti-cheating movable question bank

Also Published As

Publication number Publication date
CN112863278A (en) 2021-05-28

Similar Documents

Publication Publication Date Title
Bertino et al. Temporal synchronization models for multimedia data
CN107918666A (en) Method of data synchronization and system on a kind of block chain
CN103984681A (en) News event evolution analysis method based on time sequence distribution information and topic model
CN115393692A (en) Generation formula pre-training language model-based association text-to-image generation method
CN108304376B (en) Text vector determination method and device, storage medium and electronic device
CN102567423B (en) Method and system for associated search of poetry
CN112214996A (en) Text abstract generation method and system for scientific and technological information text
CN113535977B (en) Knowledge graph fusion method, device and equipment
CN112395842B (en) Long text story generation method and system for improving content consistency
CN109800879A (en) Construction of knowledge base method and apparatus
CN112863278B (en) Problem solving method after problem condition replacement
CN112084342A (en) Test question generation method and device, computer equipment and storage medium
CN103914487A (en) Document collection, identification and association system
CN106156060B (en) Tag control system and terminal, label application method and label method for sorting
Lou et al. Communicating with sentences: A multi-word naming game model
WO2023246719A1 (en) Method and apparatus for processing meeting record, and device and storage medium
CN102567424B (en) Poetry association library system and realization method thereof as well as electronic learning equipment
CN113177127A (en) Method for making interactive education recorded broadcast courseware
CN112417149A (en) Title generation method based on multitask learning
CN110659382A (en) Mixed music recommendation method based on heterogeneous information network representation learning technology
CN113626642B (en) Method, system and electronic device for assembling video script semantic structure
CN114579752B (en) Feature importance-based long text classification method and device and computer equipment
CN115859995A (en) Text generation method, device, server and storage medium
Lakel et al. Dynamic Evaluation of Ontologies
Song et al. Query based graph data reduction algorithms and application in education

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant