AlvisNLP

corpus processing engine

PubAnnotationReader

Synopsis

Read stream in PubAnnotation JSON format .

This module is experimental.

Description

PubAnnotationReader reads the contents of source in PubAnnotation JSON format . The following conversions are observed:

Snippet

<pubannotationreader class="PubAnnotationReader">
    <source></source>
</pubannotationreader>

Mandatory parameters

source

Mandatory

Source stream in PubAnnotation JSON format.

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.

Deprecated parameters