Skip to content

module__org.bibliome.alvisnlp.modules.ccg.CCGPosTagger

Robert Bossy edited this page Jul 27, 2017 · 1 revision

#org.bibliome.alvisnlp.modules.ccg.CCGPosTagger

Synopsis

Applies the CCG POS tagger on annotations.

Description

org.bibliome.alvisnlp.modules.ccg.CCGPosTagger applies the CCG POS tagger on annotations in the layer named wordLayerName. Sentences are enforced if sentenceLayerName 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.

Parameters

Optional

Type: ExecutableFile

Path to the CCG POS tagger executable.

Optional

Type: InputDirectory

Path to the CCG POS model.

Default value: true

Type: Expression

Only process document that satisfy this filter.

Default value: form

Type: String

Name of the feature in word annotations that contains the surface form.

Default value: UTF-8

Type: String

Character encoding to use for CCG input and output files.

Default value: false

Type: Boolean

Either to keep previous POS tags.

Default value: 1

Type: Integer

Maximal number of CCG runs.

Default value: pos

Type: String

Name of the feature in word annotations where to write POS tags. This feature is read for previous POS tags if keepPreviousPos is set to true.

Default value: boolean:and(true, boolean:and(nav:layer:sentences(), nav:layer:words()))

Type: Expression

Process only sections that satisfy this filter.

Default value: true

Type: Expression

Process only sentences that satisfy this filter.

Default value: sentences

Type: String

Name of the layer containing sentence annotations.

Default value: false

Type: Boolean

Either to shut the CCG output (CCG can be quite verbose).

Default value: words

Type: String

Name of the layer containing word annotations.

Clone this wiki locally