Interface HMMTrainer

  • All Known Implementing Classes:
    SimpleHMMTrainer

    public interface HMMTrainer
    interface implemented by objects that train HMMs.
    Author:
    David Huen
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void completeCycle()
      indicate that a cycle of training is completed and the emission/transition matrices should be updated.
      void recordEmittedSymbol​(State state, Symbol symbol, double weight)
      record that the specified symbol was emitted from the specified state.
      void recordTransition​(State source, State dest, double weight)
      record that a transition was observed between the specified states.
      void startCycle()
      called to put the trainer into an initial state for a new round of training.
    • Method Detail

      • startCycle

        void startCycle()
        called to put the trainer into an initial state for a new round of training.
      • recordTransition

        void recordTransition​(State source,
                              State dest,
                              double weight)
                       throws java.lang.IllegalArgumentException
        record that a transition was observed between the specified states.
        Throws:
        java.lang.IllegalArgumentException