#! /bin/bash BINDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" if [ -z $SEMINER_ROOT ]; then SEMINER_ROOT=$BINDIR/.. fi case $1 in "de-raw") tr "\t" ' ' | cut -d' ' -f1 |\ $SEMINER_ROOT/bin/augment brown False \ $SEMINER_ROOT/data/seminer/deu.eci.unlabeled.500+1000.classes |\ $SEMINER_ROOT/bin/sequor predict \ $SEMINER_ROOT/data/seminer/deu.train.lrec-2010-raw.model ;; "de-full") tr "\t" ' ' | cut -d' ' -f1,2,3,4 |\ $SEMINER_ROOT/bin/augment brown False \ $SEMINER_ROOT/data/seminer/deu.eci.unlabeled.500+1000.classes |\ $SEMINER_ROOT/bin/sequor predict \ $SEMINER_ROOT/data/seminer/deu.train.lrec-2010.model ;; "en") tr "\t" ' ' | cut -d' ' -f1 |\ $SEMINER_ROOT/bin/augment brown False \ $SEMINER_ROOT/data/seminer/nant.c5.500.topics.classes |\ $SEMINER_ROOT/bin/sequor predict \ $SEMINER_ROOT/data/seminer/bbn-wsj-02-21-rate-0.001-beam-10-iter-10-hash-stop-win-size-10-relationfactory-2013.model ;; esac