apertium / lttoolbox

Finite state compiler, processor and helper tools used by apertium
http://wiki.apertium.org/wiki/Lttoolbox
GNU General Public License v2.0
18 stars 22 forks source link

lt-proc -g -b no longer works #166

Closed unhammer closed 2 years ago

unhammer commented 2 years ago

e4ef32fce1f21a07f3ca511770b8dc4d30938d07 introduced the possibility of overriding a -g/-n with -b, since the apertium driver script replaces $1 with -g/-n, but we want bilingual mode with/without unknown word marks. This seems to have disappeared in f8fce9ac8b6ecdb62764db06c575f6e7338f2fb1 but that commit changed quite a bit so I'm not sure where to look :)

See test case in 87f4c8f17109caa90a2c4dcccc6fc03987291be4