|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.illinois.cs.cogcomp.lbj.coref.decoders.DecoderWithOptions<ChunkSolution>
edu.illinois.cs.cogcomp.lbj.coref.decoders.ChunkDecoder
edu.illinois.cs.cogcomp.lbj.coref.decoders.BIODecoder
public class BIODecoder
Translates a BIO classifier's decisions into a ChunkSolution.
| Field Summary |
|---|
| Fields inherited from class edu.illinois.cs.cogcomp.lbj.coref.decoders.ChunkDecoder |
|---|
m_classifier |
| Fields inherited from class edu.illinois.cs.cogcomp.lbj.coref.decoders.DecoderWithOptions |
|---|
m_options, m_train |
| Constructor Summary | |
|---|---|
BIODecoder(LBJ2.classify.Classifier bioClassifier)
Constructs the decoder. |
|
| Method Summary | |
|---|---|
ChunkSolution |
decode(Doc doc)
Classifies each word (wrapped in a BIOExample) in a document,
starting at the first text word,
as beginning ('b'), inside ('i') or outside ('o') a chunk,
and decodes these decisions into a list of chunks. |
| Methods inherited from class edu.illinois.cs.cogcomp.lbj.coref.decoders.DecoderWithOptions |
|---|
getBooleanOption, getOption, getRealOption, processOption, setOption, setOption, setOption, setTrain |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BIODecoder(LBJ2.classify.Classifier bioClassifier)
bioClassifier - A classifier that classifies a word
(wrapped in a BIOExample),
as beginning ("b"), inside ("i") or outside ("o") a chunk.| Method Detail |
|---|
public ChunkSolution decode(Doc doc)
BIOExample) in a document,
starting at the first text word,
as beginning ('b'), inside ('i') or outside ('o') a chunk,
and decodes these decisions into a list of chunks.
decode in interface SolutionDecoder<ChunkSolution>decode in class ChunkDecoderdoc - The document to process.
ChunkSolution containing a list of the detected
chunks.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||