Class KoreanTokenizer.Position

  • Enclosing class:
    KoreanTokenizer

    static final class KoreanTokenizer.Position
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Position()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(int cost, int lastRightID, int backPos, int backRPos, int backIndex, int backID, KoreanTokenizer.Type backType)  
      void grow()  
      void reset()  
      • Methods inherited from class java.lang.Object

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

      • pos

        int pos
      • count

        int count
      • costs

        int[] costs
      • lastRightID

        int[] lastRightID
      • backPos

        int[] backPos
      • backWordPos

        int[] backWordPos
      • backIndex

        int[] backIndex
      • backID

        int[] backID
    • Constructor Detail

      • Position

        Position()
    • Method Detail

      • grow

        public void grow()
      • add

        public void add​(int cost,
                        int lastRightID,
                        int backPos,
                        int backRPos,
                        int backIndex,
                        int backID,
                        KoreanTokenizer.Type backType)
      • reset

        public void reset()