An Automatic Question Generator for Chinese Comprehension
Question generation (QG) is a natural language processing (NLP) problem that aims to generate natural questions from a given sentence or paragraph. QG has many applications, especially in education. For example, QG can complement teachers’ efforts in creating assessment materials by automatically ge...
Main Authors: | , , |
---|---|
Format: | Article |
Language: | English |
Published: |
MDPI AG
2023-01-01
|
Series: | Inventions |
Subjects: | |
Online Access: | https://www.mdpi.com/2411-5134/8/1/31 |
_version_ | 1827757077106262016 |
---|---|
author | Yin-Chun Fung Lap-Kei Lee Kwok Tai Chui |
author_facet | Yin-Chun Fung Lap-Kei Lee Kwok Tai Chui |
author_sort | Yin-Chun Fung |
collection | DOAJ |
description | Question generation (QG) is a natural language processing (NLP) problem that aims to generate natural questions from a given sentence or paragraph. QG has many applications, especially in education. For example, QG can complement teachers’ efforts in creating assessment materials by automatically generating many related questions. QG can also be used to generate frequently asked question (FAQ) sets for business. Question answering (QA) can benefit from QG, where the training dataset of QA can be enriched using QG to improve the learning and performance of QA algorithms. However, most of the existing works and tools in QG are designed for English text. This paper presents the design of a web-based question generator for Chinese comprehension. The generator provides a user-friendly web interface for users to generate a set of wh-questions (i.e., what, who, when, where, why, and how) based on a Chinese text conditioned on a corresponding set of answer phrases. The web interface allows users to easily refine the answer phrases that are automatically generated by the web generator. The underlying question generation is based on the transformer approach, which was trained on a dataset combined from three publicly available Chinese reading comprehension datasets, namely, DRUD, CMRC2017, and CMRC2018. Linguistic features such as parts of speech (POS) and named-entity recognition (NER) are extracted from the text, which together with the original text and the answer phrases, are then fed into a machine learning algorithm based on a pre-trained mT5 model. The generated questions with answers are displayed in a user-friendly format, supplemented with the source sentences in the text used for generating each question. We expect the design of this web tool to provide insight into how Chinese question generation can be made easily accessible to users with low computer literacy. |
first_indexed | 2024-03-11T08:38:34Z |
format | Article |
id | doaj.art-4fdb1350713545c7a4405a097b23eff4 |
institution | Directory Open Access Journal |
issn | 2411-5134 |
language | English |
last_indexed | 2024-03-11T08:38:34Z |
publishDate | 2023-01-01 |
publisher | MDPI AG |
record_format | Article |
series | Inventions |
spelling | doaj.art-4fdb1350713545c7a4405a097b23eff42023-11-16T21:15:50ZengMDPI AGInventions2411-51342023-01-01813110.3390/inventions8010031An Automatic Question Generator for Chinese ComprehensionYin-Chun Fung0Lap-Kei Lee1Kwok Tai Chui2School of Science and Technology, Hong Kong Metropolitan University, Hong Kong SAR, ChinaSchool of Science and Technology, Hong Kong Metropolitan University, Hong Kong SAR, ChinaSchool of Science and Technology, Hong Kong Metropolitan University, Hong Kong SAR, ChinaQuestion generation (QG) is a natural language processing (NLP) problem that aims to generate natural questions from a given sentence or paragraph. QG has many applications, especially in education. For example, QG can complement teachers’ efforts in creating assessment materials by automatically generating many related questions. QG can also be used to generate frequently asked question (FAQ) sets for business. Question answering (QA) can benefit from QG, where the training dataset of QA can be enriched using QG to improve the learning and performance of QA algorithms. However, most of the existing works and tools in QG are designed for English text. This paper presents the design of a web-based question generator for Chinese comprehension. The generator provides a user-friendly web interface for users to generate a set of wh-questions (i.e., what, who, when, where, why, and how) based on a Chinese text conditioned on a corresponding set of answer phrases. The web interface allows users to easily refine the answer phrases that are automatically generated by the web generator. The underlying question generation is based on the transformer approach, which was trained on a dataset combined from three publicly available Chinese reading comprehension datasets, namely, DRUD, CMRC2017, and CMRC2018. Linguistic features such as parts of speech (POS) and named-entity recognition (NER) are extracted from the text, which together with the original text and the answer phrases, are then fed into a machine learning algorithm based on a pre-trained mT5 model. The generated questions with answers are displayed in a user-friendly format, supplemented with the source sentences in the text used for generating each question. We expect the design of this web tool to provide insight into how Chinese question generation can be made easily accessible to users with low computer literacy.https://www.mdpi.com/2411-5134/8/1/31natural language processingquestion generationdeep learning |
spellingShingle | Yin-Chun Fung Lap-Kei Lee Kwok Tai Chui An Automatic Question Generator for Chinese Comprehension Inventions natural language processing question generation deep learning |
title | An Automatic Question Generator for Chinese Comprehension |
title_full | An Automatic Question Generator for Chinese Comprehension |
title_fullStr | An Automatic Question Generator for Chinese Comprehension |
title_full_unstemmed | An Automatic Question Generator for Chinese Comprehension |
title_short | An Automatic Question Generator for Chinese Comprehension |
title_sort | automatic question generator for chinese comprehension |
topic | natural language processing question generation deep learning |
url | https://www.mdpi.com/2411-5134/8/1/31 |
work_keys_str_mv | AT yinchunfung anautomaticquestiongeneratorforchinesecomprehension AT lapkeilee anautomaticquestiongeneratorforchinesecomprehension AT kwoktaichui anautomaticquestiongeneratorforchinesecomprehension AT yinchunfung automaticquestiongeneratorforchinesecomprehension AT lapkeilee automaticquestiongeneratorforchinesecomprehension AT kwoktaichui automaticquestiongeneratorforchinesecomprehension |