Class Util


  • public class Util
    extends Object
    Co-reference spotting utilities.
    • Constructor Detail

      • Util

        public Util()
    • 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)