Class IndexFeatures

java.lang.Object
org.episteme.social.linguistics.loaders.tigerxml.tools.IndexFeatures

public class IndexFeatures extends Object
Identifies and compares the features of a GraphNode that are relevant for anaphoric reference, for example person, gender, and number. * $Id: IndexFeatures.java,v 1.2 2007-10-21 17:47:09 virtualcall Exp $
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Constructor Details

    • IndexFeatures

      public IndexFeatures(GraphNode node)
    • IndexFeatures

      public IndexFeatures(GraphNode node, int verbosity)
  • Method Details

    • isFirstPerson

      public boolean isFirstPerson()
    • isSecondPerson

      public boolean isSecondPerson()
    • isThirdPerson

      public boolean isThirdPerson()
    • hasUndefinedPerson

      public boolean hasUndefinedPerson()
    • isFeminine

      public boolean isFeminine()
    • isMasculine

      public boolean isMasculine()
    • isNeuter

      public boolean isNeuter()
    • hasUndefinedGender

      public boolean hasUndefinedGender()
    • isSingular

      public boolean isSingular()
    • isPlural

      public boolean isPlural()
    • hasUndefinedNumber

      public boolean hasUndefinedNumber()
    • getGender

      public String getGender()
    • getNumber

      public String getNumber()
    • getPerson

      public String getPerson()
    • indexFeaturesMatch

      public static boolean indexFeaturesMatch(GraphNode node1, GraphNode node2, int verbosity)
      returns true if the two GraphNodes agree in their index features.
    • indexFeaturesMatch

      public static boolean indexFeaturesMatch(GraphNode node1, GraphNode node2)