Created
September 18, 2014 09:20
-
-
Save veer66/3b14948108fdb1f353b4 to your computer and use it in GitHub Desktop.
running apertium with step-by-step logging
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
LOGPREFIX=log_rbmt200_$$ | |
ENGBIN=data/agri200p.dix.eng.trimmed.bin | |
BIDIX="data/agri200p.dix.engtha.bin" | |
LRX="data/eng-tha.lrx.bin" | |
T1X=data/_eng-tha.t1x | |
T1XBIN=data/_eng-tha.t1x.bin | |
T2X=data/eng-tha.t2x | |
T2XBIN=data/eng-tha.t2x.bin | |
T3X=data/eng-tha.t3x | |
T3XBIN=data/eng-tha.t3x.bin | |
AGEN=data/eng-tha.autogen.bin | |
APGEN=data/eng-tha.autopgen.bin | |
echo $LOGPREFIX > /dev/stderr | |
apertium-destxt \ | |
| tee $LOGPREFIX.destex.log \ | |
| lt-proc $ENGBIN \ | |
| tee $LOGPREFIX.morph.log \ | |
| cg-proc -n -1 data/eng.rlx.bin \ | |
| tee $LOGPREFIX.cg.log \ | |
| apertium-pretransfer \ | |
| tee $LOGPREFIX.pretr.log \ | |
| lt-proc -b $BIDIX \ | |
| tee $LOGPREFIX.biltr.log \ | |
| lrx-proc $LRX \ | |
| tee $LOGPREFIX.lrx.log \ | |
| apertium-transfer -b $T1X $T1XBIN \ | |
| tee $LOGPREFIX.t1x.log \ | |
| apertium-interchunk $T2X $T2XBIN \ | |
| tee $LOGPREFIX.t2x.log \ | |
| apertium-postchunk $T3X $T3XBIN \ | |
| tee $LOGPREFIX.t3x.log \ | |
| lt-proc -g $AGEN \ | |
| tee $LOGPREFIX.agen.log \ | |
| lt-proc -p $APGEN \ | |
| apertium-retxt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment