edu.cmu.minorthird.classify.sequential
Class SegmentCollinsPerceptronLearner
java.lang.Object
edu.cmu.minorthird.classify.sequential.SegmentCollinsPerceptronLearner
- All Implemented Interfaces:
- BatchSegmenterLearner, SequenceConstants
public class SegmentCollinsPerceptronLearner
- extends java.lang.Object
- implements BatchSegmenterLearner, SequenceConstants
- Author:
- William Cohen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SegmentCollinsPerceptronLearner
public SegmentCollinsPerceptronLearner(int epochs)
SegmentCollinsPerceptronLearner
public SegmentCollinsPerceptronLearner(int epochs,
boolean updatedViterbi)
SegmentCollinsPerceptronLearner
public SegmentCollinsPerceptronLearner()
setSchema
public void setSchema(ExampleSchema schema)
- Specified by:
setSchema
in interface BatchSegmenterLearner
getNumberOfEpochs
public int getNumberOfEpochs()
setNumberOfEpochs
public void setNumberOfEpochs(int newNumberOfEpochs)
getHistorySize
public int getHistorySize()
batchTrain
public Segmenter batchTrain(SegmentDataset dataset)
- Specified by:
batchTrain
in interface BatchSegmenterLearner