<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">JCC</journal-id><journal-title-group><journal-title>Journal of Computer and Communications</journal-title></journal-title-group><issn pub-type="epub">2327-5219</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jcc.2021.99013</article-id><article-id pub-id-type="publisher-id">JCC-112524</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Computer Science&amp;Communications</subject></subj-group></article-categories><title-group><article-title>
 
 
  The Automatic Question Generation System for CET
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Xinya</surname><given-names>Zhang</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Xiaodong</surname><given-names>Yan</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Zhou</surname><given-names>Yao</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref></contrib></contrib-group><aff id="aff2"><addr-line>Center of Minority Languages, National Language Resource Monitoring &amp;amp; Research, Beijing, China</addr-line></aff><aff id="aff1"><addr-line>School of Information Engineering, Minzu University of China, Beijing, China</addr-line></aff><pub-date pub-type="epub"><day>08</day><month>09</month><year>2021</year></pub-date><volume>09</volume><issue>09</issue><fpage>161</fpage><lpage>168</lpage><history><date date-type="received"><day>20,</day>	<month>April</month>	<year>2021</year></date><date date-type="rev-recd"><day>27,</day>	<month>September</month>	<year>2021</year>	</date><date date-type="accepted"><day>30,</day>	<month>September</month>	<year>2021</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  
    In this paper, we apply the abstractive text summarization technology to automatic generation system of reading comprehension, which is part of College English Test (CET) in China. At present, there is a growing demand of English reading examination questions, yet the manual examination question generating is time-consuming and labor-intensive. To relieve the pressure on question generating task, we put the related automatic technology into application, which aims to assist teachers in question generating, meanwhile, to provide more CET exercises for students. We combine seq2seq model and attention mechanism to generate the abstractive text summarization. The abstract generated by this method is easy to understand and in line with the question generating of long reading comprehension, the experiment showed good results of question generating. 
  
 
</p></abstract><kwd-group><kwd>Text Summarization</kwd><kwd> seq2seq Model</kwd><kwd> Attention Mechanism</kwd><kwd> College English Test</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>College English Test (CET-4 and CET-6) is a national English examination in charge of the Ministry of Education to measure the comprehensive English application ability of Chinese college students. The examination paper consists of writing, listening, reading and translation [<xref ref-type="bibr" rid="scirp.112524-ref1">1</xref>]. Among these 4 parts, the reading accounts for 35% of the total score [<xref ref-type="bibr" rid="scirp.112524-ref2">2</xref>]. Since 2012, CET-4 and CET-6 have been reformed from “one question with multiple papers” to “multiple questions with multiple papers”. There are about 6 - 8 sets of papers in each test, and they are made and generated by related government authorities. After December 2013, the paper structure and test question type of CET-4 are the same as CET-6, thus creating a great deal of English reading comprehension test questions. In this paper, we mainly focus on the automatic question-generating system on the long reading comprehension in CET. The long reading comprehension is a kind of matching reading question type, it provides an article and a topic. The topic is a brief summary of the given paragraph; the examinees are asked to match the topic with the related paragraph according to the key information of the brief summary. As the pattern of question generation is similar as the text summarization, we try to apply the abstractive text summarization technology to the automatic generation of the topic belonging to the long reading comprehension.</p><p>The text summarization technology can be roughly divided into 2 methods in terms of algorithm design principles: extractive text summarization method and abstractive text summarization method [<xref ref-type="bibr" rid="scirp.112524-ref3">3</xref>]. Based the value in the text, the extractive text summarization method extracts the sentences provided with more value in the text, to form the summary. The structure of the summary generated with this method is relatively complete, yet the central idea of the abstract is vague and hard to understand. The abstractive text summarization method uses the neural network model to encode the text, then decode the text vector, which is like the summary generated after re-understanding. Compared to the extractive text summarization method, the summary generated with the abstractive text summarization method is more in line with the author’s original intention, easy to understand, and applicable to more fields [<xref ref-type="bibr" rid="scirp.112524-ref4">4</xref>].</p><p>As far as we know, there is no study or research on automatic generation system for English Reading based on text summarization technology for now. Our work applies the abstractive text summarization method to the automatic generation of the topic belonging to the long reading comprehension. Our work can largely raise the efficiency of reading questions.</p></sec><sec id="s2"><title>2. Design of Automatic Generation System of English Reading Questions</title><sec id="s2_1"><title>2.1. Corpus Source and Preprocessing</title><p>The object of this article is mainly English reading comprehension in CET-4 and CET-6. After analyzing the reading questions in previous years, it is found that it mainly comes from The New York Times, The Economist, The Atlantic, Time, Newsweek, The Guardian and other newspapers. This article will crawl information from the websites of the above newspapers as a corpus. This article uses java crawler architecture. Crawl article content according to the front-end HTML/CSS code of different. Finally, it is stored in the database using UTF-8 encoding website pages [<xref ref-type="bibr" rid="scirp.112524-ref5">5</xref>].</p><p>Preprocessing the text is very important to the task directly affect downstream processing. His process mainly includes word segmentation, clause, morphological restoration, removal of stop words, etc. [<xref ref-type="bibr" rid="scirp.112524-ref6">6</xref>].</p><p>But English has natural spaces as separators. So English doesn’t need word segmentation. Usually use the defined punctuation between sentences for sentence processing. So will create a punctuation file. Which includes punctuation marks, such as “.,?,!” and so on.</p><p>Lemmatization is based on the lexical characteristics of words. It restores words in different tenses to words in the general present tense, usually only need to record the common tense conversion rules [<xref ref-type="bibr" rid="scirp.112524-ref7">7</xref>].</p><p>Invalid words, short words or punctuation in English sentences need to be removed, such as “a”, “to” when doing feature processing. When doing feature processing, use the parameter stop words to introduce an array as a stop word list. Use the stop word list to remove the stop words in the feature word list.</p></sec><sec id="s2_2"><title>2.2. Research on Generative Text Summarization Technology</title><p>This article uses a model that combines the seq2seq model with the attention mechanism. This model is very good at solving problems such as repetition and incompatibility in the generation of words and sentences. And the quality of abstract generation has been improved [<xref ref-type="bibr" rid="scirp.112524-ref8">8</xref>].</p><p>1) seq2seq model</p><p>The seq2seq model can be applied to tasks such as part-of-speech tagging, text summarization, translation, etc. The main research of this article is a text Summarization, the correspondence between the input sequence and the output sequence is not obvious. So the model in this article is built by two RNN (recurrent neural networks). An RNN is an encoder, it is responsible for encoding the input sequence X, convert the input sequence X =   &lt; x 1 , x 2 , x 3 , … , x n &gt; into a fixed-length semantic vector C, this process is a non-linear change. [<xref ref-type="bibr" rid="scirp.112524-ref6">6</xref>] Another RNN is decoder, It is responsible for generating the y-i to be generated at time I, it according to the semantic vector C and the generated information y<sub>1</sub>, y<sub>2</sub>, y<sub>3</sub>, …, y<sub>i</sub><sub>-1</sub>. Finally generated sequence Y =   &lt; y 1 , y 2 , y 3 , … , y m &gt; (<xref ref-type="fig" rid="fig1">Figure 1</xref>).</p><p>C = F ( x 1 , x 2 , x 3 , … , x n ) (1)</p><p>y i = G ( C , y 1 , y 2 , y 3 , … , y i − 1 ) (2)</p><p>The end-to-end process of this model combines semantic understanding and text generation. But in the coding stage, regardless of the length of the input sequence, the length of the output semantic vector C is fixed. This leads to data loss when generating sequences. Therefore, we introduce an attention mechanism in the seq2seq model to solve the problem [<xref ref-type="bibr" rid="scirp.112524-ref9">9</xref>].</p><p>2) Attention Mechanism</p><p>The idea of the Attention mechanism is similar to manual abstract writing. First read through the text to understand the main idea, and then review the key content in the text to complete an abstract [<xref ref-type="bibr" rid="scirp.112524-ref10">10</xref>] (<xref ref-type="fig" rid="fig2">Figure 2</xref>).</p><p>In the summary generation process, the Attention mechanism provides a weight reference for the words in the sequence. There are three calculation steps (<xref ref-type="fig" rid="fig3">Figure 3</xref>).</p><p>First step, define an information element in the output sequence of the decoder as “Query”, the sequence information in the encoder input sequence as a</p><p>“key”. The “value” usually represents the sequence information with the same key (it is the semantic code corresponding to each word in the input sentence). That is to say, the input sequence is composed of “key-value” data pairs.</p><p>The second step is to calculate the attention weight coefficient. First calculate the similarity of key and value. Then normalize the calculated similarity. The final result is the normalized coefficient, which is the weight coefficient a i .</p><p>a i = softmax ( f a t t ( s i − 1 , h j ) ) (3)</p><p>The third step is the weighted sum of value, according to the weight coefficient. The final result is the weight of the value.</p><p>c i = ∑ j − 1 m a i j h j (4)</p><p>After the above steps, different “Query” will calculate the corresponding “Value” weight, and the attention model can be obtained.</p></sec><sec id="s2_3"><title>2.3. Generative Text Summarization Model Based on seq2seq Model and Attention Mechanism</title><p>It can be seen from the above, the seq2seq model converts the input sequence into a fixed-length semantic vector C, and then decodes the semantic vector C to generate a sequence Y [<xref ref-type="bibr" rid="scirp.112524-ref11">11</xref>]. But the length of the semantic vector C is fixed, so data loss will occur when the sequence is generated. This article adds an attention mechanism to the seq2seq model. In the encoding stage, the input sequence can not only be transformed into a fixed-length semantic vector C, the input sequence X<sub>i</sub> will correspond to a different semantic vector C<sub>i</sub>. In this way, the data loss will be reduced when generating the sequence [<xref ref-type="bibr" rid="scirp.112524-ref10">10</xref>] (<xref ref-type="fig" rid="fig4">Figure 4</xref>).</p><p>The abstract generated in this way is more similar to the abstract generated after manual re-understanding, which is more in line with the author’s original intention and high intelligibility [<xref ref-type="bibr" rid="scirp.112524-ref12">12</xref>]. At the same time, it conforms to the characteristics of English long reading.</p></sec></sec><sec id="s3"><title>3. The Application of Automatic Generation System of Reading Questions</title><p>The data used in this paper are selected from the official websites of The Guardian, The New York Times, The Economist, The Atlantic, News Week, etc. The data contain articles on domains of economics, technologies, and humanities. We take the data crawling from The Guardian as the example to show the training result of the model (<xref ref-type="table" rid="table1">Table 1</xref>).</p><p>In this experiment, 8 paragraphs are summarized with the model. We checked the results and found that 3 paragraphs are effective and available, the precision is 37.5% (<xref ref-type="table" rid="table2">Table 2</xref>).</p><p>The simple summarization generated by the model can be used as the topic of the paragraph. A complete long reading comprehension topic can be generated in the process of numbering the topics, rearranging the sequences, adding the interference options.</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> The result of the summary generation</title></caption><table><tbody><thead><tr><th align="center" valign="middle" ></th><th align="center" valign="middle" >Paragraph</th><th align="center" valign="middle" >Result</th></tr></thead><tr><td align="center" valign="middle" >Example 1</td><td align="center" valign="middle" >The first way to solve a problem is by identifying what the problem is. Identify the circumstances and emotions that lead you to stress-eat. These are your emotional eating triggers, and once you recognize them, you can take steps to avoid them or at least be prepared for them.</td><td align="center" valign="middle" >Identify the stress problem and prepare.*</td></tr><tr><td align="center" valign="middle" >Example 2</td><td align="center" valign="middle" >It might sound odd, but this is the first step to combat stress eating. So, keep a diary and make note of what you eat, how much you eat, when you eat, what kind of emotions do you have while eating, and how hungry you are. You can show your doctor the diary so as to help you measure and screen what you should or should not eat.</td><td align="center" valign="middle" >It show the combat stress eating.*</td></tr><tr><td align="center" valign="middle" >Example 3</td><td align="center" valign="middle" >Often, exercise helps you reduce stress. If you are physically fit, you’re more resistant to the effects of stress according to Psycom. Exercise causes chemical changes in the brain that reduce stress but, unfortunately, stress itself can prevent some people from taking steps, like exercising, that could make a difference in their mental and physical health.</td><td align="center" valign="middle" >You exercise physical health.*</td></tr><tr><td align="center" valign="middle" >Example 4</td><td align="center" valign="middle" >If you think it becomes easier for you to eat junk food when you are filled with emotions, then why not remove all of that food, you can always go back to grocery shopping when your emotions are in check. Some people shop when they are emotionally down, some take to alcohol, but yours is eating; to avoid eating junk excessively, it is important to do away with them.</td><td align="center" valign="middle" >Go back to the grocery store and go shopping.#</td></tr><tr><td align="center" valign="middle" >Example 5</td><td align="center" valign="middle" >It is possible that you eat unhealthy because of boredom, so there is a need to address the root cause of the problem. Engage in other things that can take your mind off food such as reading, music, or hanging out. When boredom strikes, instead of eating, try these things and see how it works.</td><td align="center" valign="middle" >You eat unhealthy, you reading, music, or hanging out.*</td></tr><tr><td align="center" valign="middle" >Example 6</td><td align="center" valign="middle" >Discuss your feelings and your unhealthy responses to stress with close friends and family who can give you the support you need to get through this situation. If you often feel guilt, shame, or regret over your eating habits, you may want to speak with a professional counselor. There is nothing too much for you to discuss with your counsellor, they will hold your hands and help you through the situation.</td><td align="center" valign="middle" >You often feel guilt, shame, or regret over your unhealthy responses to stress.#</td></tr><tr><td align="center" valign="middle" >Example 7</td><td align="center" valign="middle" >Stress is a common trigger for emotional eaters because so many everyday life circumstances cause the stress and anxiety that leads to overeating. Some stressors come from within, like the stress you put on yourself to be perfect or the anxiety you feel when you want to do some important things for yourself. Other stressors come from outside of yourself, such as the demands of your job, medical issues, family obligations, and social pressure from friends.</td><td align="center" valign="middle" >The stress comes from inside and outside of yourself.#</td></tr><tr><td align="center" valign="middle" >Example 8</td><td align="center" valign="middle" >People cope differently with stress, while some take to shopping, others over-eat and do what is called stress-eating. Stress-eating can, however, be controlled and some steps can be taken to reduce this problem.</td><td align="center" valign="middle" >While some take to shopping steps can be taken to take to shopping.*</td></tr></tbody></table></table-wrap><p>Note: # means the summary sentence is available, # means the summary sentence is not available.</p><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Availability of generated results</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Sample size</th><th align="center" valign="middle" >P</th></tr></thead><tr><td align="center" valign="middle" >200</td><td align="center" valign="middle" >75/200 = 37.5%</td></tr></tbody></table></table-wrap></sec><sec id="s4"><title>4. Conclusion</title><p>In this paper, we applied the technology of abstractive text summarization technology to the automatic generation of the topic belonging to the English reading comprehension. To achieve the goal, the seq2seq model and the attention mechanism are united to make the summary generated by the automatic system be more fit for the summary generated by human beings. Besides, we reduced the data loss rate in the process of the summary generation. As illustrated above, a large number of reading questions are needed by both official language examination board and private education organization. We put the related automatic technology into application that could largely relieve the pressure on question generating task. Also, our work could provide a great deal of CET exercises for students. Our future work is more about the other types of CET reading comprehension, such as the careful reading, whose question generating type is different from long reading question generation. We are going to try to use deep learning to generate the careful reading question generation.</p></sec><sec id="s5"><title>Conflicts of Interest</title><p>The authors declare no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s6"><title>Cite this paper</title><p>Zhang, X.Y., Yan, X.D. and Yao, Z. (2021) The Automatic Question Generation System for CET. Journal of Computer and Communications, 9, 161-168. https://doi.org/10.4236/jcc.2021.99013</p></sec></body><back><ref-list><title>References</title><ref id="scirp.112524-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Xi, C. (2017) Research on Reading Texts of College English Band 4 and Band 6 Based on Self-built Corpus. Overseas English, No. 20, 50-51.</mixed-citation></ref><ref id="scirp.112524-ref2"><label>2</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Lei</surname><given-names> G. </given-names></name>,<etal>et al</etal>. (<year>2012</year>)<article-title>Text Analysis of Fast Reading in College English Band 4 and Band 6: Empirical Research Based on Self-Built Small Corpus</article-title><source> Journal of Shanxi Radio &amp; TV University</source><volume> 17</volume>,<fpage> 69</fpage>-<lpage>71</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.112524-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Xiao, X. (2021) Research on the Generation of Korean Multi-Document Summaries. M.S. Thesis, Minzu University of China, Beijing.</mixed-citation></ref><ref id="scirp.112524-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Hong, G. (2018) Research on Abstractive Text Summarization Based on Deep Learning. M.S. Thesis, Harbin Institute of Technology, Harbin.</mixed-citation></ref><ref id="scirp.112524-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Yu, L. (2019) Research and Implementation of Text Summarization Technology Based on Attention Mechanism. M.S. Thesis, Huazhong University of Science and Technology, Wuhan.</mixed-citation></ref><ref id="scirp.112524-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Sutskever, I., Vinyals, O. and Le, Q.V. Sequence to Sequence Learning with Neural Networks. Proceedings of the 27th International Conference on Neural Information Processing Systems, MIT Press, MA, 3104-3112.</mixed-citation></ref><ref id="scirp.112524-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Nallpati, R., Zhou, B., Santos, C., et al. (2016) Abstractive Text Summarization Using Sequence-to-Sequence Rnns and beyond. Proceedings of the 20th SIGNLL Conference on Computational Natural Language Learning, Association for Computational Linguistics, Berlin, 280-290. https://doi.org/10.18653/v1/K16-1028</mixed-citation></ref><ref id="scirp.112524-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Tong, R. (2018) Study of Deep Learning Based Text Summarization. M.S. Thesis, Xidian University, Xi’an.</mixed-citation></ref><ref id="scirp.112524-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Qing, L. (2020) Research and Implementation of Text Summarization Technology Based on Machine Learning. M.S. Thesis, University of Electronic and Science and Technology of China, Chengdu.</mixed-citation></ref><ref id="scirp.112524-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Wei, L. (2020) Research on Tibetan News Abstract Generation Based on Unified Model. M.S. Thesis, Minzu University of China, Beijing.</mixed-citation></ref><ref id="scirp.112524-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Wei, L., Xiao, Y. and Xiao, X. (2020) An Improved TextRank for Tibetan Summarization. Journal of Chinese Information Processing, 34, 36-43.</mixed-citation></ref><ref id="scirp.112524-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Qi, Z., Ling, Z. and Ya, Z. (2008) A Survey of Chinese Word Segmentation Algorithms. Information Research, No. 11, 53-56.</mixed-citation></ref></ref-list></back></article>