public class PairAttributeCalculator extends AttributeCalculator
Modifier and Type | Field and Description |
---|---|
protected org.apache.uima.jcas.tcas.Annotation |
a1 |
protected org.apache.uima.jcas.tcas.Annotation |
a2 |
protected String |
es1 |
protected String |
es2 |
protected Markable |
m1 |
protected Markable |
m2 |
protected String |
ms1 |
protected String |
ms2 |
Constructor and Description |
---|
PairAttributeCalculator(org.apache.uima.jcas.JCas jcas,
Markable m1,
Markable m2) |
containedTokens, contentWords, number, setStopWordsList
protected Markable m1
protected Markable m2
protected String ms1
protected String ms2
protected String es1
protected String es2
protected org.apache.uima.jcas.tcas.Annotation a1
protected org.apache.uima.jcas.tcas.Annotation a2
public String calcSameSection()
public double calcTokenDistance()
public double calcSentenceDistance()
public int getSentenceDistance()
public boolean calcExactMatch()
public boolean calcStartMatch()
public boolean calcMidMatch()
public boolean calcEndMatch()
public boolean calcStringMatch()
public boolean calcEntityExactMatch()
public boolean calcEntityStartMatch()
public boolean calcEntityEndMatch()
public boolean calcSoonStr()
public boolean calcPronoun1()
public boolean calcPronoun2()
public boolean calcDefinite2()
public boolean calcDemonstrative2()
public boolean calcNumberMatchC()
public boolean calcNumberMatchI()
public boolean calcNumberMatchNA()
public boolean calcWnClassC()
public boolean calcWnClassI()
public boolean calcWnClassNA()
public boolean calcWnClass()
public boolean calcAlias()
public boolean isAlias()
public boolean calcProStr()
public boolean calcWordsStr()
public boolean calcSoonStrNonpro()
public boolean calcWordOverlap()
public boolean calcModifier()
public boolean calcWordsSubstr()
public boolean calcBothDefinitesC()
public boolean calcBothDefinitesI()
public boolean calcBothDefinitesNA()
public boolean calcBothPronounsC()
public boolean calcBothPronounsI()
public boolean calcBothPronounsNA()
public boolean calcBothPronouns()
public boolean calcIndefinite()
public boolean calcPronoun()
public boolean calcDefinite1()
public boolean calcIsDrug()
public boolean calcIsDisorder()
public boolean calcIsFinding()
public boolean calcIsProcedure()
public boolean calcIsAnatomicalSite()
public boolean calcNegatedBoth()
public boolean calcNonNegatedBoth()
public boolean calcClosestComp()
public boolean calcNPHead()
public double calcPermStrDist()
public boolean calcAliasDrug()
public boolean calcAliasDisorder()
public boolean calcAliasFinding()
public boolean calcAliasProcedure()
public boolean calcAliasAnatomy()
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.