Development of an API for EDU segmentation

EDU stands for elementary discourse unit, which is a clause-like structure in a sentence. EDU segmentation, refers to determining the boundaries to split sentences into multiple EDUs. This project aims to experiment and develop EDU segmentation models. The experiments are conducted using the Rhetori...

Full description

Saved in:
Bibliographic Details
Main Author: Liu, Qingyi
Other Authors: Sun Aixin
Format: Final Year Project
Language:English
Published: Nanyang Technological University 2023
Subjects:
Online Access:https://hdl.handle.net/10356/166098
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Nanyang Technological University
Language: English
Description
Summary:EDU stands for elementary discourse unit, which is a clause-like structure in a sentence. EDU segmentation, refers to determining the boundaries to split sentences into multiple EDUs. This project aims to experiment and develop EDU segmentation models. The experiments are conducted using the Rhetorical Structure Theory (RST) dataset and the model performance is evaluated using the F1-score based on the token level EDU boundaries. The current existing research model, Segbot, has a Seq2seq model architecture using a bi-GRU encoder and GRU decoder with a pointer network to select the boundaries for EDU segmentation. To improve Segbot, we proposed replacing the bi-GRU encoder in Segbot with the generative pretrained BART encoder. This model performed at 94.5% F1-score. Token classification for EDU segmentation based on the boundaries is also explored. This is done by finetuning pretrained models such as BERT as well as using the PosTag embeddings as additional input features. Segbot with BART encoder yielded the highest performance and hence, the model weights would be used to develop an API Python Library in the future. This library would improve ease of usage for EDU segmentation on downstream NLP tasks, such as sentiment analysis and question answering.