AlvisNLP

corpus processing engine

QuickHTML

Synopsis

Exports part of the layer contents in HTML.

This module is experimental.

Description

QuickHTML exports the annotations in HTML. Open with a browser the index.html file created in outDir to vizualize exported annotations.

Snippet

<quickhtml class="QuickHTML">
    <mentionLayers></mentionLayers>
    <outDir></outDir>
    <typeFeature></typeFeature>
</quickhtml>

Mandatory parameters

mentionLayers

Mandatory
Type: String[]

Layers containing mentions (or named entities).

outDir

Mandatory

Directory where to place exported files.

typeFeature

Mandatory
Type: String

Feature containing the type of the mention.

Optional parameters

colorMap

Optional
Type: Mapping

Map of colors used to render mentions. Keys are mention types and values are colors in CSS syntax.

layoutLayer

Optional
Type: String

Layer containing layout (HTML) annotations, like i , b or p .

documentFilter

Default value: `true`
Type: Expression

Only process document that satisfy this expression.

documentTitle

Default value: `@id`
Type: Expression

Expression evaluated as a string representing the document title.

features

Default value: ``
Type: String[]

Mention features to display.

sectionFilter

Default value: `true`
Type: Expression

Process only sections that satisfy this expression.

tagFeature

Default value: `tag`
Type: String

Feature containing the tag name for layout annotations.

Deprecated parameters

classFeature

Deprecated
Type: String

Deprecated alias for typeFeature /

colors

Deprecated
Type: String[]

List of colors used to render mentions. This is deprecated, use colorMap instead.

layers

Deprecated
Type: String[]

Deprecated alias for mentionLayers .