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
Layers containing mentions (or named entities).
outDir
Directory where to place exported files.
typeFeature
Feature containing the type of the mention.
Optional parameters
colorMap
Map of colors used to render mentions. Keys are mention types and values are colors in CSS syntax.
layoutLayer
Layer containing layout (HTML) annotations, like i
, b
or p
.
documentFilter
Only process document that satisfy this expression.
documentTitle
Expression evaluated as a string representing the document title.
features
Mention features to display.
sectionFilter
Process only sections that satisfy this expression.
tagFeature
Feature containing the tag name for layout annotations.
Deprecated parameters
classFeature
Deprecated alias for typeFeature /
colors
List of colors used to render mentions. This is deprecated, use colorMap instead.
layers
Deprecated alias for mentionLayers .