org.apache.ctakes.coreference.util
Class PairAttributeCalculator

java.lang.Object
  extended by org.apache.ctakes.coreference.util.AttributeCalculator
      extended by org.apache.ctakes.coreference.util.PairAttributeCalculator
Direct Known Subclasses:
SyntaxAttributeCalculator

public class PairAttributeCalculator
extends AttributeCalculator


Field Summary
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 Summary
PairAttributeCalculator(org.apache.uima.jcas.JCas jcas, Markable m1, Markable m2)
           
 
Method Summary
 boolean calcAlias()
           
 boolean calcAliasAnatomy()
           
 boolean calcAliasDisorder()
           
 boolean calcAliasDrug()
           
 boolean calcAliasFinding()
           
 boolean calcAliasProcedure()
           
 boolean calcBothDefinitesC()
           
 boolean calcBothDefinitesI()
           
 boolean calcBothDefinitesNA()
           
 boolean calcBothPronouns()
           
 boolean calcBothPronounsC()
           
 boolean calcBothPronounsI()
           
 boolean calcBothPronounsNA()
           
 boolean calcClosestComp()
           
 boolean calcDefinite1()
           
 boolean calcDefinite2()
           
 boolean calcDemonstrative2()
           
 boolean calcEndMatch()
           
 boolean calcEntityEndMatch()
           
 boolean calcEntityExactMatch()
           
 boolean calcEntityStartMatch()
           
 boolean calcExactMatch()
           
 boolean calcIndefinite()
           
 boolean calcIsAnatomicalSite()
           
 boolean calcIsDisorder()
           
 boolean calcIsDrug()
           
 boolean calcIsFinding()
           
 boolean calcIsProcedure()
           
 boolean calcMidMatch()
           
 boolean calcModifier()
           
 boolean calcNegatedBoth()
           
 boolean calcNonNegatedBoth()
           
 boolean calcNPHead()
           
 boolean calcNumberMatchC()
           
 boolean calcNumberMatchI()
           
 boolean calcNumberMatchNA()
           
 double calcPermStrDist()
           
 boolean calcPronoun()
           
 boolean calcPronoun1()
           
 boolean calcPronoun2()
           
 boolean calcProStr()
           
 String calcSameSection()
          Determine whether the markables are located within the same section
 double calcSentenceDistance()
           
 boolean calcSoonStr()
           
 boolean calcSoonStrNonpro()
           
 boolean calcStartMatch()
           
 boolean calcStringMatch()
           
 double calcTokenDistance()
           
 boolean calcWnClass()
           
 boolean calcWnClassC()
           
 boolean calcWnClassI()
           
 boolean calcWnClassNA()
           
 boolean calcWordOverlap()
           
 boolean calcWordsStr()
           
 boolean calcWordsSubstr()
           
 int getSentenceDistance()
           
 boolean isAlias()
           
 
Methods inherited from class org.apache.ctakes.coreference.util.AttributeCalculator
containedTokens, contentWords, number, setStopWordsList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m1

protected Markable m1

m2

protected Markable m2

ms1

protected String ms1

ms2

protected String ms2

es1

protected String es1

es2

protected String es2

a1

protected org.apache.uima.jcas.tcas.Annotation a1

a2

protected org.apache.uima.jcas.tcas.Annotation a2
Constructor Detail

PairAttributeCalculator

public PairAttributeCalculator(org.apache.uima.jcas.JCas jcas,
                               Markable m1,
                               Markable m2)
Method Detail

calcSameSection

public String calcSameSection()
Determine whether the markables are located within the same section

Returns:

calcTokenDistance

public double calcTokenDistance()

calcSentenceDistance

public double calcSentenceDistance()

getSentenceDistance

public int getSentenceDistance()

calcExactMatch

public boolean calcExactMatch()

calcStartMatch

public boolean calcStartMatch()

calcMidMatch

public boolean calcMidMatch()

calcEndMatch

public boolean calcEndMatch()

calcStringMatch

public boolean calcStringMatch()

calcEntityExactMatch

public boolean calcEntityExactMatch()

calcEntityStartMatch

public boolean calcEntityStartMatch()

calcEntityEndMatch

public boolean calcEntityEndMatch()

calcSoonStr

public boolean calcSoonStr()

calcPronoun1

public boolean calcPronoun1()

calcPronoun2

public boolean calcPronoun2()

calcDefinite2

public boolean calcDefinite2()

calcDemonstrative2

public boolean calcDemonstrative2()

calcNumberMatchC

public boolean calcNumberMatchC()

calcNumberMatchI

public boolean calcNumberMatchI()

calcNumberMatchNA

public boolean calcNumberMatchNA()

calcWnClassC

public boolean calcWnClassC()

calcWnClassI

public boolean calcWnClassI()

calcWnClassNA

public boolean calcWnClassNA()

calcWnClass

public boolean calcWnClass()

calcAlias

public boolean calcAlias()

isAlias

public boolean isAlias()

calcProStr

public boolean calcProStr()

calcWordsStr

public boolean calcWordsStr()

calcSoonStrNonpro

public boolean calcSoonStrNonpro()

calcWordOverlap

public boolean calcWordOverlap()

calcModifier

public boolean calcModifier()

calcWordsSubstr

public boolean calcWordsSubstr()

calcBothDefinitesC

public boolean calcBothDefinitesC()

calcBothDefinitesI

public boolean calcBothDefinitesI()

calcBothDefinitesNA

public boolean calcBothDefinitesNA()

calcBothPronounsC

public boolean calcBothPronounsC()

calcBothPronounsI

public boolean calcBothPronounsI()

calcBothPronounsNA

public boolean calcBothPronounsNA()

calcBothPronouns

public boolean calcBothPronouns()

calcIndefinite

public boolean calcIndefinite()

calcPronoun

public boolean calcPronoun()

calcDefinite1

public boolean calcDefinite1()

calcIsDrug

public boolean calcIsDrug()

calcIsDisorder

public boolean calcIsDisorder()

calcIsFinding

public boolean calcIsFinding()

calcIsProcedure

public boolean calcIsProcedure()

calcIsAnatomicalSite

public boolean calcIsAnatomicalSite()

calcNegatedBoth

public boolean calcNegatedBoth()

calcNonNegatedBoth

public boolean calcNonNegatedBoth()

calcClosestComp

public boolean calcClosestComp()

calcNPHead

public boolean calcNPHead()

calcPermStrDist

public double calcPermStrDist()

calcAliasDrug

public boolean calcAliasDrug()

calcAliasDisorder

public boolean calcAliasDisorder()

calcAliasFinding

public boolean calcAliasFinding()

calcAliasProcedure

public boolean calcAliasProcedure()

calcAliasAnatomy

public boolean calcAliasAnatomy()


Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.