Commit 4c0e2ee8 authored by Arne Koehn's avatar Arne Koehn

add deutsch-tagger wrapper script taggers

parent dd9cf8bb
This diff is collapsed.
#! /bin/sh
# usage: tag [modelname] [inputfile] [outputfile]
abspath="$(cd "${0%/*}" 2>/dev/null; echo "$PWD"/"${0##*/}")"
WORKDIR=$(dirname $abspath)
cd $WORKDIR
../incr-helper/taginput <$2 | ./deutsch-tagger.pl -q -t "../tnt/tnt -v0 -z200 $WORKDIR/../tnt-standard/models/$1 " | ../incr-helper/tagoutput | grep -v "^%% " | sed 's/\([^\t ]*[\t ]*[^\t ]*\).*/\1/'| sed "s/\t/ /g"| sed "s/ */ /g" >$3
#! /bin/sh
echo needs tnt-standard
This diff is collapsed.
#! /bin/sh
# usage: tag [modelname] [inputfile] [outputfile]
abspath="$(cd "${0%/*}" 2>/dev/null; echo "$PWD"/"${0##*/}")"
WORKDIR=$(dirname $abspath)
cd $WORKDIR
../incr-helper/taginput <$2 | ./deutsch-tagger.pl -q -t "../tnt/tnt -v0 -z200 $WORKDIR/../tnt-standard/models/$1 " | ../incr-helper/tagoutput | grep -v "^%% " | sed 's/\([^\t ]*[\t ]*[^\t ]*\).*/\1/'| sed "s/\t/ /g"| sed "s/ */ /g" >$3
#! /bin/sh
echo needs tnt-standard
This diff is collapsed.
#! /bin/sh
# usage: tag [modelname] [inputfile] [outputfile]
abspath="$(cd "${0%/*}" 2>/dev/null; echo "$PWD"/"${0##*/}")"
WORKDIR=$(dirname $abspath)
cd $WORKDIR
./deutsch-tagger.pl -q -t "../tnt/tnt -v0 -z200 $WORKDIR/../tnt-standard/models/$1 " < $2 | grep -v "^%% " | sed 's/\([^\t ]*[\t ]*[^\t ]*\).*/\1/'| sed "s/\t/ /g"| sed "s/ */ /g" >$3
#! /bin/sh
echo needs tnt-standard
This diff is collapsed.
#! /bin/sh
# usage: tag [modelname] [inputfile] [outputfile]
abspath="$(cd "${0%/*}" 2>/dev/null; echo "$PWD"/"${0##*/}")"
WORKDIR=$(dirname $abspath)
cd $WORKDIR
../incr-helper/taginput <$2 | ./deutsch-tagger.pl -q -t "../tnt/tnt -v0 -z200 $WORKDIR/../tnt-standard/models/$1 " | ../incr-helper/tagoutput | grep -v "^%% " | sed 's/\([^\t ]*[\t ]*[^\t ]*\).*/\1/'| sed "s/\t/ /g"| sed "s/ */ /g" >$3
#! /bin/sh
echo needs tnt-standard
This diff is collapsed.
#! /bin/sh
# usage: tag [modelname] [inputfile] [outputfile]
abspath="$(cd "${0%/*}" 2>/dev/null; echo "$PWD"/"${0##*/}")"
WORKDIR=$(dirname $abspath)
cd $WORKDIR
./deutsch-tagger.pl -q -t "../tnt/tnt -v0 -z200 $WORKDIR/../tnt-standard/models/$1 " < $2 | grep -v "^%% " | sed 's/\([^\t ]*[\t ]*[^\t ]*\).*/\1/'| sed "s/\t/ /g"| sed "s/ */ /g" >$3
#! /bin/sh
echo needs tnt-standard
This diff is collapsed.
#! /bin/sh
# usage: tag [modelname] [inputfile] [outputfile]
abspath="$(cd "${0%/*}" 2>/dev/null; echo "$PWD"/"${0##*/}")"
WORKDIR=$(dirname $abspath)
cd $WORKDIR
../incr-helper/taginput <$2 | ./deutsch-tagger.pl -q -t "../tnt/tnt -v0 -z200 $WORKDIR/../tnt-standard/models/$1 " | ../incr-helper/tagoutput | grep -v "^%% " | sed 's/\([^\t ]*[\t ]*[^\t ]*\).*/\1/'| sed "s/\t/ /g"| sed "s/ */ /g" >$3
#! /bin/sh
echo needs tnt-standard
This diff is collapsed.
#! /bin/sh
# usage: tag [modelname] [inputfile] [outputfile]
abspath="$(cd "${0%/*}" 2>/dev/null; echo "$PWD"/"${0##*/}")"
WORKDIR=$(dirname $abspath)
cd $WORKDIR
./deutsch-tagger.pl -q -t "../tnt/tnt -v0 -z200 $WORKDIR/../tnt-standard/models/$1 " < $2 | grep -v "^%% " | sed 's/\([^\t ]*[\t ]*[^\t ]*\).*/\1/'| sed "s/\t/ /g"| sed "s/ */ /g" >$3
#! /bin/sh
echo needs tnt-standard
This diff is collapsed.
#! /bin/sh
# usage: tag [modelname] [inputfile] [outputfile]
abspath="$(cd "${0%/*}" 2>/dev/null; echo "$PWD"/"${0##*/}")"
WORKDIR=$(dirname $abspath)
cd $WORKDIR
../incr-helper/taginput <$2 | ./deutsch-tagger.pl -q -t "../tnt/tnt -v0 -z200 $WORKDIR/../tnt-standard/models/$1 " | ../incr-helper/tagoutput | grep -v "^%% " | sed 's/\([^\t ]*[\t ]*[^\t ]*\).*/\1/'| sed "s/\t/ /g"| sed "s/ */ /g" >$3
#! /bin/sh
echo needs tnt-standard
This diff is collapsed.
#! /bin/sh
# usage: tag [modelname] [inputfile] [outputfile]
abspath="$(cd "${0%/*}" 2>/dev/null; echo "$PWD"/"${0##*/}")"
WORKDIR=$(dirname $abspath)
cd $WORKDIR
./deutsch-tagger.pl -q -t "../tnt/tnt -v0 -z200 $WORKDIR/../tnt-standard/models/$1 " < $2 | grep -v "^%% " | sed 's/\([^\t ]*[\t ]*[^\t ]*\).*/\1/'| sed "s/\t/ /g"| sed "s/ */ /g" >$3
#! /bin/sh
echo needs tnt-standard
This diff is collapsed.
#! /bin/sh
# usage: tag [modelname] [inputfile] [outputfile]
abspath="$(cd "${0%/*}" 2>/dev/null; echo "$PWD"/"${0##*/}")"
WORKDIR=$(dirname $abspath)
cd $WORKDIR
./deutsch-tagger.pl -q -t "../tnt/tnt -v0 -z200 $WORKDIR/../tnt-standard/models/$1 " < $2 | grep -v "^%% " | sed 's/\([^\t ]*[\t ]*[^\t ]*\).*/\1/'| sed "s/\t/ /g"| sed "s/ */ /g" >$3
#! /bin/sh
echo needs tnt-standard
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment