arXiv · 2412.10960
Can LLMs Help Create Grammar?: Automating Grammar Creation for Endangered Languages with In-Context Learning
Abstract
Yes! In the present-day documenting and preserving endangered languages, the application of Large Language Models (LLMs) presents a promising approach. This paper explores how LLMs, particularly through in-context learning, can assist in generating grammatical information for low-resource languages with limited amount of data. We takes Moklen as a case study to evaluate the efficacy of LLMs in producing coherent grammatical rules and lexical entries using only bilingual dictionaries and parallel sentences of the unknown language without building the model from scratch. Our methodology involves organising the existing linguistic data and prompting to efficiently enable to generate formal XLE grammar. Our results demonstrate that LLMs can successfully capture key grammatical structures and lexical information, although challenges such as the potential for English grammatical biases remain. This study highlights the potential of LLMs to enhance language documentation efforts, providing a cost-effective solution for generating linguistic data and contributing to the preservation of endangered languages.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Piyapath T Spencer, Nanthipat Kongborrirak. 2024-12-14. Can LLMs Help Create Grammar?: Automating Grammar Creation for Endangered Languages with In-Context Learning. https://arxiv.org/abs/2412.10960
Cite the original work for its findings. Save a collection to share your selection of sources.