GlotScript: A Resource and Tool for Low Resource Writing System Identification

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Kargaran, Amir Hossein, Yvon, François, Schütze, Hinrich
Formato: Preprint
Publicado: 2023
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866929290316087296
author Kargaran, Amir Hossein
Yvon, François
Schütze, Hinrich
author_facet Kargaran, Amir Hossein
Yvon, François
Schütze, Hinrich
contents We present GlotScript, an open resource and tool for low resource writing system identification. GlotScript-R is a resource that provides the attested writing systems for more than 7,000 languages. It is compiled by aggregating information from existing writing system resources. GlotScript-T is a writing system identification tool that covers all 161 Unicode 15.0 scripts. For an input text, it returns its script distribution where scripts are identified by ISO 15924 codes. We also present two use cases for GlotScript. First, we demonstrate that GlotScript can help cleaning multilingual corpora such as mC4 and OSCAR. Second, we analyze the tokenization of a number of language models such as GPT-4 using GlotScript and provide insights on the coverage of low resource scripts and languages by each language model. We hope that GlotScript will become a useful resource for work on low resource languages in the NLP community. GlotScript-R and GlotScript-T are available at https://github.com/cisnlp/GlotScript.
format Preprint
id arxiv_https___arxiv_org_abs_2309_13320
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle GlotScript: A Resource and Tool for Low Resource Writing System Identification
Kargaran, Amir Hossein
Yvon, François
Schütze, Hinrich
Computation and Language
We present GlotScript, an open resource and tool for low resource writing system identification. GlotScript-R is a resource that provides the attested writing systems for more than 7,000 languages. It is compiled by aggregating information from existing writing system resources. GlotScript-T is a writing system identification tool that covers all 161 Unicode 15.0 scripts. For an input text, it returns its script distribution where scripts are identified by ISO 15924 codes. We also present two use cases for GlotScript. First, we demonstrate that GlotScript can help cleaning multilingual corpora such as mC4 and OSCAR. Second, we analyze the tokenization of a number of language models such as GPT-4 using GlotScript and provide insights on the coverage of low resource scripts and languages by each language model. We hope that GlotScript will become a useful resource for work on low resource languages in the NLP community. GlotScript-R and GlotScript-T are available at https://github.com/cisnlp/GlotScript.
title GlotScript: A Resource and Tool for Low Resource Writing System Identification
topic Computation and Language
url https://arxiv.org/abs/2309.13320