|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.illinois.cs.cogcomp.lbj.coref.ir.examples.Example
edu.illinois.cs.cogcomp.lbj.coref.ir.examples.GExample
public class GExample
An example representing a mention and its gender, for use as the input to gender classifiers.
| Field Summary | |
|---|---|
private java.lang.String |
m_text
|
private java.lang.String |
m_val
|
| Constructor Summary | |
|---|---|
GExample(Mention m)
Constructs a gender example representing the head of the mention; subject to change. |
|
GExample(java.lang.String line)
Constructs a gender example from a line matching some text with a gender. |
|
| Method Summary | |
|---|---|
java.lang.String |
getLabel()
Gets the gender label. |
java.lang.String |
getText()
Gets the text of the mention. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String m_text
private java.lang.String m_val
| Constructor Detail |
|---|
public GExample(Mention m)
m - The mention.public GExample(java.lang.String line)
line - A line of text.| Method Detail |
|---|
public java.lang.String getText()
public java.lang.String getLabel()
getLabel in class Example
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||