public class NegationManualDepContextAnalyzer extends Object
Constructor and Description |
---|
NegationManualDepContextAnalyzer() |
Modifier and Type | Method and Description |
---|---|
boolean[] |
findNegationContext(List<ConllDependencyNode> nodes,
ConllDependencyNode focus)
Executes the regular expressions on paths.
|
int |
getNumFeatures() |
String |
getRegexName(int i) |
boolean |
isBoundary(org.apache.uima.jcas.tcas.Annotation contextAnnotation,
int scopeOrientation) |
public boolean isBoundary(org.apache.uima.jcas.tcas.Annotation contextAnnotation, int scopeOrientation) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
org.apache.uima.analysis_engine.AnalysisEngineProcessException
public boolean[] findNegationContext(List<ConllDependencyNode> nodes, ConllDependencyNode focus) throws Exception
nodes
- focus
- Exception
public int getNumFeatures()
public String getRegexName(int i)
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.