|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.illinois.cs.cogcomp.lbj.coref.features.PronounFeatures
public class PronounFeatures
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 |
---|
protected PronounFeatures()
Method Detail |
---|
public static boolean relativePronounFor(CExample ex)
ex
- The example containing the mentions.
public static boolean matchesRelative(java.lang.String w)
w
- The string, lowercased.
public static boolean isPronoun(java.lang.String w)
w
- The string, lowercased.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |