AlvisNLP

corpus processing engine

MergeLayers

Synopsis

Creates a new layer in each section containing all annotations in source layers.

Description

MergeLayers adds annotations in the layers sourceLayers into the layer targetLayer .

Snippet

<mergelayers class="MergeLayers">
    <sourceLayers></sourceLayers>
    <targetLayer></targetLayer>
</mergelayers>

Mandatory parameters

sourceLayers

Mandatory
Type: String[]

Name of the layers where to get annotations.

targetLayer

Mandatory
Type: String

Name of the layer to create.

Optional parameters

documentFilter

Default value: `true`
Type: Expression

Only process document that satisfy this expression.

sectionFilter

Default value: `true`
Type: Expression

Process only sections that satisfy this expression.

Deprecated parameters

sourceLayerNames

Deprecated
Type: String[]

Deprecated alias for sourceLayers .

targetLayerName

Deprecated
Type: String

Deprecated alias for targetLayer .