public static class RelationContextViewerPipeline.RelationContextPrinter
extends JCasAnnotator_ImplBase
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
outputFile |
Constructor and Description |
---|
RelationContextViewerPipeline.RelationContextPrinter() |
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
getTextBetweenAnnotations(JCas jCas,
Annotation arg1,
Annotation arg2) |
private static java.io.BufferedWriter |
getWriter(java.lang.String filePath,
boolean append) |
void |
process(JCas jCas) |
public RelationContextViewerPipeline.RelationContextPrinter()
public void process(JCas jCas) throws AnalysisEngineProcessException
AnalysisEngineProcessException
private static java.lang.String getTextBetweenAnnotations(JCas jCas, Annotation arg1, Annotation arg2)
private static java.io.BufferedWriter getWriter(java.lang.String filePath, boolean append)