edu.cmu.minorthird.text.learn
Class ConditionalSemiMarkovModel

java.lang.Object
  extended by edu.cmu.minorthird.text.learn.ConditionalSemiMarkovModel

public class ConditionalSemiMarkovModel
extends java.lang.Object

Learn to annotate based on a conditional semi-markov model, learned from examples.

Author:
William Cohen

Nested Class Summary
static class ConditionalSemiMarkovModel.CSMMAnnotator
           
static class ConditionalSemiMarkovModel.CSMMLearner
          A learner for ConditionalSemiMarkovModel's.
static class ConditionalSemiMarkovModel.CSMMSpanFE
           
static class ConditionalSemiMarkovModel.CSMMWithDictionarySpanFE
          Feature extractor for providing distance-based features on terms.
static class ConditionalSemiMarkovModel.Segments
           
 
Constructor Summary
ConditionalSemiMarkovModel()
           
 
Method Summary
static ConditionalSemiMarkovModel.Segments bestSegments(Span documentSpan, TextLabels labels, SpanFeatureExtractor fe, BinaryClassifier classifier, int maxSegSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConditionalSemiMarkovModel

public ConditionalSemiMarkovModel()
Method Detail

bestSegments

public static ConditionalSemiMarkovModel.Segments bestSegments(Span documentSpan,
                                                               TextLabels labels,
                                                               SpanFeatureExtractor fe,
                                                               BinaryClassifier classifier,
                                                               int maxSegSize)