Comparing Neural- and N-Gram-Based Language Models for Word Segmentation
Authors:
- Yerai DovalYDYerai Doval
- Carlos Gómez-RodríguezCGCarlos Gómez-Rodríguez
Preprint
Abstract
Word segmentation is the task of inserting or deleting word boundary characters in order to separate character sequences that correspond to words in some language. In this article we propose an approach based on a beam search algorithm and a language model working at the byte/character level, the latter component implemented either as an n-gram model or a recurrent neural network. The resulting system analyzes the text input with no word boundaries one token at a time, which can be a character or a byte, and uses the information gathered by the language model to determine if a boundary must be placed in the current position or not. Our aim is to use this system in a preprocessing step for a microtext normalization system. This means that it needs to effectively cope with the data sparsity present on this kind of texts. We also strove to surpass the performance of two readily available word segmentation systems: The well-known and accessible Word Breaker by Microsoft, and the Python module WordSegment by Grant Jenks. The results show that we have met our objectives, and we hope to continue to improve both the precision and the efficiency of our system in the future.Keywords
All Related Versions
This publication has 6 references indexed in Scilit:
- Google’s Multilingual Neural Machine Translation System: Enabling Zero-Shot TranslationTransactions of the Association for Computational Linguistics, 2017
- Supervised sentiment analysis in multilingual environmentsInformation Processing & Management, 2017
- Character-Aware Neural Language ModelsProceedings of the AAAI Conference on Artificial Intelligence, 2016
- Web scale NLP2011
- Analogical effects on linking elements in German compound wordsLanguage and Cognitive Processes, 2007
- Word segmentation and recognition for web document framework1999