Adding a bit
[apertium.git] / apertium-fr-nl / Makefile
blobb7efb855dfbc06e020ff212b05f7a811629e1b0a
1 all:
2 xmllint --xinclude apertium-fr-nl.fr.dix.xml > apertium-fr-nl.fr.dix
3 xmllint --xinclude apertium-fr-nl.nl.dix.xml > apertium-fr-nl.nl.dix
4 xmllint --xinclude apertium-fr-nl.fr-nl.dix.xml > apertium-fr-nl.fr-nl.dix
6 lt-comp lr apertium-fr-nl.fr.dix fr-nl.automorf.bin
7 lt-comp lr apertium-fr-nl.nl.dix nl-fr.automorf.bin
9 lt-comp lr apertium-fr-nl.fr-nl.dix fr-nl.autobil.bin
10 lt-comp rl apertium-fr-nl.fr-nl.dix nl-fr.autobil.bin
12 lt-comp rl apertium-fr-nl.nl.dix fr-nl.autogen.bin
13 lt-comp rl apertium-fr-nl.fr.dix nl-fr.autogen.bin
15 # apertium-validate-transfer apertium-fr-nl.fr-nl.t1x
16 # apertium-preprocess-transfer apertium-fr-nl.fr-nl.t1x fr-nl.t1x.bin
17 # apertium-validate-interchunk apertium-fr-nl.fr-nl.t2x
18 # apertium-preprocess-transfer apertium-fr-nl.fr-nl.t2x fr-nl.t2x.bin
19 # apertium-validate-postchunk apertium-fr-nl.fr-nl.t3x
20 # apertium-preprocess-transfer apertium-fr-nl.fr-nl.t3x fr-nl.t3x.bin
22 apertium-preprocess-transfer apertium-fr-nl.trules-fr-nl.xml trules-fr-nl.bin
23 apertium-preprocess-transfer apertium-fr-nl.trules-nl-fr.xml trules-nl-fr.bin
25 apertium-validate-dictionary apertium-fr-nl.post-fr.dix
26 lt-comp lr apertium-fr-nl.post-fr.dix nl-fr.autopgen.bin
29 #clean up temp files
30 rm apertium-fr-nl.fr.dix apertium-fr-nl.nl.dix apertium-fr-nl.fr-nl.dix
32 clean:
33 rm -f *.bin apertium-fr-nl.fr.dix apertium-fr-nl.nl.dix apertium-fr-nl.fr-nl.dix trules-fr-nl.bin
35 test:
36 echo "J'ai deux bières" | lt-proc fr-nl.automorf.bin | apertium-tagger -g fr-nl.prob | apertium-pretransfer | apertium-transfer apertium-fr-nl.fr-nl.t1x fr-nl.t1x.bin fr-nl.autobil.bin | apertium-interchunk apertium-fr-nl.fr-nl.t2x fr-nl.t2x.bin | apertium-postchunk apertium-fr-nl.fr-nl.t3x fr-nl.t3x.bin | lt-proc -g fr-nl.autognl.bin