Saved in:
Bibliographic Details
Main Authors: Bañón, Marta, Zaragoza-Bernabeu, Jaume, Ramírez-Sánchez, Gema, Ortiz-Rojas, Sergio
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2404.08345
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911837470064640
author Bañón, Marta
Zaragoza-Bernabeu, Jaume
Ramírez-Sánchez, Gema
Ortiz-Rojas, Sergio
author_facet Bañón, Marta
Zaragoza-Bernabeu, Jaume
Ramírez-Sánchez, Gema
Ortiz-Rojas, Sergio
contents Language identification is a crucial component in the automated production of language resources, particularly in multilingual and big data contexts. However, commonly used language identifiers struggle to differentiate between similar or closely-related languages. This paper introduces FastSpell, a language identifier that combines fastText (a pre-trained language identifier tool) and Hunspell (a spell checker) with the aim of having a refined second-opinion before deciding which language should be assigned to a text. We provide a description of the FastSpell algorithm along with an explanation on how to use and configure it. To that end, we motivate the need of such a tool and present a benchmark including some popular language identifiers evaluated during the development of FastSpell. We show how FastSpell is useful not only to improve identification of similar languages, but also to identify new ones ignored by other tools.
format Preprint
id arxiv_https___arxiv_org_abs_2404_08345
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle FastSpell: the LangId Magic Spell
Bañón, Marta
Zaragoza-Bernabeu, Jaume
Ramírez-Sánchez, Gema
Ortiz-Rojas, Sergio
Computation and Language
Language identification is a crucial component in the automated production of language resources, particularly in multilingual and big data contexts. However, commonly used language identifiers struggle to differentiate between similar or closely-related languages. This paper introduces FastSpell, a language identifier that combines fastText (a pre-trained language identifier tool) and Hunspell (a spell checker) with the aim of having a refined second-opinion before deciding which language should be assigned to a text. We provide a description of the FastSpell algorithm along with an explanation on how to use and configure it. To that end, we motivate the need of such a tool and present a benchmark including some popular language identifiers evaluated during the development of FastSpell. We show how FastSpell is useful not only to improve identification of similar languages, but also to identify new ones ignored by other tools.
title FastSpell: the LangId Magic Spell
topic Computation and Language
url https://arxiv.org/abs/2404.08345