Download FreeLing User Manual

Transcript
44
CHAPTER 3. ANALYSIS MODULES
<RGF>
ner.rgf
</RGF>
• Section <Classifier> contains one line with the kind of classifier to use. Valid values are
AdaBoost and SVM.
<Classifier>
Adaboost
</Classifier>
• Section <ModelFile> contains one line with the path to the model file to be used. The model
file must match the classifier type given in section <Classifier>.
<ModelFile>
ner.abm
</ModelFile>
The .abm files contain AdaBoost models based on shallow Decision Trees (see [CMP03] for
details). You don’t need to understand this, unless you want to enter into the code of the
AdaBoost classifier.
The .svm files contain Support Vector Machine models generated by libsvm [CL11]. You
don’t need to understand this, unless you want to enter into the code of libsvm.
• Section <Lexicon> contains one line with the path to the lexicon file of the learnt model.
The lexicon is used to translate string-encoded features generated by libfries to integerencoded features needed by libomlet. The lexicon file is generated by libfries at training
time.
<Lexicon>
ner.lex
</Lexicon>
The .lex file is a dictionary that assigns a number to each symbolic feature used in the
AdaBoost or SVM model. You don’t need to understand this either unless you are a Machine
Learning student or the like.
• Section <Classes> contains only one line with the classes of the model and its translation
to B, I, O tag.
<Classes>
0 NP00SP0 1 NP00G00 2 NP00O00 3 NP00V00
</Classes>
• Section <NE_Tag> contains only one line with the PoS tag assigned by the NER module,
which will be used to select named entities to be classified.
<NE_Tag>
NP00000
</NE_Tag>