Apertium-nno-nob/kjektåkunne
Jump to navigation
Jump to search
$ 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
raskare kompilering:
$ make -j e # kompiler alt som trengst i nno, nob og nno-nob for nob-nno_e $ make -j r # kompiler alt utanom ordbøker for nob-nno_e