|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.cmu.minorthird.classify.sequential.CRFLearner edu.cmu.minorthird.classify.sequential.SegmentCRFLearner
public class SegmentCRFLearner
Sequential learner based on the CRF algorithm. Source for the iitb.CRF package available from http://crf.sourceforge.net. This class implements the semi-markov version of CRF
Nested Class Summary | |
---|---|
class |
SegmentCRFLearner.SemiMTFeatureGenImpl
|
Nested classes/interfaces inherited from class edu.cmu.minorthird.classify.sequential.CRFLearner |
---|
CRFLearner.MTFeatureGenImpl |
Field Summary |
---|
Fields inherited from class edu.cmu.minorthird.classify.sequential.CRFLearner |
---|
maxItersHelp, useHighPrecisionArithmeticHelp |
Fields inherited from interface edu.cmu.minorthird.classify.sequential.SequenceConstants |
---|
HISTORY_FEATURE, NULL_CLASS_NAME |
Constructor Summary | |
---|---|
SegmentCRFLearner()
|
|
SegmentCRFLearner(java.lang.String args)
|
Method Summary | |
---|---|
Segmenter |
batchTrain(SegmentDataset dataset)
|
java.lang.String |
explain(CandidateSegmentGroup g)
Return some string that 'explains' the classification |
Segmentation |
segmentation(CandidateSegmentGroup g)
Return a predicted type for each element of the sequence. |
Methods inherited from class edu.cmu.minorthird.classify.sequential.CRFLearner |
---|
batchTrain, classification, explain, getExplanation, getHistorySize, getMaxIters, getMaxItersHelp, getSchema, getUseHighPrecisionArithmetic, getUseHighPrecisionArithmeticHelp, removeLogSpaceOption, setLogSpaceOption, setMaxIters, setSchema, setUseHighPrecisionArithmetic, toGUI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface edu.cmu.minorthird.classify.sequential.BatchSegmenterLearner |
---|
setSchema |
Constructor Detail |
---|
public SegmentCRFLearner()
public SegmentCRFLearner(java.lang.String args)
Method Detail |
---|
public Segmenter batchTrain(SegmentDataset dataset)
batchTrain
in interface BatchSegmenterLearner
public Segmentation segmentation(CandidateSegmentGroup g)
segmentation
in interface Segmenter
public java.lang.String explain(CandidateSegmentGroup g)
explain
in interface Segmenter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |