Class Util
- java.lang.Object
-
- edu.upf.taln.dri.module.coref.sieve.Util
-
public class Util extends Object
Co-reference spotting utilities.
-
-
Constructor Summary
Constructors Constructor Description Util()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
checkAnimacyConcordance(gate.Annotation candidateCorefMentionAnn, gate.Annotation potentialAntecedentAnn, CorefChainBuilder corefBuilder)
static boolean
checkGenderConcordance(gate.Annotation candidateCorefMentionAnn, gate.Annotation potentialAntecedentAnn, CorefChainBuilder corefBuilder)
static boolean
checkNERconcordance(gate.Annotation candidateCorefMentionAnn, gate.Annotation potentialAntecedentAnn, CorefChainBuilder corefBuilder)
static boolean
checkNumberConcordance(gate.Annotation candidateCorefMentionAnn, gate.Annotation potentialAntecedentAnn, CorefChainBuilder corefBuilder)
static boolean
entityAttributesAgree(gate.Annotation candidateCorefMentionAnn, gate.Annotation potentialAntecedentAnn, boolean ignoreGender, CorefChainBuilder corefBuilder)
static AnimacyENUM
getAnimacyDetails(gate.Annotation candidateCorefMentionAnn, gate.Document gateDoc)
static GenderENUM
getGenderDetails(gate.Annotation candidateCorefMentionAnn, gate.Document gateDoc)
static NumberENUM
getNumberDetails(gate.Annotation candidateCorefMentionAnn, gate.Document gateDoc)
static PersonENUM
getPersonDetails(gate.Annotation candidateCorefMentionAnn, gate.Document gateDoc)
-
-
-
Method Detail
-
getPersonDetails
public static PersonENUM getPersonDetails(gate.Annotation candidateCorefMentionAnn, gate.Document gateDoc)
-
getGenderDetails
public static GenderENUM getGenderDetails(gate.Annotation candidateCorefMentionAnn, gate.Document gateDoc)
-
getNumberDetails
public static NumberENUM getNumberDetails(gate.Annotation candidateCorefMentionAnn, gate.Document gateDoc)
-
getAnimacyDetails
public static AnimacyENUM getAnimacyDetails(gate.Annotation candidateCorefMentionAnn, gate.Document gateDoc)
-
entityAttributesAgree
public static boolean entityAttributesAgree(gate.Annotation candidateCorefMentionAnn, gate.Annotation potentialAntecedentAnn, boolean ignoreGender, CorefChainBuilder corefBuilder)
-
checkNumberConcordance
public static boolean checkNumberConcordance(gate.Annotation candidateCorefMentionAnn, gate.Annotation potentialAntecedentAnn, CorefChainBuilder corefBuilder)
-
checkGenderConcordance
public static boolean checkGenderConcordance(gate.Annotation candidateCorefMentionAnn, gate.Annotation potentialAntecedentAnn, CorefChainBuilder corefBuilder)
-
checkAnimacyConcordance
public static boolean checkAnimacyConcordance(gate.Annotation candidateCorefMentionAnn, gate.Annotation potentialAntecedentAnn, CorefChainBuilder corefBuilder)
-
checkNERconcordance
public static boolean checkNERconcordance(gate.Annotation candidateCorefMentionAnn, gate.Annotation potentialAntecedentAnn, CorefChainBuilder corefBuilder)
-
-