Purpose

It walks the TnT tagger through the corpus. Tagging all files and writing the tagged files away to a different dir. The TnT-arguments can be set in the config- file

The configfile is configtagtnt.pl

Synopsis

./tagtnt.pl
[-c <corpus>] [-f <fromsubdir>] | [-fd <fromdir>] [-tc <tocorpus>] [-t <tosubdir>] | [-td <targetdir>] [-a <argstoTnT>] [-o <modelfile>] [-od <modeldir>] [-g <logfile>] [-gs <logsubdir>] [-gd <logdir>] [-ps <partsubdir>] [-p <part>] | [-pd <partdir>] [-pf <divprtfile> [...]] [-dr] [-? = -h = -help = --help] [-v [<verboselvl>]]

-c
the TnT-ready corpus to work on
-f
the subdir below corpus where the TnT-ready corpus can be found
-cd
full path to the TnT-ready corpus to work on
-t
the subdir below the corpus dir in which the tagged corpus should be stored (this option can only be used if the -c option is used)
-td
full path to the dir in which the tagged corpus should be stored
-a
the extra arguments that have to be passed on to TnT
-o
the model to use in TnT
-od
full path to a modelfile to use in TnT
-g
the logfile
-gs
the subdir in which the logfiles are kept
-gd
full path to the logfile (dir and filename, disables the -gs option)
-ps
subdir in which the divisions are
-p
the name of a division to use as a part. The file-names in all the divprt -files in the division-dir are added and used as the list of files to use unless you specify one or more explicitly using the -pf option
-pd
full path to the division-dir to use as a part. This option causes the -p option to be ignored
-pf
one or more divprt files to use as the part instead of all files in the division
-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 are given the defaults in the config file are used

NOTE:
You need to add tnt to your class-path xor set the $tnt var to point to your TnT executable in the config file. $modeldir should point to the dir in which your models reside

You can download (or look at the sources of) TagTnT [here]. To run it you will also need [the config file] and the [fiauimenre library]. You can also get the entire tool-package (containing the newest version of all fiauimenre tools and the library) [in one download]
Part of the LogiLogi Network: The LogiLogi Foundation - LogiLogi.org - OgOg.org
This is an old version for archival purposes, see www.LogiLogi.org for the current version.
< Edit this document | View history | Printer friendly (inc. links) >
Visited 1121 times
Document last modified Fri, 29 Jul 2005 06:59:56
All content is available under the GNU Free Documentation License. The LogiLogi-system is under the GPL
SourceForge.net Logo Zylon Internet Services-Groningen Logo
Visitor statistics