[go: up one dir, main page]

Menu

Commit [r88]  Maximize  Restore  History

+ agramtab, morphwizardlib, ddc_morph_gen: fixes for morphology compilation

- symptom: Morph/*/npredict.bin has size 1130 for all languages
- symptom: German 'Vaterland', 'Plastikflasche' are not expanded, but 'Land' and 'Flasche' are
- problem: ddc_morph_gen wants e.g. RML/dict/Morph/ggramtab.tab but that doesn'
t exist yet at compile time
(path RML/dict/morph/ggramtab.tab is pseudo-hard-coded in RML/etc/rml.ini)
- workaround: added a key 'GRAMTAB' to *.mwz files read by ddc_morph_gen: if that file exists, it's preferred to the registry file

mukau 2014-02-11

changed /ddc/trunk/src/AgramtabLib/agramtab_.cpp
changed /ddc/trunk/src/AgramtabLib/agramtab_.h
changed /ddc/trunk/src/MorphWizardLib/wizard.cpp
changed /ddc/trunk/src/ddc_expand/dta.conf
changed /ddc/trunk/src/ddc_morph_gen/ddc_morph_gen.cpp