AlvisNLP

corpus processing engine

EnjuParser

Synopsis

Dependency parsing using Enju parser .

Description

EnjuParser parses sentences using Enju parser .

Snippet

<enjuparser class="EnjuParser">
    <enjuExecutable></enjuExecutable>
</enjuparser>

Mandatory parameters

enjuExecutable

Mandatory

Path to the Enju executable file.

Optional parameters

constantRelationFeatures

Optional
Type: Mapping

Constant features to add to each relation created by this module.

constantTupleFeatures

Optional
Type: Mapping

Constant features to add to each tuple created by this module.

biology

Default value: `false`
Type: Boolean

Use the parsing model adapted to biomedical texts.

dependencyLabelFeature

Default value: `label`
Type: String

Name of the feature where to store the dependency label.

dependencyRelation

Default value: `dependencies`
Type: String

Name of the relation where to store dependency tuples.

dependencySentenceRole

Default value: `sentence`
Type: String

Name of the role of the dependency tuple argument that references the parsed sentence.

dependentRole

Default value: `dependent`
Type: String

Name of the role of the dependency tuple argument that references the modifier (dependent) token.

dependentTypeFeature

Default value: `arg-type`
Type: String

Feature where to store the dependent type.

documentFilter

Default value: `true`
Type: Expression

Only process document that satisfy this expression.

enjuEncoding

Default value: `UTF-8`
Type: String

Character encoding used by Enju input and output files.

headRole

Default value: `head`
Type: String

Name of the role of the dependency tuple argument that references the head (governor) token.

lemmaFeature

Default value: `lemma`
Type: String

Lemma feature of the token.

nBest

Default value: `1`
Type: Integer

Number of parses to obtain in each sentence.

parseNumberFeature

Default value: `parse`
Type: String

Feature where to store the parse tree number.

parseStatusFeature

Default value: `parse-status`
Type: String

Feature where to store the parse status.

posFeature

Default value: `pos`
Type: String

POS feature of the token.

sectionFilter

Default value: `true and layer:sentences and layer:words`
Type: Expression

Process only sections that satisfy this expression.

sentenceFilter

Default value: `true`
Type: Expression

Expression evaluated from the sentence annotation as a boolean. Only parse sentences for which this expression evaluates to true.

sentenceLayer

Default value: `sentences`
Type: String

Layer containing sentences.

wordFormFeature

Default value: `form`
Type: String

Surface form feature of the token.

wordLayer

Default value: `words`
Type: String

Layer containing tokens.

Deprecated parameters

dependenciesRelationName

Deprecated
Type: String

Deprecated alias for dependencyRelation .

dependencyLabelFeatureName

Deprecated
Type: String

Deprecated alias for dependencyLabelFeature .

dependentTypeFeatureName

Deprecated
Type: String

Deprecated alias for dependentTypeFeature .

lemmaFeatureName

Deprecated
Type: String

Deprecated alias for lemmaFeature .

parseNumberFeatureName

Deprecated
Type: String

Deprecated alias for parseNumberFeature .

parseStatusFeatureName

Deprecated
Type: String

Deprecated alias for parseStatusFeature .

posFeatureName

Deprecated
Type: String

Deprecated alias for posFeature .

sentenceLayerName

Deprecated
Type: String

Deprecated alias for sentenceLayer .

wordFormFeatureName

Deprecated
Type: String

Deprecated alias for wordFormFeature .

wordLayerName

Deprecated
Type: String

Deprecated alias for wordLayer .