Difference between revisions of "Apertium-nno-nob/kjektåkunne"

From Apertium
Jump to navigation Jump to search
Line 22: Line 22:
<pre>
<pre>
$ xmllint --xpath '//rule[7]' apertium-nno-nob.nob-nno.t1x
$ xmllint --xpath '//rule[7]' apertium-nno-nob.nob-nno.t1x
</pre>

pullap.sh:
<pre>
for d in ~/apertium/apertium-{nno-nob,nob,nno}; do ( cd "$d" && git pull; ); done
</pre>
</pre>

Revision as of 11:05, 30 September 2019

$  xzcat ~/corpora/nob/*ntb*.xz | head -100000 | apertium -d . nob-nno_e > 2019-09-30.before
$ # hack hack hack 
$  xzcat ~/corpora/nob/*ntb*.xz | head -100000 | apertium -d . nob-nno_e > 2019-09-30.after
$ diff -u 2019-09-30.before 2019-09-30.after | dwdiff -c -u --diff-input 

pipeline:

$ echo tulleord|apertium -d . nob-nno_e-morph 
$ echo tulleord|apertium -d . nob-nno_e-disam
$ echo tulleord|apertium -d . nob-nno_e-tagger
$ echo tulleord|apertium -d . nob-nno_e-pretransfer
$ echo tulleord|apertium -d . nob-nno_e-biltrans    
$ echo tulleord|apertium -d . nob-nno_e-lex    
$ echo tulleord|apertium -d . nob-nno_e-chunker
$ echo tulleord|apertium -d . nob-nno_e-interchunk
$ echo tulleord|apertium -d . nob-nno_e-postchunk
$ echo tulleord|apertium -d . nob-nno_e-dgen
$ xmllint --xpath '//rule[7]'  apertium-nno-nob.nob-nno.t1x 

pullap.sh:

for d in ~/apertium/apertium-{nno-nob,nob,nno}; do ( cd "$d" && git pull; ); done