Abstract
Automated grammar exercise generation typically relies on extracting sentences from large corpora. However, these real-world sentences are often too complex for language learners. This paper introduces GramEx, a framework that shifts the focus from extraction to generation. By utilizing a formal Feature-Based Lexicalised Tree Adjoining Grammar (FB-LTAG) for French, GramEx produces simple, pedagogically targeted sentences with rich, accurate linguistic annotations. Our evaluation demonstrates that this generative approach yields exercises that are highly grammatical (91%) and pedagogically appropriate (92%).
Introduction: The Challenge of Corpus-Based Extraction
Most current systems for automated language learning utilize corpus-based extraction, searching the web or news archives for sentences that illustrate specific grammatical rules. While this provides authentic context, it presents significant hurdles for beginners:
- Syntactic Complexity: Real-world sentences often contain advanced vocabulary and dense structures that distract from the target grammar point.
- Data Sparsity: Rare grammatical phenomena may not appear frequently enough in a corpus to provide a diverse set of exercises.
To address these issues, GramEx proposes a "textbook-style" generation approach where vocabulary and syntax are strictly controlled to match the learner's current level.
The GramEx Framework
GramEx operates in three distinct phases to ensure high-quality exercise production:
1. Constructing a Generation Bank
Instead of searching a static corpus, GramEx uses GraDe, a grammar traversal algorithm. Given a formal grammar (specifically an FB-LTAG for French), GraDe generates thousands of valid sentences. Because these sentences are built from formal rules, they come "pre-annotated" with precise linguistic data, including syntax trees and morphological features.
2. Retrieval via Query Language
A custom GramEx Query Language allows educators to define boolean constraints for sentence retrieval. For instance, a teacher can query for sentences containing a "prenominal adjective with an irregular inflection," ensuring the exercises meet specific pedagogical goals.
3. Exercise Construction
Once a sentence is retrieved, it is automatically transformed into a learning task:
- Fill-in-the-Blank (FIB): A word is removed, and a hint (e.g., gender/number) is provided based on the underlying linguistic data.
- Shuffle: The learner is given base word forms (lemmas) and must reconstruct the original phrase.
Evaluation and Results
The system was evaluated using a benchmark based on Tex’s French Grammar, focusing on approximately 690 lemmas and 1,300 elementary trees. Human experts evaluated a random sample of exercises across various categories.
The results indicate high performance across three key metrics:
- Grammaticality (91%): The vast majority of generated sentences were syntactically correct.
- Meaningfulness (96%): Sentences were logically coherent.
- Appropriateness (92%): The exercises were deemed suitable for the intended pedagogical level.
Furthermore, the system demonstrated high productivity. From just 28 "semantic seeds" (core meanings), GramEx produced 429 distinct exercises, illustrating the power of generating multiple variations (e.g., active vs. passive) from a single semantic input.
Discussion and Future Directions
While GramEx significantly improves the control over exercise generation, some limitations remain. Occasional grammatical errors occurred due to missing inflected forms in the underlying lexicon. Additionally, some sentences, while grammatically perfect, felt semantically "odd" in certain contexts (e.g., "It is Bette who likes some jewels").
Future work will focus on expanding the system to include transformation exercises, such as converting active sentences to passive ones, where the relationship between the prompt and the answer requires deeper syntactic manipulation.
Summary updated