Class JapaneseTokenizer.Position

  • Enclosing class:
    JapaneseTokenizer

    static final class JapaneseTokenizer.Position
    extends java.lang.Object
    • Field Detail

      • pos

        int pos
      • count

        int count
      • costs

        int[] costs
      • lastRightID

        int[] lastRightID
      • backPos

        int[] backPos
      • backIndex

        int[] backIndex
      • backID

        int[] backID
      • forwardCount

        int forwardCount
      • forwardPos

        int[] forwardPos
      • forwardID

        int[] forwardID
      • forwardIndex

        int[] forwardIndex
    • Constructor Detail

      • Position

        Position()
    • Method Detail

      • grow

        public void grow()
      • growForward

        public void growForward()
      • add

        public void add​(int cost,
                        int lastRightID,
                        int backPos,
                        int backIndex,
                        int backID,
                        JapaneseTokenizer.Type backType)
      • addForward

        public void addForward​(int forwardPos,
                               int forwardIndex,
                               int forwardID,
                               JapaneseTokenizer.Type forwardType)
      • reset

        public void reset()