SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.18025 · 2024

Hire a Linguist!: Learning Endangered Languages with In-Context Linguistic Descriptions

arXiv · PDF · Open in the Atlas

Code that ran

8 of 13 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 7 failures of our instrument; 5 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2402.18025.json · badge: /api/ran/2402.18025.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
llilab/llm4endangeredlang canonical (classifier label)
classifier basis: census
7 ran · 5 no recorded run
leililab/lingollm canonical (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
FunctionStatusWhere it lives
check_dirs Ran
ran; our contract draft was wrong, not the code
leililab/lingollm/gen.py
pointer only (licence: NONE) · get_code("30da774c0f8a0676")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, leililab/lingollm when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

convert_to_underscore Ran
ran; our contract draft was wrong, not the code
llilab/llm4endangeredlang/fst_src/helpers.py
pointer only (licence: NONE) · get_code("29ec22f0d27d611e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, llilab/llm4endangeredlang when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_enclosed_text Ran
ran; our contract draft was wrong, not the code
llilab/llm4endangeredlang/lingollm/prompts.py
pointer only (licence: NONE) · get_code("8157b0711c048d1a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, llilab/llm4endangeredlang when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

join_words Ran
ran; our contract draft was wrong, not the code
llilab/llm4endangeredlang/fst_src/helpers.py
pointer only (licence: NONE) · get_code("574259fb71503801")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, llilab/llm4endangeredlang when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

match_score Ran
ran, honoured the contract we drafted
llilab/llm4endangeredlang/fst_src/ilg_helpers.py
pointer only (licence: NONE) · get_code("fa9257629938eebf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, llilab/llm4endangeredlang when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

prompt_direct_translate Ran
ran; our contract draft was wrong, not the code
llilab/llm4endangeredlang/lingollm/prompts.py
pointer only (licence: NONE) · get_code("b58c65537e96ba58")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, llilab/llm4endangeredlang when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

prompt_system Ran
ran; our contract draft was wrong, not the code
llilab/llm4endangeredlang/lingollm/prompts.py
pointer only (licence: NONE) · get_code("c22687ed59d1d97f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, llilab/llm4endangeredlang when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

unique Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
llilab/llm4endangeredlang/fst_src/helpers.py
pointer only (licence: NONE) · get_code("05d917a26d659ced")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, llilab/llm4endangeredlang when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

copy_prompt_translate Not yet run
unverified (harvested, no recorded run)
llilab/llm4endangeredlang/lingollm/pipelines.py
pointer only (licence: NONE) · get_code("0e208bbcdc29e798")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, llilab/llm4endangeredlang when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

direct_translate Not yet run
unverified (harvested, no recorded run)
llilab/llm4endangeredlang/lingollm/pipelines.py
pointer only (licence: NONE) · get_code("96fa86c8caacc090")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, llilab/llm4endangeredlang when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

filter_matching_glosses Not yet run
unverified (harvested, no recorded run)
llilab/llm4endangeredlang/fst_src/ilg_helpers.py
pointer only (licence: NONE) · get_code("a5bac802f1de6944")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, llilab/llm4endangeredlang when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

fst_to_story_gloss Not yet run
unverified (harvested, no recorded run)
llilab/llm4endangeredlang/fst_src/ilg_helpers.py
pointer only (licence: NONE) · get_code("072c586b35001aee")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, llilab/llm4endangeredlang when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_llm_wrapper Not yet run
unverified (harvested, no recorded run)
llilab/llm4endangeredlang/lingollm/llms.py
pointer only (licence: NONE) · get_code("ece1a00a1f1f6b9b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, llilab/llm4endangeredlang when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 13 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

How can large language models (LLMs) process and translate endangered languages? Many languages lack a large corpus to train a decent LLM; therefore existing LLMs rarely perform well in unseen, endangered languages. On the contrary, we observe that 2000 endangered languages, though without a large corpus, have a grammar book or a dictionary. We propose LINGOLLM, a training-free approach to enable an LLM to process unseen languages that hardly occur in its pre-training. Our key insight is to demonstrate linguistic knowledge of an unseen language in an LLM's prompt, including a dictionary, a grammar book, and morphologically analyzed input text. We implement LINGOLLM on top of two models, GPT-4 and Mixtral, and evaluate their performance on 5 tasks across 8 endangered or low-resource languages. Our results show that LINGOLLM elevates translation capability from GPT-4's 0 to 10.5 BLEU for 10 language directions. Our findings demonstrate the tremendous value of linguistic knowledge in the age of LLMs for endangered languages. Our data, code, and model generations can be found at https://github.com/LLiLab/llm4endangeredlang.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2402.18025")
get_code_for_paper("2402.18025")
have("2402.18025")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2402.18025.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2402.18025.svg)](https://syntology.ai/paper/2402.18025)

Connect an agent — have() is free.