From Web Crawl to Clean Register-Annotated Corpora
Veronika Laippala, Samuel Rönnqvist, Saara Hellström, Juhani Luotolahti, Liina Repo, Anna Salmela, Valtteri Skantsi, Sampo Pyysalo
Abstract
The web presents unprecedented opportunities for large-scale collection of text in many languages. However, two critical steps in the development of web corpora remain challenging: the identification of clean text from source HTML and the assignment of genre or register information to the documents. In this paper, we evaluate a multilingual approach to this end. Our starting points are the Swedish and French Common Crawl datasets gathered for the 2017 CoNLL shared task, particularly the URLs. We 1) fetch HTML pages based on the URLs and run boilerplate removal, 2) train a classifier to further clean out undesired text fragments, and 3) annotate text registers. We compare boilerplate removal against the CoNLL texts, and find an improvement. For the further cleaning of undesired material, the best results are achieved using Multilingual BERT with monolingual fine-tuning. However, our results are promising also in a cross-lingual setting, without fine-tuning on the target language. Finally, the register annotations show that most of the documents belong to a relatively small set of registers, which are relatively similar in the two languages. A number of additional flags in the annotation are, however, necessary to reflect the wide range of linguistic variation associated with the documents.- Anthology ID:
- 2020.wac-1.3
- Volume:
- Proceedings of the 12th Web as Corpus Workshop
- Month:
- May
- Year:
- 2020
- Address:
- Marseille, France
- Editors:
- Adrien Barbaresi, Felix Bildhauer, Roland Schäfer, Egon Stemle
- Venue:
- WAC
- SIG:
- Publisher:
- European Language Resources Association
- Note:
- Pages:
- 14–22
- Language:
- English
- URL:
- https://aclanthology.org/2020.wac-1.3
- DOI:
- Cite (ACL):
- Veronika Laippala, Samuel Rönnqvist, Saara Hellström, Juhani Luotolahti, Liina Repo, Anna Salmela, Valtteri Skantsi, and Sampo Pyysalo. 2020. From Web Crawl to Clean Register-Annotated Corpora. In Proceedings of the 12th Web as Corpus Workshop, pages 14–22, Marseille, France. European Language Resources Association.
- Cite (Informal):
- From Web Crawl to Clean Register-Annotated Corpora (Laippala et al., WAC 2020)
- PDF:
- https://preview.aclanthology.org/ingest-acl-2023-videos/2020.wac-1.3.pdf