Apertium Turkic/Use/MT
Jump to navigation
Jump to search
The dictionary languages/apertium-kaz/apertium-kaz.kaz.lexc has a bunch of lines with the comment ! Use/MT eng-kaz. These lines are only to appear in machine translation pairs, not when creating a "vanilla" transducer. It's easy to grep them out, but harder to get this into the current build system where language pairs depend on the pre-built att.gz of languages/apertium-kaz and trim that.
Some options:
- . Make two binaries in languages/apertium-kaz, one vanilla and one MT.
- Cons: takes a lot longer to make apertium-kaz, installed size doubles, looks messy
- . Use/MT as a compiler-tag, removed by twol in langs
- . Redundant make steps in pairs
- . Use/MT as visible tag, removed by CG or similar
- . Create a transducer with only the grep lines. Subtract that from vanilla after creating the att.gz
- . Two transducers in langs, but run one to att.gz, vanilla to full binary.