Can LLMs Help Create Grammar?: Automating Grammar Creation for Endangered Languages with In-Context Learning

Piyapath T Spencer, Nanthipat Kongborrirak
12/14/2024
cs.CL

No confident code implementation found for this paper. 4 possible matches can be shown below.

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{spencer2024llms,
  title  = {Can LLMs Help Create Grammar?: Automating Grammar Creation for Endangered Languages with In-Context Learning},
  author = {Piyapath T Spencer and Nanthipat Kongborrirak},
  year   = {2024},
  eprint = {2412.10960},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.10960v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.10960.svg)](https://codeofpaper.com/paper/2412.10960)

Discussion