public static class EventContextAnalysisPipeline.EventAndTokenContextWriter
extends JCasAnnotator_ImplBase
Modifier and Type | Field and Description |
---|---|
private int |
contextSize |
private java.lang.String |
eventOutputFile |
private java.lang.String |
tokenOutputFile |
Constructor and Description |
---|
EventContextAnalysisPipeline.EventAndTokenContextWriter() |
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
getAnnotationContext(Annotation annotation,
int maxContextWindowSize) |
private static java.io.BufferedWriter |
getWriter(java.lang.String filePath,
boolean append) |
void |
process(JCas jCas) |
private java.lang.String tokenOutputFile
private java.lang.String eventOutputFile
private int contextSize
public EventContextAnalysisPipeline.EventAndTokenContextWriter()
public void process(JCas jCas) throws AnalysisEngineProcessException
AnalysisEngineProcessException
private static java.lang.String getAnnotationContext(Annotation annotation, int maxContextWindowSize)
private static java.io.BufferedWriter getWriter(java.lang.String filePath, boolean append)