# Note: this script must be customised by the user!
# Additionally, TNT must be all set up and ready to
# run (binaries in PATH etc.)
# 
# BEGIN customization
# 1.) A command to run before the tagging starts (i.e. to
# configure TNT)
precommand = nil
# 2.) Abbreviations file
abbrev = '/home/mitarb/esleben/tnt/german-abbreviations'
# 3.) Path to TNT binary
tntbin = '/home/mitarb/esleben/tnt/tnt'
# 4.) Name of corpus
corpus = 'negra'
# END customization
# 
source = ARGV[0]
dest = ARGV[1]
`#{precommand}` if precommand
`sh semtag.sh #{source} #{abbrev} #{tntbin} #{corpus} > #{dest}`
# require 'ftools'
# File.copy("#{ARGV[0][0..-4]}xml", "#{ARGV[1]}")
