Class JapaneseTokenizer.Lattice

  • Enclosing class:
    JapaneseTokenizer

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

      • fragment

        char[] fragment
      • useEOS

        boolean useEOS
      • rootCapacity

        int rootCapacity
      • rootSize

        int rootSize
      • rootBase

        int rootBase
      • lRoot

        int[] lRoot
      • rRoot

        int[] rRoot
      • capacity

        int capacity
      • nodeCount

        int nodeCount
      • nodeWordID

        int[] nodeWordID
      • nodeMark

        int[] nodeMark
      • nodeLeftID

        int[] nodeLeftID
      • nodeRightID

        int[] nodeRightID
      • nodeWordCost

        int[] nodeWordCost
      • nodeLeftCost

        int[] nodeLeftCost
      • nodeRightCost

        int[] nodeRightCost
      • nodeLeftNode

        int[] nodeLeftNode
      • nodeRightNode

        int[] nodeRightNode
      • nodeLeft

        int[] nodeLeft
      • nodeRight

        int[] nodeRight
      • nodeLeftChain

        int[] nodeLeftChain
      • nodeRightChain

        int[] nodeRightChain
    • Constructor Detail

      • Lattice

        private Lattice()
    • Method Detail

      • setupRoot

        private void setupRoot​(int baseOffset,
                               int lastOffset)
      • reserve

        private void reserve​(int n)
      • setupNodePool

        private void setupNodePool​(int n)
      • markUnreachable

        void markUnreachable()
      • connectionCost

        int connectionCost​(ConnectionCosts costs,
                           int left,
                           int right)
      • markSameSpanNode

        void markSameSpanNode​(int refNode,
                              int value)
      • bestPathNodeList

        java.util.List<java.lang.Integer> bestPathNodeList()
      • cost

        private int cost​(int node)
      • nBestNodeList

        java.util.List<java.lang.Integer> nBestNodeList​(int N)
      • bestCost

        int bestCost()
      • probeDelta

        int probeDelta​(int start,
                       int end)
      • debugPrint

        void debugPrint()