Class BackPointer


  • public class BackPointer
    extends Object
    A backpointer.

    This is used to facilitate traceback after the Viterbi computation.

    Author:
    Matthew Pocock
    • Field Detail

      • state

        public final State state
        The state with which this backpointer is associated.
      • back

        public final BackPointer back
        The previous backpointer (towards origin of DP matrix) in traceback.
      • score

        public final double score
        The score of this element of the DP matrix.