#!/bin/sh

# Set these paths appropriately

BIN=/Users/hwachsmuth/Documents/Arbeit/workspace/InfexBA/lib/tree-tagger-MacOSX-3.2-intel/bin
CMD=/Users/hwachsmuth/Documents/Arbeit/workspace/InfexBA/lib/tree-tagger-MacOSX-3.2-intel/cmd
LIB=/Users/hwachsmuth/Documents/Arbeit/workspace/InfexBA/lib/tree-tagger-MacOSX-3.2-intel/lib

OPTIONS="-token -lemma -sgml"

TAGGER=${BIN}/tree-tagger
TOKENIZER=${CMD}/tokenize.pl
ABBR_LIST=${LIB}/french-abbreviations
PARFILE=${LIB}/french.par

$TOKENIZER -f -a $ABBR_LIST $* |
$TAGGER $OPTIONS $PARFILE
