Major features: - Radical-based word matching for conjugated verbs - Morphological decomposition for compound words - Multi-index search (byWord + byFormeLiee) - Cascade search strategy with confidence scoring New files: - ConfluentTranslator/radicalMatcher.js: Extract radicals from conjugated forms - ConfluentTranslator/morphologicalDecomposer.js: Decompose compound words - ConfluentTranslator/plans/radical-lookup-system.md: Implementation plan - ConfluentTranslator/test-results-radical-system.md: Test results and analysis - ancien-confluent/lexique/00-grammaire.json: Grammar particles - ancien-confluent/lexique/lowercase-confluent.js: Lowercase utility Modified files: - ConfluentTranslator/reverseIndexBuilder.js: Added byFormeLiee index - ConfluentTranslator/confluentToFrench.js: Cascade search with radicals - Multiple lexique JSON files: Enhanced entries with forme_liee Test results: - Before: 83% coverage (101/122 tokens) - After: 92% coverage (112/122 tokens) - Improvement: +9 percentage points Remaining work to reach 95%+: - Add missing particles (ve, eol) - Enrich VERBAL_SUFFIXES (aran, vis) - Document missing words (tiru, kala, vulu) 🤖 Generated with Claude Code (https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
234 lines
5.8 KiB
JSON
234 lines
5.8 KiB
JSON
{
|
|
"_comment": "Particules grammaticales, marqueurs temporels, négations, etc.",
|
|
"_source": "Grammaire de l'Ancien Confluent",
|
|
"dictionnaire": {
|
|
"va": {
|
|
"mot_francais": "[SUJET]",
|
|
"traductions": [{
|
|
"confluent": "va",
|
|
"type": "particule",
|
|
"categorie": "cas",
|
|
"note": "Marque le sujet de la phrase"
|
|
}]
|
|
},
|
|
"vo": {
|
|
"mot_francais": "[OBJET]",
|
|
"traductions": [{
|
|
"confluent": "vo",
|
|
"type": "particule",
|
|
"categorie": "cas",
|
|
"note": "Marque l'objet direct"
|
|
}]
|
|
},
|
|
"no": {
|
|
"mot_francais": "[DANS/LIEU]",
|
|
"traductions": [{
|
|
"confluent": "no",
|
|
"type": "particule",
|
|
"categorie": "cas",
|
|
"note": "Localisation spatiale"
|
|
}]
|
|
},
|
|
"na": {
|
|
"mot_francais": "[DE/GÉNITIF]",
|
|
"traductions": [{
|
|
"confluent": "na",
|
|
"type": "particule",
|
|
"categorie": "cas",
|
|
"note": "Possession, origine, appartenance"
|
|
}]
|
|
},
|
|
"se": {
|
|
"mot_francais": "[POUR/BUT]",
|
|
"traductions": [{
|
|
"confluent": "se",
|
|
"type": "particule",
|
|
"categorie": "cas",
|
|
"note": "But, bénéficiaire"
|
|
}]
|
|
},
|
|
"lo": {
|
|
"mot_francais": "[MAIS/ET]",
|
|
"traductions": [{
|
|
"confluent": "lo",
|
|
"type": "particule",
|
|
"categorie": "coordination",
|
|
"note": "Opposition ou coordination selon contexte"
|
|
}]
|
|
},
|
|
"vi": {
|
|
"mot_francais": "[AVEC/INSTRUMENT]",
|
|
"traductions": [{
|
|
"confluent": "vi",
|
|
"type": "particule",
|
|
"categorie": "cas",
|
|
"note": "Instrument, accompagnement"
|
|
}]
|
|
},
|
|
"at": {
|
|
"mot_francais": "[PASSÉ-VÉCU]",
|
|
"traductions": [{
|
|
"confluent": "at",
|
|
"type": "marqueur_temps",
|
|
"categorie": "temps",
|
|
"note": "Passé récent ou vécu directement"
|
|
}]
|
|
},
|
|
"u": {
|
|
"mot_francais": "[PRÉSENT]",
|
|
"traductions": [{
|
|
"confluent": "u",
|
|
"type": "marqueur_temps",
|
|
"categorie": "temps",
|
|
"note": "Présent ou vérité générale"
|
|
}]
|
|
},
|
|
"ok": {
|
|
"mot_francais": "[FUTUR/VOLONTÉ]",
|
|
"traductions": [{
|
|
"confluent": "ok",
|
|
"type": "marqueur_temps",
|
|
"categorie": "temps",
|
|
"note": "Futur ou intention volontaire"
|
|
}]
|
|
},
|
|
"en": {
|
|
"mot_francais": "[IMPÉRATIF]",
|
|
"traductions": [{
|
|
"confluent": "en",
|
|
"type": "marqueur_temps",
|
|
"categorie": "mode",
|
|
"note": "Ordre ou demande"
|
|
}]
|
|
},
|
|
"ui": {
|
|
"mot_francais": "[INFINITIF]",
|
|
"traductions": [{
|
|
"confluent": "ui",
|
|
"type": "marqueur_temps",
|
|
"categorie": "mode",
|
|
"note": "Forme infinitive du verbe"
|
|
}]
|
|
},
|
|
"ul": {
|
|
"mot_francais": "[NÉG-POUVOIR]",
|
|
"traductions": [{
|
|
"confluent": "ul",
|
|
"type": "marqueur_temps",
|
|
"categorie": "modalité",
|
|
"note": "Impossibilité, négation de capacité"
|
|
}]
|
|
},
|
|
"aan": {
|
|
"mot_francais": "[PASSÉ-REGRETTÉ]",
|
|
"traductions": [{
|
|
"confluent": "aan",
|
|
"type": "marqueur_temps",
|
|
"categorie": "temps",
|
|
"note": "Passé avec regret ou nostalgie"
|
|
}]
|
|
},
|
|
"zo": {
|
|
"mot_francais": "[NÉG]",
|
|
"traductions": [{
|
|
"confluent": "zo",
|
|
"type": "negation",
|
|
"categorie": "négation",
|
|
"note": "Négation générale"
|
|
}]
|
|
},
|
|
"zom": {
|
|
"mot_francais": "[JAMAIS]",
|
|
"traductions": [{
|
|
"confluent": "zom",
|
|
"type": "negation",
|
|
"categorie": "négation",
|
|
"note": "Négation temporelle absolue (jamais)"
|
|
}]
|
|
},
|
|
"su": {
|
|
"mot_francais": "[PLURIEL]",
|
|
"traductions": [{
|
|
"confluent": "su",
|
|
"type": "marqueur_nombre",
|
|
"categorie": "quantité",
|
|
"note": "Marque le pluriel"
|
|
}]
|
|
},
|
|
"ku": {
|
|
"mot_francais": "[QUESTION]",
|
|
"traductions": [{
|
|
"confluent": "ku",
|
|
"type": "interrogation",
|
|
"categorie": "question",
|
|
"note": "Marque l'interrogation"
|
|
}]
|
|
},
|
|
"riku": {
|
|
"mot_francais": "[POURQUOI]",
|
|
"traductions": [{
|
|
"confluent": "riku",
|
|
"type": "interrogation",
|
|
"categorie": "question",
|
|
"note": "Question causale (pourquoi)"
|
|
}]
|
|
},
|
|
"siku": {
|
|
"mot_francais": "[COMMENT]",
|
|
"traductions": [{
|
|
"confluent": "siku",
|
|
"type": "interrogation",
|
|
"categorie": "question",
|
|
"note": "Question de manière (comment)"
|
|
}]
|
|
},
|
|
"tiku": {
|
|
"mot_francais": "[QUAND]",
|
|
"traductions": [{
|
|
"confluent": "tiku",
|
|
"type": "interrogation",
|
|
"categorie": "question",
|
|
"note": "Question temporelle (quand)"
|
|
}]
|
|
},
|
|
"viku": {
|
|
"mot_francais": "[OÙ]",
|
|
"traductions": [{
|
|
"confluent": "viku",
|
|
"type": "interrogation",
|
|
"categorie": "question",
|
|
"note": "Question spatiale (où)"
|
|
}]
|
|
},
|
|
"tova": {
|
|
"mot_francais": "ceci/cela",
|
|
"traductions": [{
|
|
"confluent": "tova",
|
|
"type": "demonstratif",
|
|
"categorie": "démonstratif",
|
|
"note": "Démonstratif neutre"
|
|
}],
|
|
"synonymes_fr": ["ceci", "cela", "ça", "ce"]
|
|
},
|
|
"tovak": {
|
|
"mot_francais": "faire-cela",
|
|
"traductions": [{
|
|
"confluent": "tovak",
|
|
"type": "verbe",
|
|
"categorie": "action",
|
|
"note": "Faire cela, agir ainsi (tova + faire)"
|
|
}],
|
|
"synonymes_fr": ["agir", "faire", "accomplir"]
|
|
},
|
|
"taki": {
|
|
"mot_francais": "celui-ci/celui-là",
|
|
"traductions": [{
|
|
"confluent": "taki",
|
|
"type": "demonstratif",
|
|
"categorie": "démonstratif",
|
|
"note": "Démonstratif pour personnes"
|
|
}]
|
|
}
|
|
}
|
|
}
|