AlvisNLP

corpus processing engine

AlvisAEWriter

Synopsis

Writes each document in a file in the AlvisAE protocol format.

Description

Writes each document in a file in the AlvisAE protocol format.

Snippet

<alvisaewriter class="AlvisAEWriter">
    <annotationSets></annotationSets>
    <documentDescription></documentDescription>
    <outDir></outDir>
</alvisaewriter>

Mandatory parameters

annotationSets

Mandatory

Annotation Set specifications.

documentDescription

Mandatory
Type: Expression

Document description.

outDir

Mandatory

Directory where to write files.

Optional parameters

schemaFile

Optional
Type: InputFile

AlvisAE schema file to include in all document files.

documentFilter

Default value: `true`
Type: Expression

Only process document that satisfy this expression.

documentProperties

Default value: `{}`

Document properties specification.

fileName

Default value: `@id ^ ".json"`
Type: Expression

owner

Default value: `0`
Type: Integer

Owner ID of the documents.

publish

Default value: `false`
Type: Boolean

Publish the exported annotation sets.

sectionFilter

Default value: `true`
Type: Expression

Process only sections that satisfy this expression.

Deprecated parameters