Chinese poem generation using natural language processing

The objective of this project is to investigate and construct multiple NLP-based models to generate Chinese poetry. Initially, an experiment utilizing LSTM was conducted to evaluate the significance of character selection, whereby the performance of the LSTM model was compared with and without the i...

Full description

Saved in:
Bibliographic Details
Main Author: Wang, Jihan
Other Authors: Ling Keck Voon
Format: Final Year Project
Language:English
Published: Nanyang Technological University 2023
Subjects:
Online Access:https://hdl.handle.net/10356/169119
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Nanyang Technological University
Language: English
id sg-ntu-dr.10356-169119
record_format dspace
spelling sg-ntu-dr.10356-1691192023-07-07T15:52:13Z Chinese poem generation using natural language processing Wang, Jihan Ling Keck Voon School of Electrical and Electronic Engineering EKVLING@ntu.edu.sg Engineering::Electrical and electronic engineering The objective of this project is to investigate and construct multiple NLP-based models to generate Chinese poetry. Initially, an experiment utilizing LSTM was conducted to evaluate the significance of character selection, whereby the performance of the LSTM model was compared with and without the input dictionary which contains the frequently used words. The outcome shows that the model which starts to generate poems from the commonly used words has a better performance than the other, illustrating the importance of character selection. Subsequently, to enhance the performance and investigate the function of the Transformer, we extended the dataset and trained a Transformer model. The Transformer model's performance was then compared against the LSTM model and two prominent applications. The outcome shows our model has a better performance than others. Additionally, auxiliary functions were developed, including a sequence-to-sequence model to facilitate classical and modern Chinese translation for users to better comprehend classical Chinese, and a BERT model for keyword extraction to aid users' understanding of the text. Finally, an elegant UI was created and linked to the NLP models. Bachelor of Engineering (Electrical and Electronic Engineering) 2023-07-03T05:06:53Z 2023-07-03T05:06:53Z 2023 Final Year Project (FYP) Wang, J. (2023). Chinese poem generation using natural language processing. Final Year Project (FYP), Nanyang Technological University, Singapore. https://hdl.handle.net/10356/169119 https://hdl.handle.net/10356/169119 en A1081-211 application/pdf Nanyang Technological University
institution Nanyang Technological University
building NTU Library
continent Asia
country Singapore
Singapore
content_provider NTU Library
collection DR-NTU
language English
topic Engineering::Electrical and electronic engineering
spellingShingle Engineering::Electrical and electronic engineering
Wang, Jihan
Chinese poem generation using natural language processing
description The objective of this project is to investigate and construct multiple NLP-based models to generate Chinese poetry. Initially, an experiment utilizing LSTM was conducted to evaluate the significance of character selection, whereby the performance of the LSTM model was compared with and without the input dictionary which contains the frequently used words. The outcome shows that the model which starts to generate poems from the commonly used words has a better performance than the other, illustrating the importance of character selection. Subsequently, to enhance the performance and investigate the function of the Transformer, we extended the dataset and trained a Transformer model. The Transformer model's performance was then compared against the LSTM model and two prominent applications. The outcome shows our model has a better performance than others. Additionally, auxiliary functions were developed, including a sequence-to-sequence model to facilitate classical and modern Chinese translation for users to better comprehend classical Chinese, and a BERT model for keyword extraction to aid users' understanding of the text. Finally, an elegant UI was created and linked to the NLP models.
author2 Ling Keck Voon
author_facet Ling Keck Voon
Wang, Jihan
format Final Year Project
author Wang, Jihan
author_sort Wang, Jihan
title Chinese poem generation using natural language processing
title_short Chinese poem generation using natural language processing
title_full Chinese poem generation using natural language processing
title_fullStr Chinese poem generation using natural language processing
title_full_unstemmed Chinese poem generation using natural language processing
title_sort chinese poem generation using natural language processing
publisher Nanyang Technological University
publishDate 2023
url https://hdl.handle.net/10356/169119
_version_ 1772828553007595520