Class ViterbiNode


  • public final class ViterbiNode
    extends java.lang.Object
    Viterbiアルゴリズムで使用されるノード
    • Constructor Summary

      Constructors 
      Constructor Description
      ViterbiNode​(int wid, int beg, short len, short wordCost, short l, short r, boolean space)  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ViterbiNode makeBOSEOS()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • cost

        public int cost
      • wordId

        public final int wordId
      • leftId

        public final short leftId
      • rightId

        public final short rightId
      • start

        public final int start
      • length

        public final short length
      • isSpace

        public final boolean isSpace
    • Constructor Detail

      • ViterbiNode

        public ViterbiNode​(int wid,
                           int beg,
                           short len,
                           short wordCost,
                           short l,
                           short r,
                           boolean space)
    • Method Detail