CCGPosTagger
Synopsis
Applies the CCG POS tagger on annotations.
Description
CCGPosTagger applies the CCG POS tagger on annotations in the layer named wordLayer . Sentences are enforced if sentenceLayer is set.
If keepPreviousPos is set to true , then the POS tag predicted by CCG will not be added to annotations that already have a POS tag.
Snippet
<ccgpostagger class="CCGPosTagger">
<executable></executable>
<model></model>
</ccgpostagger>
Mandatory parameters
executable
Path to the CCG POS tagger executable.
model
Path to the CCG POS model.
Optional parameters
documentFilter
Only process document that satisfy this expression.
formFeature
Name of the feature in word annotations that contains the surface form.
internalEncoding
Character encoding to use for CCG input and output files.
keepPreviousPos
Either to keep previous POS tags.
maxRuns
Maximal number of CCG runs.
posFeature
Name of the feature in word annotations where to write POS tags.
sectionFilter
Process only sections that satisfy this expression.
sentenceFilter
Process only sentences that satisfy this filter.
sentenceLayer
Name of the layer containing sentence annotations.
silent
Either to shut the CCG output (CCG can be quite verbose).
wordLayer
Name of the layer containing word annotations.
Deprecated parameters
formFeatureName
Deprecated alias for formFeature .
posFeatureName
Deprecated alias for posFeature .
sentenceLayerName
Deprecated alias for sentenceLayer .
wordLayerName
Deprecated alias for wordLayer .