|
||||||||||
| 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
public abstract class ChunkDecoder
A decoder that translates a document to a ChunkSolution.
| Field Summary | |
|---|---|
protected LBJ2.classify.Classifier |
m_classifier
|
| Fields inherited from class edu.illinois.cs.cogcomp.lbj.coref.decoders.DecoderWithOptions |
|---|
m_options, m_train |
| Constructor Summary | |
|---|---|
ChunkDecoder()
Constructs a chunk decoder that does not use a classifier. |
|
ChunkDecoder(LBJ2.classify.Classifier classifier)
Constructor for use when a Classifier is used in the decoding process. |
|
| Method Summary | |
|---|---|
abstract ChunkSolution |
decode(Doc doc)
Translates a document into a set of chunks represented by a ChunkSolution,
generally by applying a given classifier. |
| 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 |
| Field Detail |
|---|
protected LBJ2.classify.Classifier m_classifier
| Constructor Detail |
|---|
public ChunkDecoder()
NullPointerException
if the classifier is not set and is accessed.
public ChunkDecoder(LBJ2.classify.Classifier classifier)
classifier - The classifier.| Method Detail |
|---|
public abstract ChunkSolution decode(Doc doc)
ChunkSolution,
generally by applying a given classifier.
decode in interface SolutionDecoder<ChunkSolution>decode in class DecoderWithOptions<ChunkSolution>doc - A document.
ChunkSolution representing a set of chunks.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||