An intelligent question-setting method and system for MCT cloze test based on knowledge constraints
By intelligently generating the MCT question bank based on knowledge constraints, the problem of stagnant resource construction of the existing MCT question bank is solved, and the Chinese communicative ability of international medical students in daily communication scenes in the hospital is improved, using massive medical dictionaries and medical knowledge maps. Supports intelligent question setting.
Patent Information
- Application Number
- CN202210464130.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-29
- Publication Date
- 2024-08-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing MCT cloze question bank resource construction is still at the primary and traditional stage, failing to realize intelligent generation and unable to meet the needs of international medical students to communicate in Chinese in daily communication scenes in hospitals.
Using a method based on knowledge constraints, the medical text is analyzed through chapter semantics through HSK Chinese proficiency level and medical dictionary, and medical texts that meet the requirements are screened out as question corpus, and interference is generated based on the medical knowledge map, HSK Chinese proficiency level and MCT level. items to form a cloze question.
It realizes the intelligent generation of MCT question bank, provides scientific utilization of massive medical dictionaries and medical knowledge maps, improves the utilization efficiency of medical Chinese resources, and meets the needs of international medical students in understanding daily communication scenes in the hospital, communicating about conditions, and describing diseases. .
Smart Images

Figure CN114781373B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of recommendation algorithms, and in particular relates to an MCT cloze test intelligent question-setting method and system based on knowledge constraints. Background Art
[0002] In order to meet the needs of international medical students to communicate in Chinese during their professional studies and clinical internships, and to effectively improve the quality of medical education for international students in China, the Medical Chinese Test (MCT), jointly created by the Chinese Language Exchange and Cooperation Center of the Ministry of Education and Chinese Test International, was officially launched on December 15, 2019. MCT aims to test the ability of international students to communicate in Chinese with patients, medical staff and related personnel in medical / medical scenarios, with the content focusing on the understanding of daily communication scenarios in hospitals, the communication and exchange of conditions, and the specific description of diseases.
[0003] However, the construction of MCT question bank resources is still at the primary and traditional stage, and there is still no intelligent generation of MCT cloze questions in the market. In the information age, the integration of education and technology is the general trend. Through the Internet, cloud technology and artificial intelligence, the MCT question bank construction project can be expanded, the intelligence of MCT question bank generation can be improved, and the efficiency and speed of MCT examinations can be improved. In the context of today's big data era, massive medical knowledge dictionaries and medical knowledge graphs can also serve as data support for medical knowledge bases, injecting fresh vitality into the intelligent generation of MCT question banks and realizing the scientific use of medical Chinese resources. Summary of the invention
[0004] The present invention discloses a method and system for intelligent question-setting for MCT cloze test based on knowledge constraints, including: performing semantic analysis of medical texts based on multidimensional and complex knowledge constraints such as HSK Chinese proficiency level and medical dictionary to screen out medical texts that meet the requirements as question-setting corpus; performing test point word extraction on the question-setting corpus based on the knowledge constraint of MCT level; completing interference item generation based on multidimensional and complex knowledge constraints such as medical knowledge graph, HSK Chinese proficiency level, MCT level, etc.; composing cloze test questions with the extracted text and the list of questions for output. The present invention is aimed at international medical students taking the MCT exam, and the content focuses on the understanding of daily communication scenes in hospitals, the communication and exchange of illnesses, and the specific description of diseases. Massive medical dictionaries and medical knowledge graphs provide medical knowledge data support for the intelligent generation of MCT question banks, and realize the scientific use of medical Chinese resources.
[0005] On the one hand, a method for intelligently setting questions for MCT cloze test based on knowledge constraints comprises the following steps:
[0006] S1: Steps for selecting medical text corpus
[0007] S11: Segment the medical question text, and store the segmentation results in the array listOfStr;
[0008] S12: storing the words in the dictionary of “TCM disease and symptom coding” in the array txt, and if the words in listOfStr are included in the dictionary, discarding the corresponding medical question text;
[0009] S13: If the medical question text is retained, then traverse each word in listOfStr in turn to determine whether each word in listOfStr exists in the "Department-Disease" medical dictionary department; if so, add 1 to the number of times the same key exists in the dictionary time;
[0010] S14: After the traversal is completed, find the value with the largest number of key times in the dictionary time, that is, the department with the most appearances, and determine the department name as the category of the question stem text; if the category meets the MCT question requirements, the medical question stem text is retained;
[0011] S15: If the medical question stem text is retained, the level vocabulary "HSK" of the HSK Chinese proficiency level is stored in the array strDict1;
[0012] S16: traverse each word in listOfStr in turn, and search for the HSK Chinese proficiency level corresponding to the word in the array strDict1; set the MCT level value corresponding to the current question to c, where c includes level 1, level 2, and level 3, set MCT level 1 to correspond to HSK levels 1-4, MCT level 2 to correspond to HSK level 5, and MCT level 3 to correspond to HSK levels 6-9; if the HSK level corresponding to a word exceeds its corresponding MCT level, discard the corresponding medical question text;
[0013] S17: If the medical question stem text is retained, the medical question stem text is determined as the question corpus text TextQuestion;
[0014] S2: Steps to eliminate test words
[0015] S21: storing the words in the MCT exam syllabus whose level vocabulary is less than the current MCT level value c in the array strDict2; the level vocabulary includes words and their corresponding MCT levels;
[0016] S22: Determine whether the word in listOfStr exists in strDict2, if so, store the word in the candidate hollowed-out phrase listLine;
[0017] S23: If the number of words in the candidate knockout phrase is greater than the set MCT single-question word limit value n, then randomly remove words to ensure that the remaining knockout words are no more than n, and the phrase consisting of the remaining knockout words is the final knockout phrase;
[0018] S24: traverse the final hollowed-out phrases, find the first occurrence of each word in the question corpus TextQuestion, and replace the word with the hollowed-out character “____”;
[0019] S23: forming a question stem blanking text based on the question corpus text TextQuestion after blanking;
[0020] S3: Distractor generation step
[0021] S31: Create a question option array key, traverse the words in the final empty phrase, and store each word in the first unit key[0] of the array key in turn;
[0022] S32: If key[0] exists in the medical knowledge graph, then randomly select another three words in the knowledge graph to form interference items, and store these three strings in the second to fourth cells of the array key, and mark the question as "medical question", and store the value of the question mark in the fifth cell of key;
[0023] S33: If key[0] does not exist in the medical knowledge graph, further determine whether key[0] exists in the HSK Chinese proficiency level vocabulary array strDict1. If so, randomly select another three words in the array strDict1 to form interference items, and store these three strings in the second to fourth units of the array key, mark the question as "grammar question", and store the marked value of the question in the fifth unit of key;
[0024] S34: If key[0] does not exist in the HSK Chinese proficiency vocabulary, then randomly select another 3 words from the MCT test syllabus vocabulary strDict3 to form interference items, and store these 3 strings in the 2nd to 4th cells of the array key, mark the question as "other questions", and store the marked value of the question in the 5th cell of key;
[0025] S4: Cloze question output steps
[0026] S41: Obtain m question option array keys that are consistent with the number m of the final hollowed-out phrases as a question list; wherein m≤n.
[0027] S42: Output the blank-out text of the question stem and the question list as a cloze question.
[0028] On the other hand, an MCT cloze test intelligent question-setting system based on knowledge constraints includes:
[0029] The medical text test corpus screening module is used to perform text semantic analysis on medical texts based on the HSK Chinese proficiency level and the knowledge constraints of medical dictionaries, and screen out medical texts that meet the requirements as test corpus;
[0030] The test point word extraction module is used to extract test point words from the question corpus based on the knowledge constraints of the MCT level to form a question stem extraction text;
[0031] The interference item generation module is used to complete the interference item generation based on the knowledge constraints of the medical knowledge graph, HSK Chinese proficiency level and MCT level to obtain a list of questions;
[0032] The cloze question output module is used to output cloze questions consisting of question stem blank text and question list.
[0033] It can be seen from the above description of the present invention that, compared with the prior art, the present invention has the following beneficial effects:
[0034] This invention is aimed at international medical students taking the MCT exam. The content focuses on the understanding of daily communication scenarios in hospitals, the communication and exchange of medical conditions, and the specific description of diseases. Massive medical dictionaries and medical knowledge graphs provide medical knowledge data support for the intelligent generation of the MCT question bank, realizing the scientific use of medical Chinese resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 It is a flow chart of the MCT cloze test intelligent question-setting method based on knowledge constraints of the present invention;
[0036] Figure 2 It is a structural block diagram of the MCT cloze test intelligent question-setting system based on knowledge constraints of the present invention. DETAILED DESCRIPTION
[0037] The present invention will be further described below in conjunction with specific embodiments. It should be understood that these embodiments are only used to illustrate the present invention and are not intended to limit the scope of the present invention. In addition, it should be understood that after reading the content taught by the present invention, those skilled in the art can make various changes or modifications to the present invention, and these equivalent forms fall within the scope limited by the appended claims of the application equally.
[0038] See also Figure 1 As shown, detailed steps of an MCT cloze test intelligent question-setting method based on knowledge constraints of the present invention.
[0039] Specifically, a specific embodiment will be used as follows to illustrate. The content of the known question text "demo.txt" is shown in Table 1.
[0040] Table 1
[0041]
[0042] The implementation steps corresponding to the method of the present invention are as follows:
[0043] S1: Steps for selecting medical text corpus
[0044] S11: Segment the medical question text into words, and store the segmentation results in the array listOfStr. The array content is: ['history',"'patient','stomach','acid reflux','occasionally','pain','is','what','disease','doctor','hello','very','glad','can','help','you','gastritis','gastric ulcer','all','have','this','performance','can','gastroscopy','examination','then need','take','good medicine','take some','omeprazole','and','aluminum','magnesium carbonate','tablets','see','two kinds','together','medicine','do','of','how','how to take','how much','old','age','ah','and','others','discomfort','79']
[0045] S12: Coding of “TCM diseases and symptoms” ( https: / / pan.hqu.edu.cn / share / 1545f0798a2e625 cf10f472fb8) are stored in the array txt. Since the words in listOfStr are not included in it, the medical question text is retained.
[0046] S13: traverse each word in listOfStr in turn to see if it exists in the "department-disease" medical dictionary ( https: / / pan.hqu.edu.cn / share / 6394d8125e42c2d38b419a01e2 )department. If it exists, the number of times the same key exists in the dictionary time is increased by 1.
[0047] S14: After the traversal is completed, find the value with the largest number in the dictionary time, that is, the value with the largest number of occurrences is "Internal Medicine". Then the annotation type of the question stem text is "Internal Medicine". This type meets the MCT question requirements, so the medical question stem text is retained.
[0048] S15: Store the HSK Chinese proficiency level vocabulary "HSK" in the array strDict1 ( https: / / pan.hqu.edu.cn / share / a1a69fd1e5479dfde939ad2aac )middle.
[0049] S16: traverse each word in listOfStr in turn, and search for the HSK Chinese proficiency level corresponding to the word in array strDict1. Assuming that the MCT level value corresponding to the current question is 2, the HSK level corresponding to each word in listOfStr does not exceed its corresponding MCT level, so the medical question text is retained.
[0050] S17: The medical question stem text is determined as the question corpus text TextQuestion.
[0051] S2: Steps to eliminate test words
[0052] S21: Store the vocabulary in the MCT exam syllabus (including vocabulary and its corresponding MCT level) that is less than the current MCT level value of 2 in the array strDict2(( https: / / pan.hqu.edu.cn / share / c868ac8e1fa2f3d633bcf2261d ))middle.
[0053] S22: Determine whether the word in listOfStr exists in strDict2. If so, store the word in candidate knockout phrase listLine. For the text of the question stem "demo.txt", the words stored in candidate knockout phrase listLine are: ['acid reflux', 'what', 'manifestation', 'gastroscopy', 'examination', 'film', 'how', 'age'].
[0054] S23: Because the number of words in the candidate knockout phrases is greater than the MCT single-question knockout word limit of 4, words are randomly removed to ensure that the remaining knockout words are no more than 4. The phrase composed of the remaining knockout words is the final knockout phrase, and the final knockout phrase generated after random removal is: ['acid reflux', 'what', 'manifestation', 'gastroscopy'].
[0055] S24: traverse the final hollowed-out phrases, find the first occurrence of each word in the question corpus TextQuestion, and replace the word with the hollowed-out character "____".
[0056] S25: As described in step S24, the question corpus text TextQuestion after the hollowing out is formed into the question stem hollowed-out text.
[0057] The final blanked-out text of the question stem is shown in Table 2.
[0058] Table 2
[0059]
[0060] S3: Distractor generation step
[0061] S31: Create an array key for question options. Traverse the words in the final cloze phrase ['acid reflux', 'what', 'performance', 'gastroscopy'], and store each word in the first unit key[0] of the array key in sequence.
[0062] S32: Take 'acid reflux' as an example. Since 'acid reflux' exists in the medical knowledge graph ( https: / / pan.hqu.edu.cn / share / 55d92f1b611e8046e41fed9fc9 ), randomly select another 3 words ['wrinkle', 'lactation', 'palm'] in this knowledge graph to form distractors, and store these 3 strings in the 2-4 units of the array key. And label the question as a'medical question', and store this label value in the 5th unit of key.
[0063] S33: Take 'what' as an example. Since 'what' exists in the HSK Chinese proficiency level vocabulary array strDict1, randomly select another 3 words ['us', 'which', 'each'] in the array strDict1 to form distractors, and store these 3 strings in the 2-4 units of the array key. And label the question as a 'grammar question', and store this label value in the 5th unit of key.
[0064] S34: Take 'performance' as an example. Since 'performance' does not exist in the knowledge graph and the HSK Chinese proficiency level vocabulary array strDict1, randomly select another 3 words ['broken end', 'cholelithiasis', 'emphysema'] in the MCT exam syllabus level word library strDict3 ( https: / / pan.hqu.edu.cn / share / 49f9e6c9e6319589063357901d ) to form distractors, and store these 3 strings in the 2-4 units of the array key. And label the question as 'other question', and store this label value in the 5th unit of key.
[0065] S4: Steps for outputting cloze questions
[0066] S41: As described in step S3, obtain 4 arrays key for question options that are consistent with the number 4 of the final cloze phrase, that is, the question list. The final list of distractor questions generated for the text of the question stem "demo.txt" is as follows:
[0067] {['acid reflux', 'wrinkle', 'lactation', 'palm','medical question']
[0068] ['what', 'us', 'which', 'each', 'grammar question']
[0069] ['performance', 'broken end', 'cholelithiasis', 'emphysema', 'other question']
[0070] ['gastroscopy', 'gastroscopy', 'dystocia', 'absentmindedness', 'other question']}
[0071] S42: Outputting a cloze question composed of the blank-out text in the question stem and the question list.
[0072] The final generated questions are shown in Table 3.
[0073] See also Figure 2 As shown, the present invention provides an MCT cloze test intelligent question-setting system based on knowledge constraints, comprising:
[0074] The medical text test corpus screening module 201 is used to perform text semantic analysis on the medical text based on the HSK Chinese proficiency level and the knowledge constraints of the medical dictionary, and screen out medical texts that meet the requirements as test corpus;
[0075] A test point word extraction module 202 is used to extract test point words from the question corpus based on the knowledge constraints of the MCT level to form a question stem extraction text;
[0076] Interference item generation module 203, used to complete interference item generation based on the knowledge constraints of the medical knowledge graph, HSK Chinese proficiency level and MCT level, and obtain a question list;
[0077] The cloze question output module 204 is used to output a cloze question consisting of a question stem blank text and a question list.
[0078] Table 3
[0079]
[0080] The specific implementation of an MCT cloze test intelligent question-setting system based on knowledge constraints is the same as the MCT cloze test intelligent question-setting method based on knowledge constraints, and this embodiment will not be repeated.
[0081] The above is only a specific implementation of the present invention, but the design concept of the present invention is not limited to this. Any non-substantial changes to the present invention using this concept shall be deemed as an infringement of the protection scope of the present invention.
Claims
1. An intelligent question-setting method for MCT cloze test based on knowledge constraints, comprising the following steps: S1: Steps for selecting medical text corpus S11: Segment the medical question text, and store the segmentation results in the array listOfStr; S12: Store the words in the dictionary of "TCM disease and symptom coding" in the array txt. If the words in listOfStr are included in the dictionary, discard the corresponding medical question text; S13: If the medical question stem text is retained, then traverse each word in listOfStr in turn to determine whether each word in listOfStr exists in the "department-disease" medical dictionary department; If it exists, add 1 to the number of times the same key exists in the dictionary time; S14: After the traversal is completed, find the value with the largest number of key times in the dictionary time, that is, the department with the most appearances, and determine the department name as the category of the question stem text; if the category meets the MCT question requirements, the medical question stem text is retained; S15: If the medical question stem text is retained, the level vocabulary "HSK" of the HSK Chinese proficiency level is stored in the array strDict1; S16: traverse each word in listOfStr in turn, and search for the HSK Chinese proficiency level corresponding to the word in the array strDict1; set the MCT level value corresponding to the current question to c, where c includes level 1, level 2, and level 3, set MCT level 1 to correspond to HSK levels 1-4, MCT level 2 to correspond to HSK level 5, and MCT level 3 to correspond to HSK levels 6-9; if the HSK level corresponding to a word exceeds its corresponding MCT level, discard the corresponding medical question text; S17: If the medical question stem text is retained, the medical question stem text is determined as the question corpus text TextQuestion; S2: Steps to eliminate test word gaps S21: storing the words in the MCT exam syllabus whose level vocabulary is less than the current MCT level value c in the array strDict2; the level vocabulary includes words and their corresponding MCT levels; S22: Determine whether the word in listOfStr exists in strDict2, if so, store the word in the candidate hollowed-out phrase listLine; S23: If the number of words in the candidate knockout phrase is greater than the set MCT single-question word limit value n, then randomly remove words to ensure that the remaining knockout words are no more than n, and the phrase consisting of the remaining knockout words is the final knockout phrase; S24: traverse the final hollowed-out phrases, find the first occurrence of each word in the question corpus TextQuestion, and replace the word with the hollowed-out character "____"; S23: forming a question stem blanking text based on the question corpus text TextQuestion after blanking; S3: Distractor generation step S31: Create a question option array key, traverse the words in the final empty phrase, and store each word in the first unit key[0] of the array key in turn; S32: If key[0] exists in the medical knowledge graph, then randomly select another three words in the knowledge graph to form interference items, and store these three strings in the second to fourth cells of the array key, and mark the question as "medical question", and store the value of the question mark in the fifth cell of key; S33: If key[0] does not exist in the medical knowledge graph, further determine whether key[0] exists in the HSK Chinese proficiency level vocabulary array strDict1. If so, randomly select another three words in the array strDict1 to form interference items, and store these three strings in the second to fourth units of the array key, mark the question as "grammar question", and store the marked value of the question in the fifth unit of key; S34: If key[0] does not exist in the HSK Chinese proficiency vocabulary, then randomly select another 3 words from the MCT test syllabus vocabulary strDict3 to form interference items, and store these 3 strings in the 2nd to 4th cells of the array key, mark the question as "other questions", and store the marked value of the question in the 5th cell of key; S4: Cloze question output steps S41: obtaining m question option array keys that are consistent with the number m of the final hollowed-out phrases as a question list; wherein m≤n; S42: Output the blank-out text of the question stem and the question list as a cloze question.
2. A knowledge-constrained MCT cloze intelligent question-setting system, based on the knowledge-constrained MCT cloze intelligent question-setting method according to claim 1, comprising: The medical text test corpus screening module is used to perform text semantic analysis on medical texts based on the HSK Chinese proficiency level and the knowledge constraints of medical dictionaries, and screen out medical texts that meet the requirements as test corpus; The test point word extraction module is used to extract test point words from the question corpus based on the knowledge constraints of the MCT level to form a question stem extraction text; The interference item generation module is used to complete the interference item generation based on the knowledge constraints of the medical knowledge graph, HSK Chinese proficiency level and MCT level to obtain a list of questions; The cloze question output module is used to output cloze questions consisting of question stem blank text and question list.
Citation Information
Patent Citations
Personnel statistical method by employing mobile communication terminal
CN1691547A
Electronic medical record intelligent diagnosis method based on SEV-SDG-CNN
CN110060749A
Ancient-poem-evaluation-oriented automatic question setting method and system
CN110232180A
Automatic proposition method and system for Chinese evaluation
CN110516232A
Interactive question setting method and system for international Chinese teaching
CN111311459A
