|
||||||||||
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.IntroExample
public class IntroExample
An example to hold an Mention and knowledge of whether the example is the first mention of an entity in a document.
Field Summary | |
---|---|
protected boolean |
m_firstMeaningful
|
protected boolean |
m_isFirst
Meaningless unless set |
Mention |
m_m
|
private static long |
serialVersionUID
|
Constructor Summary | |
---|---|
IntroExample(Mention m)
Constructs an IntroExample for use in determining whether a mention is the the first mention of an entity. |
|
IntroExample(Mention m,
boolean isFirst)
Constructs an IntroExample for use in training. |
Method Summary | |
---|---|
boolean |
isFirst()
Gets the label, which indicates whether the example mention is the first mention of its entity. |
void |
setIsFirst(boolean isFirst)
Sets the label, which indicates whether the example mention is the first mention of its entity. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
public Mention m_m
protected boolean m_isFirst
protected boolean m_firstMeaningful
Constructor Detail |
---|
public IntroExample(Mention m)
m
- The mentionpublic IntroExample(Mention m, boolean isFirst)
m
- The mentionisFirst
- The label, indicating whether a mention
is the first mention of its entity.Method Detail |
---|
public boolean isFirst()
public void setIsFirst(boolean isFirst)
isFirst
- The label, indicating whether the example mention
is the first mention of its entity.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |