public class THYMEKnowtatorXMLReader extends SHARPKnowtatorXMLReader
Modifier and Type | Class and Description |
---|---|
private static interface |
THYMEKnowtatorXMLReader.Options |
Modifier and Type | Field and Description |
---|---|
protected java.io.File |
knowtatorXMLDirectory |
static java.lang.String |
PARAM_KNOWTATOR_XML_DIRECTORY |
PARAM_SET_DEFAULTS, PARAM_TEXT_DIRECTORY
Constructor and Description |
---|
THYMEKnowtatorXMLReader() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String[] |
getAnnotatorNames()
Returns the names of the annotators in the Knowtator files that represent the gold standard
|
static AnalysisEngineDescription |
getDescription(java.io.File knowtatorXMLDirectory) |
protected java.net.URI |
getKnowtatorURI(JCas jCas)
Get the URI for the Knowtator XML file that should be loaded
|
protected java.net.URI |
getTextURI(JCas jCas)
Get the URI that the text in this class was loaded from
|
static void |
main(java.lang.String[] args)
Just runs reader over files.
|
process
public static final java.lang.String PARAM_KNOWTATOR_XML_DIRECTORY
protected java.io.File knowtatorXMLDirectory
public static AnalysisEngineDescription getDescription(java.io.File knowtatorXMLDirectory) throws ResourceInitializationException
ResourceInitializationException
protected java.net.URI getTextURI(JCas jCas)
SHARPKnowtatorXMLReader
getTextURI
in class SHARPKnowtatorXMLReader
protected java.net.URI getKnowtatorURI(JCas jCas) throws AnalysisEngineProcessException
SHARPKnowtatorXMLReader
getKnowtatorURI
in class SHARPKnowtatorXMLReader
AnalysisEngineProcessException
protected java.lang.String[] getAnnotatorNames()
SHARPKnowtatorXMLReader
getAnnotatorNames
in class SHARPKnowtatorXMLReader
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception