Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## calhoun.analysis.crf.features.supporting
Class MarkovPredictorLogprob

    java.lang.Object
      calhoun.analysis.crf.features.supporting.MarkovPredictorLogprob

All Implemented Interfaces:
  java.io.Serializable

    public class MarkovPredictorLogprob

extends java.lang.Object
implements java.io.Serializable

See Also:
  Serialized Form

Constructor Summary
`MarkovPredictorLogprob(java.util.List<int[]> history)` History is a list that contains one entry for each state.

Method Summary
`float` | `logprob(int state, InputSequence<? extends java.lang.Character> seq, int pos)`
`void` | `train(java.util.List<? extends TrainingSequence<? extends java.lang.Character>> data)`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MarkovPredictorLogprob

    public MarkovPredictorLogprob(java.util.List<int[]> history)

  History is a list that contains one entry for each state. Each entry in the list is in turn a list of the preceding states that we want to examine.

  Parameters:
    `history` -

Method Detail

### logprob

    public float logprob(int state,
                         InputSequence<? extends java.lang.Character> seq,
                         int pos)

### train

    public void train(java.util.List<? extends TrainingSequence<? extends java.lang.Character>> data)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD