arXiv · 1908.09716
uniblock: Scoring and Filtering Corpus with Unicode Block Information
Abstract
The preprocessing pipelines in Natural Language Processing usually involve a step of removing sentences consisted of illegal characters. The definition of illegal characters and the specific removal strategy depend on the task, language, domain, etc, which often lead to tiresome and repetitive scripting of rules. In this paper, we introduce a simple statistical method, uniblock, to overcome this problem. For each sentence, uniblock generates a fixed-size feature vector using Unicode block information of the characters. A Gaussian mixture model is then estimated on some clean corpus using variational inference. The learned model can then be used to score sentences and filter corpus. We present experimental results on Sentiment Analysis, Language Modeling and Machine Translation, and show the simplicity and effectiveness of our method.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Yingbo Gao, Weiyue Wang, Hermann Ney. 2019-08-26. uniblock: Scoring and Filtering Corpus with Unicode Block Information. https://arxiv.org/abs/1908.09716
Cite the original work for its findings. Save a collection to share your selection of sources.