edu.illinois.cs.cogcomp.lbj.coref.features
Class PronounFeatures

java.lang.Object
  extended by edu.illinois.cs.cogcomp.lbj.coref.features.PronounFeatures

public class PronounFeatures
extends java.lang.Object

Collection of features and tools related to pronouns.


Constructor Summary
protected PronounFeatures()
          Should not need to construct this static feature library.
 
Method Summary
static boolean isPronoun(java.lang.String w)
          Determines whether the given string is a pronoun.
static boolean matchesRelative(java.lang.String w)
          Determines whether the given string is a relative pronoun.
static boolean relativePronounFor(CExample ex)
          Determines whether one mention is a relative pronoun referring to the other mention.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PronounFeatures

protected PronounFeatures()
Should not need to construct this static feature library.

Method Detail

relativePronounFor

public static boolean relativePronounFor(CExample ex)
Determines whether one mention is a relative pronoun referring to the other mention.

Parameters:
ex - The example containing the mentions.
Returns:
Whether one mention is a relative pronoun referring to the other.

matchesRelative

public static boolean matchesRelative(java.lang.String w)
Determines whether the given string is a relative pronoun.

Parameters:
w - The string, lowercased.
Returns:
Whether the given string is a lowercase relative pronoun.

isPronoun

public static boolean isPronoun(java.lang.String w)
Determines whether the given string is a pronoun.

Parameters:
w - The string, lowercased.
Returns:
Whether the given string is a lowercase pronoun.