- Purpose
Trains the TnT tagger on a tagged (and united in one file) corpus. The TnT- arguments can be set in the configfile
The configfile is configtraintnt.pl
- Synopsis
./traintnt.pl
- [-c <corpus>] [-f <fromsubdir>] [-fd <fromdir>] | [-ff <fromunitedfile>] [-o <modelfile>] | [-od <modeldirfile>] [-a <argstoTnT>] [-dr] [-? = -h = -help = --help] [-v [verboselvl]]
- -c
- the corpus to work on
- -f
- the subdir that contains the united-file
- -fd
- full path to the subdir that contains the united-file
- -ff
- the united file
- -o
- the name of the model that is made (the name of the corpus is used if no model is specified)
- -od
- full path to the modelfile that is to be made
- -a
- the extra arguments that have to be passed on to TnT
- -dr
- dry-run. Nothing is written or deleted, only reading and reporting is done
- -v
- the level of verbosity, default verboselevel = 2, available levels: 0,1,2,3
- -?
- (and equivalents) prints help: the purpose and the synopsys
NOTE:
- If no TnT-args or from and to-dirs/files are given the defaults in the config file are used
NOTE:
- You need to add tnt to your class-path xor set the $tntpara var to point to your TnT executable in the config file. And set your TNT_MODELS correctly!
You can download (or look at the sources of) TrainTnT [here]. To run it you will also need [the config file] and the [fiauimenre library]. You canalso get the entire tool-package (containing the newest version of all fiauimenre tools and the library) [in one download]
|