AlvisNLP

corpus processing engine

ElementProjector

Synopsis

synopsis

Description

synopsis

Snippet

<elementprojector class="ElementProjector">
    <action></action>
    <entries></entries>
    <key></key>
    <targetLayer></targetLayer>
</elementprojector>

Mandatory parameters

action

Mandatory
Type: Expression

entries

Mandatory
Type: Expression

key

Mandatory
Type: Expression

targetLayer

Mandatory
Type: String

Name of the layer that contains the match annotations.

Optional parameters

constantAnnotationFeatures

Optional
Type: Mapping

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

constantDocumentFeatures

Optional
Type: Mapping

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

constantRelationFeatures

Optional
Type: Mapping

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

constantSectionFeatures

Optional
Type: Mapping

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

constantTupleFeatures

Optional
Type: Mapping

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

trieSink

Optional
Type: OutputFile

If set, then ElementProjector writes the compiled dictionary to the specified file.

trieSource

Optional
Type: InputFile

If set, read the compiled dictionary from the specified file. Compiled dictionaries are usually faster for large dictionaries.

addToLayer

Default value: `false`
Type: Boolean

Allow to add annotations to layers.

allUpperCaseInsensitive

Default value: `false`
Type: Boolean

If set to true , then allow case folding on all characters in words that are all upper case.

allowJoined

Default value: `false`
Type: Boolean

If set to true , then allow arbitrary suppression of whitespace characters in the subject. For instance, the contents aminoacid matches the key amino acid .

caseInsensitive

Default value: `false`
Type: Boolean

If set to true , then allows case folding on all characters.

createAnnotations

Default value: `false`
Type: Boolean

Allow the creation of annotations.

createDocuments

Default value: `false`
Type: Boolean

Allow the creation of documents.

createRelations

Default value: `false`
Type: Boolean

Allow the creation of relations.

createSections

Default value: `false`
Type: Boolean

Allow the creation of sections.

createTuples

Default value: `false`
Type: Boolean

Allow to create tuples.

deleteElements

Default value: `false`
Type: Boolean

Allow to delete elements.

documentFilter

Default value: `true`
Type: Expression

Only process document that satisfy this expression.

ignoreDiacritics

Default value: `false`
Type: Boolean

If set to true , then allow dicacritic removal on all characters. For instance the contents acide amine matches the key acide aminé .

joinDash

Default value: `false`
Type: Boolean

If set to true , then treat dash characters (-) as whitespace characters with regard to allowJoined . For instance, the contents aminoacid matches the entry amino-acid .

matchStartCaseInsensitive

Default value: `false`
Type: Boolean

If set to true , then allow case folding on the first character of the entry key.

multipleEntryBehaviour

Default value: `all`

Specifies the behavior if the lexicon contains several entries with the same key.

removeFromLayer

Default value: `false`
Type: Boolean

Allow to remove annotations from layers.

sectionFilter

Default value: `true`
Type: Expression

Process only sections that satisfy this expression.

setArguments

Default value: `false`
Type: Boolean

Allow to set tuple arguments.

setFeatures

Default value: `false`
Type: Boolean

Allow to set element features.

skipConsecutiveWhitespaces

Default value: `false`
Type: Boolean

If set to true , then allow the insertion of consecutive whitespace characters in the subject. For instance, the contents amino acid matches the entry amino acid .

skipWhitespace

Default value: `false`
Type: Boolean

If set to true , then allow arbitrary insertion of whitespace characters in the subject. For instance, the contents amino acid matches the key aminoacid .

subject

Default value: `WORD`
Type: Subject

Specifies the contents to match.

substituteWhitespace

Default value: `false`
Type: Boolean

If set to true , then all whitespace characters match each other (including ‘\n’, ‘\r’, ‘\t’, and non-breaking spaces).

wordStartCaseInsensitive

Default value: `false`
Type: Boolean

If set to true , then allow case folding on the first character of each word.

Deprecated parameters

targetLayerName

Deprecated
Type: String

Deprecated alias for targetLayer .