Abstract
This paper describes the NAIST submission to the AmericasNLP 2025 shared task on the creation of educational materials for Indigenous languages. We implement three systems to tackle the unique challenges of each language. The first system, used for Maya and Guarani, employs a straightforward GPT-4o few-shot prompting technique, enhanced by synthetically generated examples to ensure coverage of all grammatical variations encountered. The second system, used for Bribri, integrates dictionary-based alignment and linguistic rules to systematically manage linguistic and lexical transformations. Finally, we developed a specialized rule-based system for Nahuatl that systematically reduces sentences to their base form, simplifying the generation of correct morphology variants.
Introduction
Creating language-learning materials requires generating many variations of the same sentence (e.g., changing "I walk" to "They didn't walk"). For high-resource languages like English, this is trivial. However, Indigenous languages of the Americas—such as Bribri or Nahuatl—face a "perfect storm" of challenges: low digital resource availability, extreme morphological complexity where a single word encodes multiple grammatical features, and compound transformations requiring multiple simultaneous changes.
The authors participated in the AmericasNLP 2025 Shared Task, aiming to build systems that can accurately apply these complex grammatical transformations across four languages: Bribri, Maya, Guarani, and Nahuatl.
Methodology
The team implemented three distinct systems, tailored to the specific resources available for each language:
System 1: Example-Based Prompting (Maya & Guarani)
Since these languages typically involve fewer simultaneous grammatical changes, the team used GPT-4o with few-shot prompting. To improve performance, they synthetically expanded the training data, decomposing complex changes into simpler steps to ensure the model saw every possible variation.
System 2: Transformation-Based Prompting (Bribri)
Inspired by the GECTOR system used in grammatical error correction, this method doesn't just ask the LLM to "rewrite the sentence." Instead, it asks the model to produce a sequence of edit tags: KEEP, ADD, REMOVE, REPLACE, and CHANGE. This constrains the LLM to be more conservative and allows for automatic double-checking against a digitized Bribri dictionary.
System 3: Pure Rule-Based Transformation (Nahuatl)
Nahuatl proved too complex for simple prompting and lacked a digitized dictionary. The authors built a specialized pipeline that heuristically assigns Part-of-Speech tags, reduces the sentence to a "normalized base form," and then re-generates the target sentence by systematically applying morphological rules.
Datasets and Complexity
The study utilized the AmericasNLP 2025 Shared Task dataset. A significant observation was the "complexity gap" between languages. As shown in Figure 1, Maya and Guarani sentences usually required only 1–2 changes, while Bribri and Nahuatl frequently required 4 or more simultaneous transformations.
To mitigate data scarcity, the team used synthetic data expansion for Bribri (309 to 533), Maya (594 to 615), and Guarani (178 to 186).
Results and Discussion
The systems significantly outperformed the provided "edit-tree" baseline across all languages:
| Language | System Type | Accuracy (Acc) | BLEU Score |
|---|---|---|---|
| Bribri | Transformation + Postprocessing | 36.79 | 60.83 |
| Guarani | Example-based Prompt | 45.57 | 55.53 |
| Maya | Example-based Prompt | 45.64 | 71.21 |
| Nahuatl | Pure Rule-Based | 26.14 | 26.64 |
Key Insights
- The "All-at-Once" Penalty: Applying all grammatical changes in a single prompt was less effective than iterative, step-by-step approaches. Complexity is better handled in stages.
- LLMs Need Guardrails: For Bribri, moving from raw text generation to "edit tags" (System 2) drastically improved accuracy by preventing hallucinations in unchanged parts of the sentence.
- Rules Still Rule in Complexity: In Nahuatl, where compound changes are the norm, the rule-based system achieved 26.14% accuracy, whereas LLM prompting struggled (0.57% accuracy). This highlights that for highly agglutinative languages, linguistic "first principles" remain more reliable than probabilistic modeling.
Conclusion
While LLMs are powerful, structured linguistic rules and dictionary-based constraints remain essential for handling the extreme morphological complexity of low-resource languages. Future work will focus on combining the "edit-tag" method with iterative change application and incorporating more robust morphological analyzers.
Summary updated