|
||||||||||
| 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.WordExample
edu.illinois.cs.cogcomp.lbj.coref.ir.examples.BIOExample
public class BIOExample
An example of a word and information about where in a chunk it is located: beginning, inside, or outside a chunk.
| Field Summary | |
|---|---|
char |
m_bio
Whether this word 'b'egins, is 'i'nside, or is 'o'utside a (head) chunk. |
char |
m_bioE
Whether this word 'b'egins, is 'i'nside, or is 'o'utside an extent chunk. |
char |
m_bracketE
Whether a word 's'tarts or 'e'nds an extent, for use with bracket classifiers. |
java.lang.String |
m_predELabel
A predicted label for the BIO status of the extent. |
java.lang.String |
m_predLabel
A predicted label for the BIO status of the head. |
BIOExample |
m_prevEx
The previous word's example. |
static java.util.Set<java.lang.String> |
prevEntWords
The words of the previous entities. |
| Fields inherited from class edu.illinois.cs.cogcomp.lbj.coref.ir.examples.WordExample |
|---|
m_doc, m_numWords, m_wordN |
| Constructor Summary | |
|---|---|
BIOExample(Doc doc,
int wordN,
char bioH,
BIOExample prev)
Constructs a BIO example for a given word with respect to its presence in a head. |
|
BIOExample(Doc doc,
int wordN,
char bioH,
char bioE,
BIOExample prev)
Constructs a BIO example for a given word with respect to its presence in a head and in an extent. |
|
| Method Summary |
|---|
| Methods inherited from class edu.illinois.cs.cogcomp.lbj.coref.ir.examples.WordExample |
|---|
getCasedWord, getCasedWord, getDoc, getPOS, getPOS, getWord, getWord, getWordCase, getWordCase, getWordCase, getWordNum |
| Methods inherited from class edu.illinois.cs.cogcomp.lbj.coref.ir.examples.Example |
|---|
getLabel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public BIOExample m_prevEx
public char m_bio
public char m_bioE
public char m_bracketE
public java.lang.String m_predLabel
public java.lang.String m_predELabel
public static java.util.Set<java.lang.String> prevEntWords
| Constructor Detail |
|---|
public BIOExample(Doc doc,
int wordN,
char bioH,
char bioE,
BIOExample prev)
doc - The document containing the example word.wordN - The word number of the example word.bioH - The BIO status of the word with respect to a head.
(unknown: used for evaluation where ground truth is not known)bioE - The BIO status of the word with respect to an extent.
(unknown: used for evaluation where ground truth is not known).prev - The BIO example for the previous word, if any.
public BIOExample(Doc doc,
int wordN,
char bioH,
BIOExample prev)
doc - The document containing the example word.wordN - The word number of the example word.bioH - The BIO status of the word with respect to a head.
May be 'b', 'i', 'o', or 'u'
(unknown: used for evaluation where ground truth is not known)
(unknown: used for evaluation where ground truth is not known).prev - The BIO example for the previous word, if any.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||