Is it Possible to Re-educate RoBERTa? Expert-driven Machine Learning for Punctuation Correction

Authors

MACHURA Jakub ŽIŽKOVÁ Hana FRÉMUND Adam ŠVEC Jan

Year of publication 2023
Type Article in Periodical
Magazine / Source Jazykovedný časopis
MU Faculty or unit

Faculty of Arts

Citation
Web https://www.juls.savba.sk/ediela/jc/2023/1/jc23-01.pdf
Doi http://dx.doi.org/10.2478/jazcas-2023-0052
Keywords comma; Czech; vocative; machine learning; RoBERTa
Description Although Czech rule-based tools for automatic punctuation insertion rely on extensive grammar and achieve respectable precision, the pre-trained Transformers outperform rule-based systems in precision and recall [hidden reference]. The Czech pre-trained RoBERTa model achieves excellent results, yet a certain level of phenomena is ignored, and the model partially makes errors. This paper aims to investigate whether it is possible to retrain the RoBERTa language model to increase the number of sentence commas the model correctly detects. We have chosen a very specific and narrow type of sentence comma, namely the sentence comma delimiting vocative phrases, which is clearly defined in the grammar and is very often omitted by writers. The chosen approaches were further tested and evaluated on different types of texts.
Related projects:

You are running an old browser version. We recommend updating your browser to its latest version.