TEESClassify
Synopsis
Classify binary relations with the TEES Classifier based on trained model.
Description
Snippet
<teesclassify class="TEESClassify">
<namedEntityLayer></namedEntityLayer>
<python2Executable></python2Executable>
<schema></schema>
<teesHome></teesHome>
<teesModel></teesModel>
</teesclassify>
Mandatory parameters
namedEntityLayer
Name of the layer containing the named entities.
python2Executable
Path to the Python 2 executable, TEES will fail if run through Python 3.
schema
Give the schema of the relations to train i.e.
<schema>
<Lives_In>Bacteria,Location</Lives_In>
</schema>
teesHome
Path to the TEES home directory.
teesModel
Path to the trained model to use. Pre-trained models for BB16 and Seedev16 are available in /alvisnlp-bibliome/src/main/resources/fr/inra/maiage/bibliome/alvisnlp/bibliomefactory/resources/tees-models
Optional parameters
constantRelationFeatures
Constant features to add to each relation created by this module.
constantTupleFeatures
Constant features to add to each tuple created by this module.
dependencyLabelFeature
Feature where to store the dependency label.
dependencyRelation
UNDOCUMENTED
dependentRole
UNDOCUMENTED
documentFilter
Only process document that satisfy this expression.
headRole
UNDOCUMENTED
namedEntityTypeFeature
Name of the feature to access the type of the named entities.
omitSteps
Set the preprocessing steps to ignore in the form of [GENIA_SPLITTER][,BANNER][,BLLIP_BIO][,STANFORD_CONVERT][,SPLIT_NAMES][,FIND_HEADS]
posFeature
Name of the feature containing the POS-tag.
sectionFilter
Process only sections that satisfy this expression.
sentenceLayer
Name of the layer that contains sentence annotations.
sentenceRole
UNDOCUMENTED
tokenLayer
Name of the layer that contains tokens.
Deprecated parameters
dependencyLabelFeatureName
Deprecated alias for dependencyLabelFeature .
dependencyRelationName
Deprecated alias for dependencyRelation .
namedEntityLayerName
Deprecated alias for namedEntityLayer .
sentenceLayerName
Deprecated alias for sentenceLayer .
tokenLayerName
Deprecated alias for tokenLayer .