AlvisNLP

corpus processing engine

TagTogReader

Synopsis

Reads documents and annotations from TagTog JSON anndoc format .

This module is experimental.

Description

TagTogReader reads a ZIP archive exported by TagTog in JSON anndoc format . The archive must be downloaded by exporting a TagTog project.

Snippet

<tagtogreader class="TagTogReader">
    <zipFile></zipFile>
</tagtogreader>

Mandatory parameters

zipFile

Mandatory
Type: InputFile

Path to TagTog’s export archive.

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.

annotatorFeature

Default value: `annotator`
Type: String

Feature where to store the name of the annotator that created the entity or relation in TagTog.

argumentPrefix

Default value: `arg`
Type: String

Prefix of the roles of arguments of relations.

entitiesLayer

Default value: `entities`
Type: String

Layer where to place entity annotations.

relation

Default value: `relations`
Type: String

Relation where to place TagTog relations.

typeFeature

Default value: `type`
Type: String

Feature where to store entity and relation types.

Deprecated parameters