Apertium Turkic/Use/MT

From Apertium
< Apertium Turkic
Revision as of 10:38, 16 January 2014 by Unhammer (talk | contribs) (Created page with "The dictionary languages/apertium-kaz/apertium-kaz.kaz.lexc has a bunch of lines with the comment <tt>! Use/MT eng-kaz</tt>. These lines are only to appear in machine translat...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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:

  1. . 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
  1. . Use/MT as a compiler-tag, removed by twol in langs
  1. . Redundant make steps in pairs
  1. . Use/MT as visible tag, removed by CG or similar
  1. . Create a transducer with only the grep lines. Subtract that from vanilla after creating the att.gz
  1. . Two transducers in langs, but run one to att.gz, vanilla to full binary.