|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.illinois.cs.cogcomp.lbj.coref.features.Case
public class Case
Features related to case.
| Constructor Summary | |
|---|---|
protected |
Case()
Construction of this static feature library should not be necessary. |
| Method Summary | |
|---|---|
static java.lang.String |
getCasedWord(Doc d,
int wordNum,
LBJ2.classify.Classifier caser)
Given a word in a document, returns that word in the case that caser predicts it should be. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected Case()
| Method Detail |
|---|
public static java.lang.String getCasedWord(Doc d,
int wordNum,
LBJ2.classify.Classifier caser)
caser predicts it should be.
d - A document giving the context for the word.wordNum - The position in the document of the word in question.caser - A classifier that takes a CaseExample
returns "allUpper", "firstCap", or "other".
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||