-
Notifications
You must be signed in to change notification settings - Fork 13
Configuration File
Seid Muhie Yimam edited this page Sep 9, 2015
·
11 revisions
The configuration file is used to configure different settings and feature options.
Below are most important configuration elements.
-
mode
=t
ORf
ORft
: Set themode
tot
to tag texts either using the builtin GermaNER model or one from your file system. If thist
is provided and themodelDir
configuration element is empty, GermaNER will use the builtin model. If you want only to train a new model, based on the selected features (see below for list of features), set themode
tof
. IfmodelDir
is not empty, the new model will be saved to themodelDir
directory, otherwise, by default, a new directory calledoutput
will be created and the new model will be saved to this directory. If you want to train a new model and tag a text in one run, set themode
toft
. -
modelDir
="MODEL DIRECTORY">: Set this element to a directory where either a new GermaNER model is saved to, if the mode isf
orft
or you want to use an existing GermaNER model while tagging. IfmodelDir
is empty, the builtin GermaNER model will be used.
Note:The you should use the same feature settings (see below) as the training one when you tag texts. The default model means that all of the following features are used for training so that the tagging also should use all the features.
-
useFreeBase
= usePosition