alphaFeedback

WorksComputer Science

Text Generation in Low-Resource Languages Using Human-Curated Vocabularies

AI contributions
Not recorded for this paper
View details
Ancillary data
1 code link
View

Abstract

Synthetic text generation offers a promising approach to alleviating data scarcity in low-resource languages. However, its effectiveness is inherently limited for languages that are scarcely represented, or entirely absent, in an LLM's pretraining data. At the same time, many such languages have human-curated vocabularies that provide rich lexical and semantic information, often accompanied by grammatical information such as part-of-speech labels. In this work, we ask whether LLMs can leverage these resources to generate coherent text in extremely low-resource and unseen languages. We introduce a framework that combines human-curated vocabularies with a small number of human-written exemplars that provide syntactic signals, while sampling candidate words according to a Zipfian distribution. Across languages with varying levels of resource availability, we evaluate the generated text using lexical diversity, off-target ratio, and human judgments of fluency. Our results show that reasoning-enabled LLMs can generate fluent text even in extremely low-resource languages, with particularly strong results at the sentence level and promising performance at the paragraph level. Our findings highlight a practical pathway for bootstrapping synthetic data in low-resource languages, expanding the amount of usable text even when existing digital resources are extremely limited. Our source code is available at https://github.com/michaelsinanta/vocab2text.

Introduction

More than 7,000 languages are spoken worldwide, yet only a small fraction are represented in the textual resources commonly used to train language models. For example, Wikipedia and Common Crawl contain textual data for only about 4% of the world’s languages, while human-curated lexicons and word lists cover approximately 70% [22]. This broader coverage reflects long-standing language documentation efforts, through which linguists and language communities have compiled human-curated vocabularies that record words, their meanings, and other linguistic information. Their broad coverage creates an opportunity to leverage these existing resources to expand text resources for low-resource languages.

One promising way to realize this opportunity is through synthetic text generation. LLMs are increasingly used to generate synthetic data for pre-training and post-training [23, 5, 1, 20]. However, such generation largely relies on the linguistic knowledge already encoded in LLMs, limiting its effectiveness for languages that are poorly represented in their pretraining data [10, 13]. Human-curated vocabularies offer a complementary source of linguistic knowledge, yet their potential for LLM-based synthetic text generation remains largely unexplored (Yong et al., 2024). This idea has a natural parallel in human language learning: when learning an unfamiliar language, people consult dictionaries to acquire new words and use examples to learn how those words appear in context. Inspired by this process, we ask: Can LLMs leverage human-curated vocabularies to generate coherent and lexically diverse text in low-resource languages, including extremely underrepresented languages?

Our contributions are threefold:

  1. We introduce a training-free framework that leverages LLM reasoning to generate text in low-resource languages from human-curated vocabularies and a small number of human-written exemplars. Our framework adapts from Zipfian sampling to expose the model to a broad yet natural distribution of vocabulary during generation.

  1. Across six languages spanning different levels of resource availability, our framework consistently improves lexical diversity and reduces off-target generation over practical baselines. Human evaluation further shows improved fluency, with particularly strong results for the extremely low-resource Acehnese and Hitu.

  1. Through extensive analyses, we examine when and why vocabulary-guided generation works, studying the impact of vocabulary quality, reasoning versus non-reasoning generation, and increasing generation volume. Our results highlight vocabulary quality as a key consideration and show whether gains in lexical diversity persist as synthetic data are generated at larger scale.

Related Works

Synthetic Text Generation with LLMs. Synthetic data has long been used to supplement scarce human-written data in NLP [6]. Early augmentation methods typically transform existing examples through operations such as synonym replacement, random insertion and deletion, and word swapping [24, 12]. The emergence of LLMs has enabled a shift toward generating new synthetic text at scale, with applications ranging from augment-

ing pretraining corpora [5] (Zhu et al. 2026) to constructing post-training resources such as instruction-tuning data [23]. Despite their strong generation capabilities, LLMs tend to produce text with lower lexical diversity than human-written data [10, 11]. This limitation is particularly relevant to our goal of expanding the lexical coverage of languages with limited textual resources. Therefore, we treat lexical diversity, alongside fluency, as a central dimension of synthetic text quality.

Synthetic Data for Low-Resource Languages. Synthetic text generation is particularly challenging for low-resource languages, where LLMs have limited linguistic knowledge. Generation quality tends to deteriorate as language resources decrease [3], and models may drift into higher-resource languages when generating underrepresented ones [14]. Nevertheless, LLM-generated data have been explored for low-resource applications ranging from question answering to story generation [16, 4, 19], with target-language demonstrations shown to improve their utility [1]. These approaches, however, largely rely on linguistic knowledge already encoded in the LLM. Our work instead asks whether LLMs can generate fluent and lexically diverse text with minimal off-target generation in extremely underrepresented languages, including languages not seen during LLM pretraining, where we leverage LLM reasoning to combine with external lexical knowledge to provide additional linguistic information at inference time.

Human-Curated Vocabularies in NLP. Human-curated lexical resources, including dictionaries, bilingual lexicons, and word lists, cover substantially more languages than commonly available text corpora [22]. Prior work has leveraged these resources for lexical augmentation, word-for-word data synthesis, and machine translation [6, 22, 18]. Recent studies further show that providing dictionaries or grammatical resources in context can help LLMs translate languages scarcely represented in pretraining [21] (Zhang et al. 2024). These approaches, however, primarily focus on translation. Closest to our work, Yong et al. (2024) condition LLMs on bilingual lexicons to generate task-specific data, which are subsequently translated word by word into the target language. In contrast, we study open-ended generation directly in the target language. We use human-curated vocabularies as lexical knowledge and a few human-written exemplars as syntactic guidance, requiring the LLM to compose new text rather than translate or modify existing sentences.

Methodology

We illustrate our training-free, vocabulary-guided synthetic text generation pipeline in Figure 1. The pipeline consists of four stages: (1) collecting human-curated dictionaries and word-frequency information for each target language, (2) collecting a small set of human-written exemplars in sentences and paragraphs, (3) sampling candidate words according to their frequency distribution, and (4) constructing the generation prompt from the sampled words and exemplars.

Overview of our vocabulary-guided synthetic text generation pipeline

Figure 1. Overview of our vocabulary-guided synthetic text generation pipeline. Human-curated vocabulary is sampled using an open-source word-frequency list, while we then sample the high- and low-frequency words using our method described in § 3. We then combine it with few-shot human-written exemplars to construct the generation prompt.

Stage 1: Collecting Dictionaries and Estimating Word Frequencies. We first collect a human-curated dictionary D\mathcal{D} for each target language and standardize its entries into a common format. Each entry w∈Dw \in\mathcal{D} consists of a target-language word, its English equivalent en⁡(w)\operatorname{en}(w), an English definition, a part-of-speech (POS) tag, and, when available, an example sentence illustrating its usage. Because the available resources differ substantially across languages and formats, we use language-specific procedures to construct the dictionaries. Appendix § 8 describes the data sources and processing procedures and reports the number of entries collected for each language (Table 5).

LanguageNumber of Words
Indonesian71,017
Javanese65,568
Vietnamese33,968
Minangkabau33,149
Acehnese10,638
Hitu1,347

Table 5. Number of words in the dictionary of each language.

We next estimate how frequently each dictionary word is likely to occur in natural text. Direct frequency estimates are unavailable or unreliable for many of our target languages, particularly the extremely low-resource ones. We therefore derive approximate frequencies from English using the Dictionary Word Frequency dataset,2 which provides unigram counts from Google Books. Each entry ww is assigned the frequency f(w)f(w) of its English equivalent en⁡(w)\operatorname{en}(w). Entries whose English equivalent has no frequency are excluded from frequency-based sampling, and the remaining entries form the vocabulary V⊆D\mathcal{V} \subseteq\mathcal{D}. We rank the entries of V\mathcal{V} from highest to lowest f(w)f(w) and denote the rank of entry ww by r(w)r(w), so that r(w)=1r(w) = 1 for the most frequent entry. The resulting distribution is heavy-tailed, with a small number of highly frequent words and a long tail of less frequent words, consistent with Zipf’s law. We use this ranking for word-candidate sampling in Stage 3.

Stage 2: Collecting Few-Shot Exemplars. In parallel, we collect a small set of human-written exemplars to provide syntactic and contextual guidance for generation (Anikina et al., [1]). For each language (§ 4), we recruit one native-speaker annotator. Recruiting native speakers is particularly challenging for the extremely low-resource languages in our study. To ensure the quality of the exemplars, we apply strict eligibility criteria: annotators must have at least a senior high school education, must have lived for at least 10 years in a community where the target language is spoken, and must have at least one parent who speaks the language. Each annotator writes 40 sentences and 5 paragraphs. The sentences cover four target lengths (5, 10, 15, and 20 words), with 10 sentences per length. Each paragraph contains at least three sentences and at least 25 words. We denote the resulting pool of exemplars by E\mathcal{E}. Each exemplar e∈Ee \in\mathcal{E} consists of a target-language text, its English translation, and the set of dictionary entries D(e)⊆D\mathcal{D}(e) \subseteq\mathcal{D} used to compose it, following the schema of Stage 1. These exemplars show how dictionary entries are composed naturally in context, and we use them as few-shot guidance during generation. Appendix § 9 describes the annotation procedure in detail.

Stage 3: Sampling Word Candidates. To generate each synthetic sentence or paragraph, we provide the LLM with two inputs: ss few-shot exemplars and kk word candidates. The exemplars provide syntactic and contextual guidance, while the word candidates encourage lexical diversity. Sampling uniformly from the vocabulary, however, would overrepresent rare words and underrepresent common ones, including function words. We therefore sample the word candidates using the frequency estimates from Stage 1, so that they better reflect natural patterns of word usage.

We split V\mathcal{V} at a rank boundary bb into high-frequency entries H\mathcal{H} and low-frequency entries L\mathcal{L} (Figure 1):

H={w∈V:r(w)≤b},L=V∖H.(1)\mathcal{H} = \{w \in\mathcal{V} : r(w) \le b\}, \qquad\mathcal{L} = \mathcal{V} \setminus\mathcal{H}. \tag*{(1)}

The word candidates should include entries from both sets. A composition parameter c∈[0,1]c \in[0,1] controls the proportion of high-frequency entries: of the kk word candidates, kH=⌊c⋅k⌋k_H = \lfloor c \cdot k \rfloor come from H\mathcal{H} and kL=k−kHk_L = k - k_H from L\mathcal{L}.

Sampling low-frequency entries independently tends to yield unrelated words that are hard to combine into a coherent text. We therefore restrict them to a single topic so that they are semantically related. For each generation, we draw a topic tt uniformly from a fixed list of 20 topics.3 We compute the semantic similarity sim⁡(w,t)\operatorname{sim}(w,t) between the English equivalent en⁡(w)\operatorname{en}(w) of each entry w∈Lw \in\mathcal{L} and the topic tt using a sentence-transformer model,4 precomputing these scores once per topic. We then define Lt⊆L\mathcal{L}_t \subseteq\mathcal{L} as the ⌈ρ⋅∣L∣⌉\lceil\rho\cdot|\mathcal{L}| \rceil entries with the highest similarity to tt, where ρ∈(0,1]\rho\in(0,1] is the topic fraction.

Within a subset S∈{H,Lt}S \in\{\mathcal{H},\mathcal{L}_t\}, each entry is sampled with probability proportional to its estimated frequency:

p(w∣S)=f(w)∑w′∈Sf(w′),w∈S.(2)p(w \mid S) = \frac{f(w)}{\sum_{w' \in S} f(w')}, \qquad w \in S. \tag*{(2)}

The candidate set CC is then

C=CH∪CLt,∣C∣=k,(3)C = C_H \cup C_{L_t}, \qquad|C| = k, \tag*{(3)}

where CHC_H consists of kHk_H entries drawn from H\mathcal{H} and CLtC_{L_t} of kLk_L entries drawn from Lt\mathcal{L}_t, both without replacement according to Equation (2), renormalized after each draw.

Stage 4: Assembling the Prompt. Given kk and ss, we first draw ss exemplars e1,…,ese_1, \ldots, e_s uniformly at random without replacement from E\mathcal{E}. Each exemplar eje_j is paired with its corresponding word candidate set Cj=D(ej)C_j = D(e_j), where D(ej)D(e_j) contains the dictionary entries provided when eje_j was created (Stage 2). Importantly, each exemplar uses only a subset of the provided candidates, demonstrating that the model should select words that fit naturally in context rather than force all candidates into the generated text. We then sample a new candidate set CC following Stage 3 and construct the prompt as

P=[(C1,e1);…;(Cs,es);C;I],(4)P = [(C_1,e_1); \ldots; (C_s,e_s); C; I], \tag*{(4)}

where [ ⋅ ; ⋅ ][\,\cdot\,;\,\cdot\,] denotes concatenation and II instructs the model to generate a new text using suitable words from CC. We submit PP to an LLM with reasoning enabled, allowing the model to reason over the provided lexical and syntactic information before producing the final text,

y∼LLM⁡(P).y \sim\operatorname{LLM}(P).

To generate NN synthetic texts, we repeat this procedure NN times, resampling the topic, few-shot exemplars, and candidate words for each generation.

Hyperparameters. Our final configuration uses k=300k = 300 word candidates, s=3s = 3 exemplars, a rank boundary of b=500b = 500, a composition of c=0.10c = 0.10, and a topic fraction of ρ=0.25\rho= 0.25. We selected these values through preliminary experiments in which we generated 5-word sentences and paragraphs under different settings (Appendix § 10) and asked annotators to rate the fluency of the generated texts.

Experimental Setup

Configurations

We conduct the experiment with 6 languages, 3 models, 2 thinking modes, 3 prompting strategies, and 5 text lengths, which results in a total of 540 combinations of configurations. We generate 100 outputs for each combination, yielding a total of 54,000 outputs. The configurations are as follows.

Languages. We experiment with six South-east Asian languages spanning different levels of resource availability: Indonesian and Vietnamese as medium-resource languages, Javanese and Minangkabau as low-resource languages, and Acehnese and Hitu as extremely low-resource languages.

Models and Thinking Modes. We evaluate three LLMs: Gemini 3.5 Flash ([8]), Claude Haiku 4.5 ([2]), and GPT-5.4 Mini ([17]). Each model is evaluated with reasoning enabled and disabled, resulting in six configurations. We initially also considered open-weight models, including Llama 3.3 70B ([9]; [15]) and Qwen2.5 72B ([25]). However, preliminary evaluation showed substantially lower fluency, particularly for low-resource languages. Because our primary fluency evaluation requires native-speaker judgments, we exclude these models from the full evaluation and focus our annotation budget on the stronger model configurations.

Prompting Strategies. We compare three prompting strategies that differ in the amount of information provided to the LLM. The first two serve as baselines, while the third is the strategy used in our method:

  1. Topic-Conditioned Zero-Shot Prompt (Zero-shot): This prompt only instructs the model to generate text in the target language about a given topic (see the full prompt in Appendix § 11).

  2. Few-Shot Exemplars Only Prompt (Few-shot): This prompt adds human-written exemplars of the target length to the instruction (see the full prompt in Appendix § 12).

  3. Few-Shot Exemplars and Word Candidates Prompt (Ours): This prompt adds both human-written exemplars of the target length and word candidates sampled from the dictionary to the instruction, as discussed in § 3 (see the full prompt in Appendix § 13).

Text Lengths. We generate texts at five sequence lengths: sentences of 5, 10, 15, and 20 words, and paragraphs consisting of 3 sentences and 25 words. This setup lets us test whether the LLM can generate text across a range of lengths.

Evaluation Metrics.

We evaluate the generated outputs along three dimensions: fluency, off-target rate, and lexical diversity. We compute each score at the level of a configuration.

Fluency. We conduct a human evaluation to assess the fluency of the generated texts. Due to annotation costs, we evaluate a subset of outputs covering three models with only thinking mode enabled, three prompting strategies, and three text lengths (5-word sentences, 15-word sentences, and paragraphs), with 30 texts per configuration, resulting in 810 texts per language. Each language is annotated by two annotators. They see only the generated texts, presented in a different random order for each annotator, and complete the annotation independently. They rate each text on a 1–5 scale following our annotation guidelines (see Appendix § 14), where a higher score indicates a more fluent and natural text. We measure inter-annotator agreement using Pearson and Spearman correlations and observe moderate agreement between the two annotators (see Table 1). The final fluency

LanguagePearsonSpearman
Indonesian0.5640.243
Vietnamese0.5540.516
Javanese0.3650.331
Minangkabau0.7470.736
Acehnese0.7740.771
Hitu0.4660.494

Table 1. Inter-annotator Pearson and Spearman correlations of human fluency ratings between the two annotators, by language.

score for each text is the average of the two annotators’ ratings.

Off-Target Rate. We measure off-target rate as the proportion of words in a generated text that do not appear in the target-language dictionary. This metric evaluates a model’s tendency to produce text outside the desired language, reflecting language confusion ([14]) or complete failure to produce that language. Scores range from 0 to 1, where 1 means that none of the generated text belongs to the target language, so higher values indicate greater language confusion. We score each output independently and average the scores over each configuration.

Lexical Diversity. We measure lexical diversity with a variant of distinct-nn that counts only nn-grams composed of target-language words. Let W\mathcal{W} be the set of target-language words in the dictionary D\mathcal{D}, and let Y\mathcal{Y} be the set of texts generated under one configuration. Each text y∈Yy \in\mathcal{Y} is a sequence of words (u1,…,uL)(u_1,\ldots,u_L), and an nn-gram is a sequence of nn consecutive words (ui,…,ui+n−1)(u_i,\ldots,u_{i+n-1}) within a single text. We call an nn-gram valid if all of its words belong to W\mathcal{W}. Let Gn(Y)G_n(\mathcal{Y}) be the multiset of all nn-grams in Y\mathcal{Y}, and let Un(Y)⊆Gn(Y)U_n(\mathcal{Y}) \subseteq G_n(\mathcal{Y}) be the set of distinct valid nn-grams:

Un(Y)={g∈Gn(Y):g1,…,gn∈W},(5)U_n(\mathcal{Y}) = \{g \in G_n(\mathcal{Y}) : g_1,\ldots,g_n \in\mathcal{W}\}, \tag*{(5)}

Lexical diversity is the ratio of distinct valid nn-grams to all nn-grams, averaged over nn-gram lengths 1 to nmax⁡n_{\max}:

LD⁡(Y)=1nmax⁡∑n=1nmax⁡∣Un(Y)∣∣Gn(Y)∣,(6)\operatorname{LD}(\mathcal{Y}) = \frac{1}{n_{\max}} \sum_{n=1}^{n_{\max}} \frac{|U_n(\mathcal{Y})|}{|G_n(\mathcal{Y})|}, \tag*{(6)}

where we set nmax⁡=5n_{\max}=5. The score lies in [0,1][0,1] and decreases with both repeated nn-grams and off-target words, so higher values indicate a more diverse target-language vocabulary. We compute this score for each configuration.

Results

Table 2 reports the results for each language and prompt, averaged across all evaluated models. Results for each individual model and thinking mode are reported in Appendix § 17 (Table 8). We organize the discussion around the evaluation metrics described in § 4.2.

LanguagePromptFluency ↑ 515Para.Off-Target Rate ↓Lexical Diversity ↑ 5101520Para.
Medium-Resource Languages
IndonesianZero-shot4.9894.9504.7610.0280.5420.5730.5700.5880.546
Few-shot4.9944.9944.9940.0180.4300.5200.5680.6080.548
Ours4.9724.9114.8110.0140.8680.8590.8340.8170.721
VietnameseZero-shot4.6674.7444.7220.0150.4590.5460.5510.5480.508
Few-shot4.8564.8284.5220.0040.4570.5120.5230.5450.448
Ours4.5394.0173.5440.0010.8760.8450.8210.8000.712
Low-Resource Languages
JavaneseZero-shot3.9564.2394.3940.2520.2660.2820.2630.2730.242
Few-shot4.2674.1284.2280.2000.2960.2900.3110.3040.244
Ours3.7443.7283.8110.0900.7330.6320.6090.6040.470
MinangkabauZero-shot3.5003.5613.4170.3700.2340.2180.2060.2080.182
Few-shot3.8943.7893.5780.2210.3440.3340.3150.2930.256
Ours4.3174.0223.9220.0640.7990.7480.6740.6470.518
Extremely Low-Resource Languages
AcehneseZero-shot3.0722.8502.6330.4130.2000.1890.1710.1560.136
Few-shot3.6393.2392.7390.3150.2340.2300.2130.1980.192
Ours4.3393.8893.4440.0640.7020.6600.6440.6140.505
HituZero-shot1.7891.6611.6110.8360.0250.0170.0160.0150.013
Few-shot2.2832.3282.1170.6090.0780.0580.0630.0820.042
Ours3.3942.8672.8280.0600.7470.6700.6390.6150.509

Table 2. Fluency, off-target rate, and lexical diversity per language and prompt. Each value is the average over models and thinking mode (for fluency, only models with thinking mode enabled). Best per language in bold.

LanguageModelThinkingPromptFluency 5Fluency 15Fluency Para.Off-Target RateLexical Diversity 5Lexical Diversity 10Lexical Diversity 15Lexical Diversity 20Lexical Diversity Para.
Medium-Resource Languages
IndonesianGPTOnZero-shot4.9674.9334.4000.0360.5770.5410.5780.6060.565
Few-shot4.9835.0005.0000.0140.5330.5560.5460.6180.569
Ours4.9674.9174.7000.0150.8880.8570.8240.8170.715
OffZero-shot———0.0290.5790.5430.5730.5690.549
Few-shot———0.0150.4200.4650.5800.6120.543
Ours———0.0150.8730.8690.8490.8280.728
GeminiOnZero-shot5.0005.0004.9330.0280.5420.6410.6290.6810.556
Few-shot5.0005.0005.0000.0250.4200.6560.6730.6500.546
Ours4.9834.9504.9170.0110.8740.8610.8280.8220.724
OffZero-shot———0.0290.4540.4730.4290.4910.511
Few-shot———0.0160.1910.2400.2610.3950.530
Ours———0.0130.8690.8690.8470.8260.730
ClaudeOnZero-shot5.0004.9174.9500.0230.5900.7240.6780.6600.569
Few-shot5.0004.9834.9830.0230.6000.6860.7190.6970.619
Ours4.9674.8674.8170.0140.8450.8460.8240.7890.714
OffZero-shot———0.0250.5100.5170.5360.5190.526
Few-shot———0.0180.4160.5160.6310.6760.481
Ours———0.0160.8580.8500.8320.8170.716
VietnameseGPTOnZero-shot4.5674.6834.6830.0140.5540.6050.5780.5780.532
Few-shot4.8504.8174.4170.0010.4470.5070.4530.5160.452
Ours4.4673.9333.0500.0010.9060.8790.8520.8330.737
OffZero-shot———0.0140.4270.5140.5350.5500.535
Few-shot———0.0010.3770.3840.3220.4350.374
Ours———0.0010.9000.8550.8570.8300.743
GeminiOnZero-shot4.9004.9004.9330.0170.3990.6390.6670.6130.493
Few-shot4.9504.9334.8170.0070.3990.5230.6000.5510.465
Ours4.8174.4174.1330.0020.8610.8300.7970.7670.683
OffZero-shot———0.0180.3610.4050.3820.4390.441
Few-shot———0.0050.4440.4300.4880.5100.400
Ours———0.0010.8670.8170.7910.7780.690
ClaudeOnZero-shot4.5334.6504.5500.0150.5580.6440.6540.6210.538
Few-shot4.7674.7334.3330.0070.6400.6850.7110.7010.486
Ours4.3333.7003.4500.0020.8410.8280.8020.7900.711
OffZero-shot———0.0140.4570.4710.4930.4870.508
Few-shot———0.0050.4330.5430.5660.5570.512
Ours———0.0010.8810.8600.8270.8020.708
Low-Resource Languages
JavaneseGPTOnZero-shot4.2004.4174.4830.2070.2860.3410.3080.3220.307
Few-shot4.5504.2174.3170.1530.3000.3540.3580.3530.288
Ours3.3833.6833.8500.1050.7530.6160.5820.5760.448
OffZero-shot———0.2170.3140.2950.2950.3000.288
Few-shot———0.1410.3670.3080.3160.3430.304
Ours———0.0900.7360.6420.6040.5770.486
GeminiOnZero-shot4.5504.1504.5830.2590.1960.2770.2650.2860.228
Few-shot4.5834.2674.4830.2010.2790.2760.3350.3180.220
Ours3.9833.8503.9000.0960.7440.6040.6350.5940.427
OffZero-shot———0.2640.1780.2530.2270.2390.209
Few-shot———0.1940.2040.1970.2600.2340.195
Ours———0.0760.7120.6670.6200.6660.525
LanguageModelThinkingPromptFluency 5Fluency 15Fluency Para.Off-Target RateLexical Diversity 5Lexical Diversity 10Lexical Diversity 15Lexical Diversity 20Lexical Diversity Para.
ClaudeOnZero-shot3.1174.1504.1170.2790.3220.2940.2470.2620.220
Few-shot3.6673.9003.8830.2580.3440.3230.3330.2970.244
Ours3.8673.6503.6830.0890.7510.6240.5860.5990.436
OffZero-shot———0.2830.2990.2350.2360.2310.201
Few-shot———0.2510.2830.2830.2630.2780.215
Ours———0.0850.7010.6420.6310.6140.496
MinangkabauGPTOnZero-shot3.9673.7333.4670.3100.2910.2400.2390.2360.250
Few-shot4.1833.8833.4830.1900.4840.3700.3490.3140.277
Ours4.3674.1503.8330.0590.8200.7630.7010.6470.520
OffZero-shot———0.3420.2530.2260.2250.2330.203
Few-shot———0.2110.4420.3590.3410.2840.287
Ours———0.0810.8120.7000.6240.5790.504
GeminiOnZero-shot4.7504.8674.8500.2220.3540.3750.3270.3200.249
Few-shot4.9334.9004.9500.1220.3470.4470.4120.3830.320
Ours4.6334.5504.8170.0450.8330.7810.6990.6870.539
OffZero-shot———0.2520.2620.2760.2830.2960.244
Few-shot———0.1490.2660.3400.3650.3530.330
Ours———0.0620.7310.7760.6750.6650.553
ClaudeOnZero-shot1.7832.0831.9330.5430.1210.0850.0860.0840.091
Few-shot2.5672.5832.3000.3360.2940.2460.2330.2060.166
Ours3.9503.3673.1170.0760.8130.7190.6350.6120.451
OffZero-shot———0.5520.1220.1060.0740.0820.058
Few-shot———0.3180.2340.2380.1880.2210.158
Ours———0.0610.7870.7470.7130.6930.540
Extremely Low-Resource Languages
AcehneseGPTOnZero-shot3.3002.7672.5170.3660.2530.2200.1970.1670.157
Few-shot3.8173.0832.4170.3070.3380.2620.2120.1830.158
Ours4.3673.7503.1330.0580.8100.7360.7000.6390.454
OffZero-shot———0.3770.2420.2330.1940.1770.176
Few-shot———0.3030.2760.2930.2270.2160.202
Ours———0.0950.7600.6380.6030.5620.436
GeminiOnZero-shot4.6004.6504.0170.2640.2730.2950.2650.2520.210
Few-shot4.8174.4834.2830.2060.2560.2880.3240.2690.263
Ours4.7334.5834.4830.0720.5370.5870.5760.5640.512
OffZero-shot———0.3650.1620.1900.2100.1770.177
Few-shot———0.2760.1460.2500.2390.2340.237
Ours———0.0720.5700.6200.5930.6010.531
ClaudeOnZero-shot1.3171.1331.3670.5610.1260.1000.0760.0840.055
Few-shot2.2832.1501.5170.3950.1980.1450.1360.1580.151
Ours3.9173.3332.7170.0520.7650.6590.6650.6110.513
OffZero-shot———0.5460.1440.0980.0860.0770.042
Few-shot———0.4030.1930.1430.1420.1260.139
Ours———0.0360.7700.7200.7240.7100.586
HituGPTOnZero-shot1.7831.5501.5170.8900.0150.0110.0070.0090.005
Few-shot2.2172.1671.8000.6720.0540.0180.0330.0540.013
Ours3.2002.9172.7500.0490.7750.6990.6260.5900.459
OffZero-shot———0.8920.0140.0110.0090.0070.007
Few-shot———0.6760.0740.0460.0270.0630.016
Ours———0.1440.6450.5210.4640.4720.302
LanguageModelThinkingPromptFluency ↑\uparrow 5Fluency ↑\uparrow 15Fluency ↑\uparrow Para.Off-Target Rate ↓\downarrowLexical Diversity ↑\uparrow 5Lexical Diversity ↑\uparrow 10Lexical Diversity ↑\uparrow 15Lexical Diversity ↑\uparrow 20Lexical Diversity ↑\uparrow Para.
GeminiOnZero-shot2.5832.4332.3170.6950.0770.0490.0490.0430.041
GeminiOnFew-shot2.5672.6832.7830.4330.1490.1260.1200.1270.099
GeminiOnOurs3.5833.0502.9500.0390.7520.6790.6640.6140.556
GeminiOffZero-shot———0.7770.0430.0310.0280.0310.026
GeminiOffFew-shot———0.6420.0780.0610.0660.0770.074
GeminiOffOurs———0.0500.7390.6710.6560.6290.552
ClaudeOnZero-shot1.0001.0001.0000.8810.0000.0000.0000.0000.000
ClaudeOnFew-shot2.0672.1331.7670.6630.0440.0360.0510.0790.025
ClaudeOnOurs3.4002.6332.7830.0360.7790.7190.7330.6800.615
ClaudeOffZero-shot———0.8790.0000.0000.0000.0000.000
ClaudeOffFew-shot———0.5660.0690.0650.0830.0950.027
ClaudeOffOurs———0.0410.7900.7340.6880.7070.572

Table 8. continued from previous page

Fluency. Our prompt achieves the highest fluency for Minangkabau, Acehnese, and Hitu at every text length, exceeding the best baseline by an average of 0.33, 0.69, and 0.79 points, respectively. The margin grows as resource availability decreases and is largest for the extremely low-resource languages, where baseline fluency drops sharply (e.g., 1.61–1.79 for zero-shot in Hitu). For Indonesian, all prompts score close to the maximum, with few-shot marginally ahead. For Vietnamese and Javanese, however, our prompt trails both baselines, particularly for Vietnamese paragraphs (3.54 vs. 4.72 for zero-shot). We hypothesize that this stems from the quality of the underlying dictionaries: inaccurate or poorly matched entries are passed directly to the model, whereas the baselines rely only on its own knowledge. We examine this hypothesis in § 6. Finally, fluency generally decreases as texts get longer.

Off-Target Rate. Our prompt achieves the lowest off-target rate in all six languages. For both baselines, the rate rises steadily as resource availability decreases: with zero-shot prompting, it grows from 0.015–0.028 for the medium-resource languages to 0.836 for Hitu, where most generated words are not in the target language. Our prompt breaks this pattern, keeping the rate at or below 0.090 for every language. The reductions are therefore largest for the extremely low-resource languages, from 0.609 with few-shot prompting to 0.060 for Hitu and from 0.315 to 0.064 for Acehnese. For Indonesian and Vietnamese, all prompts produce very few off-target words, with differences of at most 0.014.

Lexical Diversity. Our prompt yields the highest lexical diversity for every language and text length. The gains hold even for the medium-resource languages, where off-target words are rare: for Indonesian, our prompt scores 0.72–0.87 against 0.43–0.61 for the baselines, indicating that the word candidates broaden the vocabulary rather than only reducing off-target words. The gap widens as resource availability decreases. For Hitu, the baselines score below 0.09 at every length because their outputs are largely off-target and repetitive, whereas our prompt scores 0.51–0.75, an average improvement of 0.57 over few-shot prompting. For our prompt, lexical diversity decreases steadily with text length in every language and is lowest for paragraphs, partly because longer texts inevitably repeat common words.

Analysis

Dictionary Qualities Hinder Fluency in Vietnamese and Javanese. Our method scores below the baselines in fluency for Vietnamese and Javanese. To investigate these cases, we asked the annotators to examine the generated texts and the vocabulary entries provided to the model. Their feedback suggests that dictionary quality plays an important role. For Vietnamese, some dictionary entries were valid but uncommon in everyday usage, while more familiar alternatives were missing. As a result, semantically correct generations could still sound unnatural to native speakers. For Javanese, the dictionary primarily represents the Yogyakarta variety, whereas our annotator speaks Javanese with Arekan dialect. This mismatch led to unfamiliar vocabulary appearing in the generated text, reducing perceived fluency despite the words being valid dictionary entries. These observations highlight an important practical consideration for vocabulary-guided generation: the dictionary should be validated for both lexical coverage and alignment with the target language variety before large-scale generation. In particular, commonly used words should be adequately represented, and the lexical resource should match the variety spoken by the intended users.

Reliability of the LLM-as-a-Judge for Fluency Evaluation. We assess the reliability of the LLM-

as-a-judge by comparing the fluency scores it assigns against the human fluency scores collected in our previous human evaluation (§ 4.2) using the mean of the two annotators’ scores across six languages. We use Gemini 2.5 Flash [7] as the judge. For each language, let hih_i denote the mean of the human fluency scores and jij_i the judge’s score for the ii-th output, over NN outputs. We report Spearman’s rank correlation ρ\rho between hih_i and jij_i to measure how well the judge preserves the human ranking of outputs. Mean Absolute Error (MAE) to measure how far its scores deviate from human scores, and mean signed bias to measure whether it over- or underestimates fluency.

MAE=1N∑i=1N∣ji−hi∣\mathrm{MAE} = \frac{1}{N} \sum_{i=1}^{N} \lvert j_i - h_i \rvert
Bias=1N∑i=1N(ji−hi)\mathrm{Bias} = \frac{1}{N} \sum_{i=1}^{N} (j_i - h_i)

The judge’s reliability varies across languages, as shown in Table 3. Spearman’s correlation is moderate for most languages, strongest for Acehnese (0.69), and weakest for Hitu (0.15), suggesting that the judge’s rankings of Hitu texts align poorly with human judgments of fluency. MAE and bias show a clearer pattern. For Indonesian, the judge’s scores show the closest agreement with human ratings, with the lowest MAE (0.12) and a near-zero bias (-0.04). For the remaining languages, the MAE is generally higher, and the bias is consistently positive, indicating that the judge tends to assign higher scores than the human. This overestimation is particularly pronounced for Minangkabau (+0.60) and Acehnese (+0.58), and greatest for Hitu, which also has the highest MAE (+1.19).

LanguageSpearmanMAEBias
Indonesian0.370.12-0.04
Vietnamese0.390.44+0.40
Javanese0.340.87+0.44
Minangkabau0.470.91+0.60
Acehnese0.690.86+0.58
Hitu0.151.70+1.19

Table 3. Reliability of the LLM judge (Gemini 2.5 Flash) on fluency evaluation, measured against human ratings.

Overall, the results show that the judge’s agreement with human annotators varies across languages. While its fluency rankings align relatively well with human judgments for Acehnese, it tends to assign higher scores than human annotators and has larger scoring errors for several lower-resource languages. Therefore, LLM-as-a-judge should be used with caution for fluency evaluation in these languages and should not be considered a substitute for human evaluation.

Thinking vs. Non-thinking Mode. Table 4 compares the thinking mode between enabled and disabled mode for the three LRLs (Hitu, Minangkabau, and Acehnese). Enabling thinking tends to improve generation quality, but the effect depends on the model. Gemini 3.5 Flash benefits most, reducing the off-target rate by 0.06 and increasing lexical diversity by 0.03. GPT-5.4 Mini shows a smaller gain, with the off-target rate decreasing by 0.02 and lexical diversity increasing by 0.03. Claude Haiku 4.5 is the exception, as thinking brings no benefit. Overall, thinking helps in most cases, but the benefit is model-dependent.

ModelThinkingOff-Target Rate ↓Lexical Diversity ↑
GPTOff0.3470.311
On0.3220.341
GeminiOff0.2940.336
On0.2330.371
ClaudeOff0.3780.300
On0.3940.290

Table 4. Results per model and thinking mode, averaged over three languages (Hitu, Minangkabau, and Acehnese) and three prompts. Lexical diversity is averaged over the 5-, 10-, 15-, 20-word and paragraph settings. The best score between the thinking modes is shown in bold.

Robustness Under Increasing Generation Volume. We investigate whether generating larger volumes of text leads to reduced lexical diversity and whether our prompt mitigates this effect compared with the baselines. We run this stress test experiment in Minangkabau and Hitu, generating up to 1,000 five-word sentences for each prompting strategy using Gemini 3.5 Flash with thinking mode enabled. We compute the percentage of unique valid n-grams among those observed in the first NN sentences, where N=100,200,…,1000N = 100, 200, \ldots, 1000.

Figure 2 and Figure 3 show that this percentage decreases as more sentences are generated across all prompting strategies, which is expected as repeated n-grams accumulate. In Minangkabau, the zero-shot and few-shot scores are 0.32 and 0.36 at 100 sentences and drop to between 0.14 and 0.15 at 1,000 sentences. The same pattern holds in Hitu, where the zero-shot and few-shot scores fall from 0.16 and 0.05 to 0.09 and 0.04, respectively. However, our prompt consistently maintains a higher percentage than the baselines in both languages, suggesting that it better preserves lexical diversity as generation volume increases.

Average percentage of unique valid n-grams as the number of generated Minangkabau sentences increases

Figure 2. Average percentage of unique valid n-grams as the number of generated Minangkabau sentences increases.

Average percentage of unique valid n-grams as the number of generated Hitu sentences increases

Figure 3. Average percentage of unique valid n-grams as the number of generated Hitu sentences increases.

Conclusion

We introduced a training-free framework that leverages human-curated vocabularies, human-written exemplars, and LLM reasoning to generate synthetic text in low-resource languages. Across six languages, our framework produces more lexically diverse text with fewer off-target words than the baselines, while improving fluency particularly for the extremely low-resource Acehnese and Hitu. These results show the potential of human-curated vocabularies for bootstrapping synthetic text corpora where existing text resources are limited.

Our analysis also highlights important practical considerations. Dictionary quality and alignment with the target language variety can substantially affect generation quality, making vocabulary validation important before large-scale generation. The framework also requires additional input tokens for word candidates and exemplars, creating a trade-off between generation quality and cost. Future work should extend the framework to more low-resource languages and investigate whether the resulting synthetic corpora improve LLM pretraining and post-training.

Limitations

Our experiments cover six Southeast Asian languages, five of which are Austronesian and all written in Latin script. Five are spoken in Indonesia and share considerable lexical material with Indonesian, a setting that is likely to favor positive transfer. We therefore cannot claim that the framework generalizes to non-Latin scripts or to agglutinative or polysynthetic morphology. We further describe Hitu as unseen during pretraining, but the training corpora of the three commercial models we use are not public, so this characterization is inferred from model behavior rather than established, as illustrated in Appendix § 15.

As our experiments are extensive, generating 54,000 texts made broad model coverage too costly, so we limit our study to three proprietary models accessed through commercial APIs, all from the economy tier of their respective families. Our findings are therefore restricted to these models, which are the latest versions of these model families at the time of our experiments. It remains unclear whether the gains hold for larger or more recent models, which may already encode more of these languages.

Furthermore, we evaluate the fluency, off-target rate, and lexical diversity of the generated text, but we have not trained or fine-tuned any model on the resulting data. With the quality gains in fluency and lexical diversity reported in Table 2, we see this as a promising direction for future work: testing whether our method benefits downstream models, particularly for LRLs.

Ethical Considerations

This work involved native speakers of the six target languages, who wrote the few-shot exemplars (Appendix § 9) and rated the fluency of the generated texts (Appendix § 14). Before agreeing to participate, annotators were informed of the purpose of the study, the expected workload, and the intended research use of their contributions. They were paid above the regional minimum wage in Indonesia and Vietnam and were free to withdraw at any point. No personal or sensitive information was collected, and none appears in our released materials. The Javanese, Minangkabau, Hitu, and Acehnese dictionaries are published by the Indonesian Ministry of Primary and Secondary Education, and the Indonesian and Vietnamese resources are distributed under Apache-2.0 and MIT licences; we use all resources for non-commercial academic research only and cite them in full (Appendix § 8).

Acknowledgments

This research was conducted through the apprenticeship program organized by the SEACrowd community. We are grateful to SEACrowd for facilitating this initiative and supporting emerging researchers in their early research journey by providing a platform for research collaboration and learning.

Zheng Xin Yong, Cristina Menghini, and Stephen Bach. 2024. LexC-gen: Generating data for extremely low-resource languages with large language models and bilingual lexicons. In Findings of the Association for Computational Linguistics: EMNLP 2024, pages 13990–14009, Miami, Florida, USA. Association for Computational Linguistics.

Chen Zhang, Xiao Liu, Jiuheng Lin, and Yansong Feng. 2024. Teaching large language models an unseen language on the fly. In Findings of the Association for Computational Linguistics: ACL 2024, Bangkok, Thailand. Association for Computational Linguistics.

Tongyao Zhu, Qian Liu, Chang Ma, Jinghan Zhang, Longxu Dou, Junxian He, and Shiqi Chen. 2026. How can synthetic data improve multilingual language model pretraining? a data quality perspective. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 21943–21956, San Diego, California, United States. Association for Computational Linguistics.

Dictionary Resources

The available resources vary across the languages used in our experiments. For Javanese5 and Minangkabau6, we collect dictionary entries through web scraping. Some entries in the Javanese dictionary lack information such as POS and example sentences. We use Gemini 3.5 Flash to fill in these missing fields based on the word and definition. For Hitu7 and Acehnese8, the dictionary resources are available as PDF documents. We therefore use Gemini 3.5 Flash to extract the content from the scanned dictionary pages and convert it into a structured dataset. For Indonesian9 and Vietnamese10, we use an existing dictionary dataset available on Hugging Face. We further process the entries to obtain a consistent format across languages. For non-English definitions, we use Google Translate11 to translate them into English. We show the collected dictionary size in Table 5.

Copyright and licensing. All resources are used solely for non-commercial academic research. The Javanese, Minangkabau, Hitu, and Acehnese dictionaries are published by the Indonesian Ministry of Primary and Secondary Education (Kemendikdasmen), and we cite the sources in full as permitted

under Article 44 of the Indonesian Copyright Law (UU No. 28 Tahun 2014).12 The Indonesian and Vietnamese datasets are obtained from Hugging Face, where their licenses are stated as Apache-2.0 and MIT, respectively.

Few-Shot Exemplar Creation Procedure

We assigned one native-speaker annotator to each target language. Each annotator is a native speaker of or fluent in the target local language and has lived in the region where the language is spoken for a period of time.

The exemplar creation process began with the development of annotation guidelines. Before commencing the task, annotators were asked to read the guidelines carefully and were encouraged to raise any questions or seek clarification about aspects they found unclear.

Each annotator was provided with a separate Google Sheets document to record the exemplars they created, along with the corresponding dictionary dataset to facilitate the selection of candidate words. The dictionary entries provided lexical information, including the word, part of speech, English definition, and example sentence. Annotators were instructed to use words from the provided dictionary dataset whenever possible when constructing the exemplars. A Jupyter Notebook was also provided to assist annotators in searching relevant dictionary entries. Figure 4 presents the guidelines.

  • 10 sentences of approximately 5 words each;

  • 10 sentences of approximately 10 words each;

  • 10 sentences of approximately 15 words each;

  • 10 sentences of approximately 20 words each; and

  • 5 paragraphs, with each paragraph containing at least 3 sentences and at least 25 words.

Small variations in sentence length are acceptable as long as the sentence remains natural. For example, a target of 5 words corresponds approximately to 4–6 words, while a target of 10 words corresponds approximately to 9–11 words.

For each exemplar, annotators should fill the following fields:

  • sentence: the sentence or paragraph written in the target language;

  • translation: the English translation of the sentence or paragraph; and

  • words_candidates: the dictionary entries corresponding to the words used to construct the sentence or paragraph.

For the words_candidates field, annotators should identify the dictionary entry corresponding to each word used in the sentence whenever possible. Dictionary entries are provided in the following format:

word | pos | definition | example

where word is the word in the target language, pos is its part of speech, definition is its English definition, and example is an example sentence when available.

Annotators should use words from the provided dictionary dataset whenever possible. If an additional word is needed to produce a natural and grammatically correct sentence but is not available in the dictionary dataset, the annotator may introduce it as a new word candidate. The new word should also be recorded using the same dictionary entry format.

Figure 4. Guidelines for creating few-shot exemplars.

Exemplar Creation Guidelines

The annotation task consists of creating 40 sentences and 5 paragraphs in the target language. The sentences should be distributed as follows:

Hyperparameter Settings

We selected the final hyperparameters through preliminary experiments. For each candidate configuration, we generated 15 five-word sentences and paragraphs, and annotators rated the fluency of the generated texts. Table 6 lists the hyperparameters and the values we searched over.

Param.DescriptionValues
kkNumber of word candidates[100, 300, 500]
nnNumber of few-shot examples[3, 5, 7, 10]
bbRank boundary[100, 500, 1000]
ccComposition[10%, 20%, 50%]
ppTop-pp similarity fraction[25%, 50%]

Table 6. Hyperparameter settings.

Topic-Conditioned Zero-Shot Prompt

Figure 5 presents the prompt template used for topic-related generation. The [TARGET_LANGUAGE], [OUTPUT_TYPE], [TOPIC], and [TARGET_SENTENCE_LENGTH] are filled by the target language (Hitu, Indonesian, Javanese, Minangkabau, Vietnamese, or Acehnese), the output type (SENTENCE or PARAGRAPH), a single topic, and the target sentence length (5, 10, 15, or 20 words), respectively. The topic is one of the following 20 topics: food, family, holiday, travel, health, fitness, education, technology, music, movies, books, fashion, nature, pets, business, art, science, gaming, home, and garden.

Template for topic-conditioned zero-shot prompt
Generate a [OUTPUT_TYPE] in the [TARGET_LANGUAGE] language about [TOPIC].

IF OUTPUT_TYPE == SENTENCE:
Ensure that the sentence is around [TARGET_SENTENCE_LENGTH] words long.
IF OUTPUT_TYPE == PARAGRAPH:
Ensure that the paragraph contains at least 3 sentences and at least 25 words.

Return only the [OUTPUT_TYPE].

Figure 5. Template for topic-conditioned zero-shot prompt.

Few-Shot Exemplars Only Prompt

Figure 6 presents the prompt template used for generation with few-shot exemplars only, without word candidates. The [TARGET_LANGUAGE], [OUTPUT_TYPE], and [TARGET_SENTENCE_LENGTH] are filled by the target language, the output type (SENTENCE or PARAGRAPH), and the target sentence length (5, 10, 15, or 20 words), respectively. The few-shot examples ({FEW_SHOT_EXAMPLE_1} to {FEW_SHOT_EXAMPLE_N}) are NN sample outputs in the target language, which serve only as guidance for style, grammar, and fluency.

You are a linguistic expert in [TARGET_LANGUAGE].

TASK: Create one coherent [OUTPUT_TYPE] in [TARGET_LANGUAGE].

===

RULES (MUST FOLLOW):

===

  1. FEW-SHOT GUIDANCE:

  • Use the few-shot examples only as guidance for writing style, grammar, fluency, and natural sentence structure.

  • Do not reuse the main entities, events, or semantic content from any few-shot example.

  • Do not create output that is a paraphrase, extension, recombination, or slight modification of a few-shot example.

  1. PUNCTUATION & CASING:

  • You ARE allowed to use standard punctuation.

  • You ARE allowed to capitalize the first letter of a word.

  1. LENGTH & COVERAGE: IF OUTPUT_TYPE == SENTENCE:

  • Output exactly one sentence.

  • The sentence should be around [TARGET_SENTENCE_LENGTH] words. IF OUTPUT_TYPE == PARAGRAPH:

  • Output a paragraph containing at least 3 sentences.

  • The paragraph must contain at least 25 words.

  1. QUALITY:

  • The output must be grammatically correct in [TARGET_LANGUAGE].

  • Prioritize natural, coherent, and meaningful output.

===

FEW-SHOT EXAMPLES (NN Examples)

===

Example 1: {FEW_SHOT_EXAMPLE_1} Example 2: {FEW_SHOT_EXAMPLE_2} ⋮ Example N: {FEW_SHOT_EXAMPLE_N}

===

END OF EXAMPLES.

===

Return only the [OUTPUT_TYPE].

Figure 6: Template for few-shot exemplars only prompt.

Few-Shot Exemplars and Word Candidates Prompt

Figure 7 presents the prompt template used for generation with few-shot exemplars and word candidates. The [TARGET_LANGUAGE], [OUTPUT_TYPE], and [TARGET_SENTENCE_LENGTH] are filled by the target language (Hitu, Indonesian, Javanese, Minangkabau, Vietnamese, or Acehnese), the output type (SENTENCE or PARAGRAPH), and the target sentence length (5, 10, 15, or 20 words), respectively. The few-shot examples consist of NN exemplars. Each exemplar ii contains a list of word candidates ([WORD_CANDIDATES_i]), formatted as <word> | <part-of-speech> | <meaning> | <example_usage>, followed by its corresponding output in the target language ([FEW_SHOT_EXAMPLE_i]). The final [WORD_CANDIDATES] are the candidate words, in the same format, for which a new output is to be generated.

You are a linguistic expert in [TARGET_LANGUAGE].

TASK: Create one coherent [OUTPUT_TYPE] in [TARGET_LANGUAGE] that sounds natural and fluent to a native speaker.

===

RULES (MUST FOLLOW):

===

  1. VOCABULARY:

  • Each entry in the “Word Candidates” list fol-

lows this structure, separated by “ | ”:

<word> | <part-of-speech> | <meaning> | <example_usage>

where:

  • <word>: the [TARGET_LANGUAGE] word to use.

  • <part-of-speech>: the grammatical role of the word (e.g., noun, verb, adjective).

  • <meaning>: the English meaning of the word.

  • <example_usage>: one or more example sentences in [TARGET_LANGUAGE] showing how the word is naturally used, for reference only. If multiple examples are given, they are separated by “ * ”.

  • Use the word candidates list as vocabulary guidance rather than a strict requirement.

  • Try to use the candidate words where they fit naturally in the output.

  1. LENGTH & COVERAGE:

IF OUTPUT_TYPE == SENTENCE:

  • Output exactly one sentence.

  • The sentence should be around [TARGET_SENTENCE_LENGTH] words.

IF OUTPUT_TYPE == PARAGRAPH:

  • Output a paragraph containing at least 3 sentences.

  • The paragraph must contain at least 25 words.

  1. PUNCTUATION & CASING:

  • You ARE allowed to use standard punctuation (periods, commas, question marks).

  • You ARE allowed to capitalize the first letter of a word to start the output or for proper nouns.

  1. QUALITY:

  • The output must be grammatically correct in [TARGET_LANGUAGE].

  • DO NOT prioritize length over logical coherence. Prioritize natural, coherent, and meaningful output.

  • DO NOT use specialized/technical terms unless they fit the context perfectly.

  1. ORIGINALITY:

  • Do not reuse the main entities, events, or semantic content from any few-shot example.

  • Do not create output that is a paraphrase, extension, recombination, or slight modification of a few-shot example.

=== FEW-SHOT EXAMPLES (NN Examples) === Example 1 Word Candidates: [WORD_CANDIDATES_1] Output: [FEW_SHOT_EXAMPLE_1]

Example 2 Word Candidates: [WORD_CANDIDATES_2] Output: [FEW_SHOT_EXAMPLE_2]

⋮

Example NN Word Candidates: [WORD_CANDIDATES_N] Output: [FEW_SHOT_EXAMPLE_N] === END OF EXAMPLES. ===

Generate a new, unique [OUTPUT_TYPE] based on the candidates below: === WORD CANDIDATES: [WORD_CANDIDATES] ===

Return only the [OUTPUT_TYPE].

Template for few-shot exemplars and word candidates prompt

Figure 7. Template for few-shot exemplars and word candidates prompt.

Human Evaluation Guidelines

Each annotator received a spreadsheet of the 810 generated texts for their language, with the texts in an output column, together with the instructions shown in Figure 8.

Instructions given to human annotators for the fluency evaluation

Figure 8. Instructions given to human annotators for the fluency evaluation.

As a native speaker of [TARGET_LANGUAGE], your task is to rate the fluency of each given text on a 1–5 Likert scale.

Scoring Rubric:

  1. Very Poor: The text is largely unintelligible due to severe grammatical errors, broken syntax, or nonsensical word order. The in-

tended meaning is difficult or impossible to determine. This score also applies if the text is an automated error response or is written in another language.

  1. Poor: The intended meaning is mostly recoverable, but frequent grammatical errors, incorrect word order, or unnatural phrasing make the text difficult to read.

  1. Fair: The meaning is clear, but the text contains some grammatical errors or awkward constructions that reduce its naturalness.

  1. Good: The text is grammatically correct and easy to understand, with only minor stylistic awkwardness or slightly unnatural wording.

  1. Excellent: The text is completely fluent, natural, and reads as if written by a proficient native speaker.

Examples:

  1. Very Poor: “Yesterday market she because apples the quickly and was.”

  1. Poor: “She go market yesterday buy apples for she family.”

  1. Fair: “She went to market yesterday for buying apples for her family.”

  1. Good: “She went to the market yesterday to buy apples for her family.”

  1. Excellent: “She went to the market yesterday to buy fresh apples for her family, since they had run out at home.”

Output Sample Comparison Between Baseline and Our Pipeline

Table 7 illustrates how our method outperforms the baseline in Hitu using Claude Haiku 4.5. Without the few-shot exemplars and word candidates, the model fails to generate Hitu sentences and paragraphs because of its limited knowledge of the language. With the few-shot exemplars and the word candidates that offer vocabulary options (and without further training), the same model generates more fluent text in this language.

LanguageGenerated TextHuman Score
5-word sentences
Zero-shotI don’t have reliable knowledge of the Hitu language to generate an accurate sentence. Hitu is a small Austronesian language spoken in Indonesia, and ...1
OursMalole ma laka tarus nela.5
Paragraphs
Zero-shotI appreciate your request, but I must be honest: I don’t have reliable knowledge of the Hitu language to generate authentic text in it. Hitu is a language spoken in Indonesia’s Maluku Islands ...1
OursBaba laha ina una hetu ele luma asusu kula hatu pata maroto nale tolua. Sitewa manusia lalutu sataenai nai hahitin luma ma lama ingkuat hele. Ite manumpang kareta le lahan mahain ena supulumai tania kalu tawar heli opo palutan nyela.3

Table 7. The sample outputs of Claude Haiku 4.5 in zero-shot and our method at the 5-word sentence and paragraph level.

Information About AI Usage

We used AI assistants only for polishing the writing and for literature search. We manually read and verified all papers found through AI-assisted search, and we take full responsibility for the content of this paper. All ideas originate from the authors.

Detailed Results by Model and Thinking Mode

Table 8 reports fluency, off-target rate, and lexical diversity for each language, model, thinking mode, and prompt.

References

  1. [1]Tatiana Anikina, Jan Cegin, Jakub Simko, and Simon Ostermann. 2025. A rigorous evaluation of LLM data generation strategies for low-resource languages. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 8282–8303, Suzhou, China. Association for Computational Linguistics.
  2. [2]Anthropic. 2025. System card: Claude Haiku 4.5. Technical report, Anthropic. Accessed 2026-10-13.
  3. [3]Niyati Bafna, Tianjian Li, Kenton Murray, David R. Mortensen, David Yarowsky, Hale Sirin, and Daniel Khashabi. 2025. The translation barrier hypothesis: Multilingual generation with large language models suffers from implicit translation failure. In Proceedings of the 14th International Joint Conference on Natural Language Processing and the 4th Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics, pages 1541–1568, Mumbai, India. The Asian Federation of Natural Language Processing and The Association for Computational Linguistics.
  4. [4]Jan Cegin, Branislav Pecher, Jakub Simko, Ivan Srba, Maria Bielikova, and Peter Brusilovsky. 2025. Use random selection for now: Investigation of few-shot selection strategies in LLM-based text augmentation. In Findings of the Association for Computational Linguistics: EMNLP 2025, pages 5533–5550, Suzhou, China. Association for Computational Linguistics.
  5. [5]Meet Doshi, Raj Dabre, and Pushpak Bhattacharyya. 2024. Pretraining language models using translationese. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 5843–5862, Miami, Florida, USA. Association for Computational Linguistics.arxiv.org/abs/2403.13638
  6. [6]Steven Y. Feng, Varun Gangal, Jason Wei, Sarath Chandar, Souroush Vosoughi, Teruko Mitamura, and Edward Hovy. 2021. A survey of data augmentation approaches for NLP. In Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, pages 968–988, Online. Association for Computational Linguistics.
  7. [7]Google. 2025. Gemini 2.5 Flash. https://ai.google.dev/gemini-api/docs/models/gemini-2.5-flash. Released 17 June 2025. Accessed 2026-10-13.
  8. [8]Google. 2026. Gemini 3.5 Flash. https://ai.google.dev/gemini-api/docs/models/gemini-3.5-flash. Released 19 May 2026. Accessed 2026-10-13.
  9. [9]Aaron Grattafiori, Abhimanyu Dubey, Abhinav Jauhri, et al. 2024. The Llama 3 herd of models. arXiv preprint arXiv:2407.21783.arxiv.org/abs/2407.21783
  10. [10]Yanzhu Guo, Guokan Shang, Michalis Vazirgiannis, and Chloé Clavel. 2024. The curious decline of linguistic diversity: Training language models on synthetic text. In Findings of the Association for Computational Linguistics: NAACL 2024, pages 3589–3604, Mexico City, Mexico. Association for Computational Linguistics.arxiv.org/abs/2311.09807
  11. [11]Gauri Kambhatla, Chantal Shaib, and Venkata S Govindarajan. 2025. Measuring lexical diversity of synthetic data generated through fine-grained persona prompting. In Findings of the Association for Computational Linguistics: EMNLP 2025, pages 21024–21033, Suzhou, China. Association for Computational Linguistics.
  12. [12]Akbar Karimi, Leonardo Rossi, and Andrea Prati. 2021. AEDA: An easier data augmentation technique for text classification. In Findings of the Association for Computational Linguistics: EMNLP 2021, pages 2748–2754, Punta Cana, Dominican Republic. Association for Computational Linguistics.arxiv.org/abs/2108.13230
  13. [13]Yue Li, Zhixue Zhao, and Carolina Scarton. 2025. It’s all about in-context learning! teaching extremely low-resource languages to LLMs. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 29544–29559, Suzhou, China. Association for Computational Linguistics.arxiv.org/abs/2508.19089
  14. [14]Kelly Marchisio, Wei-Yin Ko, Alexandre Bérard, Théo Dehaze, and Sebastian Ruder. 2024. Understanding and mitigating language confusion in LLMs. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 6653–6677, Miami, Florida, USA. Association for Computational Linguistics.arxiv.org/abs/2406.20052
  15. [15]Meta AI. 2024. Llama 3.3 70B instruct model card. https://huggingface.co/meta-llama/Llama-3.3-70B-Instruct. Accessed 2026-10-13.
  16. [16]Amani Namboori, Shivam Sadashiv Mangale, Andy Rosenbaum, and Saleh Soltan. 2023. GeMQuAD : Generating multilingual question answering datasets from large language models using few shot learning. In NeurIPS 2023 Workshop on Synthetic Data Generation with Generative AI.
  17. [17]OpenAI. 2026. Introducing GPT-5.4 mini and nano. https://openai.com/index/introducing-gpt-5-4-mini-and-nano/. Released 17 March 2026. Accessed 2026-10-13.
  18. [18]Wei Peng, Chongxuan Huang, Tianhao Li, Yun Chen, and Qun Liu. 2020. Dictionary-based data augmentation for cross-domain neural machine translation. Preprint, arXiv:2004.02577.arxiv.org/abs/2004.02577
  19. [19]Salsabila Zahirah Pranida, Rifo Ahmad Genadi, and Fajri Koto. 2025. Culturally-nuanced story generation for reasoning in low-resource languages: The case of Javanese and Sundanese. In Proceedings of the 5th Workshop on Multilingual Representation Learning (MRL 2025), pages 369–384, Suzhou, China. Association for Computational Linguistics.arxiv.org/abs/2502.12932
  20. [20]Mathias Stenlund, Annika Simonsen, Lars Bungum, Jan Ebert, Jiangtao Wang, Oleg Filatov, Hemanad-han Myeni, Morris Riedel, and Hafstein Einarsson. 2026. Synthetic instruction generation for low-resource Nordic languages: Viability and limitations in LLM instruction-tuning. In Proceedings of the Fifteenth Language Resources and Evaluation Conference, pages 10688–10698, Palma de Mallorca, Spain. ELRA Language Resource Association.DOI
  21. [21]Garrett Tanzer, Mirac Suzgun, Eline Visser, Dan Jurafsky, and Luke Melas-Kyriazi. 2024. A benchmark for learning to translate a new language from one grammar book. In International Conference on Learning Representations, volume 2024, pages 18955–18985.arxiv.org/abs/2309.16575
  22. [22]Xinyi Wang, Sebastian Ruder, and Graham Neubig. 2022. Expanding pretrained models to thousands more languages via lexicon-based adaptation. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 863–877, Dublin, Ireland. Association for Computational Linguistics.
  23. [23]Yizhong Wang, Yeganeh Kordi, Swaroop Mishra, Alisa Liu, Noah A. Smith, Daniel Khashabi, and Hannaneh Hajishirzi. 2023. Self-instruct: Aligning language models with self-generated instructions. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 13484–13508, Toronto, Canada. Association for Computational Linguistics.arxiv.org/abs/2212.10560
  24. [24]Jason Wei and Kai Zou. 2019. EDA: Easy data augmentation techniques for boosting performance on text classification tasks. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 6382–6388, Hong Kong, China. Association for Computational Linguistics.
  25. [25]An Yang, Baosong Yang, Beichen Zhang, et al. 2024. Qwen2.5 technical report. arXiv preprint arXiv:2412.15115.arxiv.org/abs/2412.15115

Paper details

vlnc:W_4p8tjbhv
v1 · latestHistory (1)

published · Fresh — added to the Hub within the last 30 days

added ·

Usage

views · 1

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

CC BY 4.0

Original source

  • Computer Science

Not recorded for this paper · View statement →

Looking for related papers…
Contents