On 28 September 2012 22:07, Francis Tyers <[email protected]> wrote:
> Here is a sequence of commands that will more or less get you what you
> want, without having to use python or java or anything.
>
> Step 1: Expand the source language morphological dictionary.
>
> $ lt-expand apertium-en-es.es.dix  > /tmp/es.exp
>

Bah! I'm getting slow in my old age :) Here's a paste-less, tmp
file-less version:

lt-expand apertium-en-es.es.dix |grep -v "REGEXP"|awk -F':|:>:|:<:'
'{print ".[" $1 "\\/]^" $2 "$"}'|apertium-pretransfer
|apertium-transfer apertium-en-es.es-en.t1x  es-en.t1x.bin
es-en.autobil.bin |apertium-interchunk apertium-en-es.es-en.t2x
es-en.t2x.bin |apertium-postchunk apertium-en-es.es-en.t3x
es-en.t3x.bin |lt-proc -g es-en.autogen.bin |lt-proc -p
es-en.autopgen.bin | apertium-retxt|sed -e 's/^\.//'

estuvimos al corriente/were abreast
estuve al corriente/was abreast
estuvisteis al corriente/were abreast
estuviste al corriente/were abreast
estuvieron al corriente/were abreast

etc.

-- 
<Sefam> Are any of the mentors around?
<jimregan> yes, they're the ones trolling you

------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to