MCPcopy Create free account
hub / github.com/GateNLP/gate-core / unpackMarkup

Method unpackMarkup

src/main/java/gate/DocumentFormat.java:136–137  ·  view source on GitHub ↗

Unpack the markup in the document. This converts markup from the native format (e.g. XML, RTF) into annotations in GATE format. Uses the markupElementsMap to determine which elements to convert, and what annotation type names to use.

(Document doc)

Source from the content-addressed store, hash-verified

134 * what annotation type names to use.
135 */
136 abstract public void unpackMarkup(Document doc)
137 throws DocumentFormatException;
138
139 abstract public void unpackMarkup(Document doc, RepositioningInfo repInfo,
140 RepositioningInfo ampCodingInfo)

Callers 4

initMethod · 0.95
testUnpackMarkupMethod · 0.45
testSgmlLoadingMethod · 0.45

Calls 6

newFeatureMapMethod · 0.95
getFeaturesMethod · 0.65
toStringMethod · 0.65
getContentMethod · 0.65
setFeaturesMethod · 0.65
putMethod · 0.45

Tested by 3

testUnpackMarkupMethod · 0.36
testSgmlLoadingMethod · 0.36