Class CharsetRecog_sbcs.NGramParser

    • Field Detail

      • byteIndex

        protected int byteIndex
      • ngram

        private int ngram
      • ngramList

        private int[] ngramList
      • byteMap

        protected byte[] byteMap
      • ngramCount

        private int ngramCount
      • hitCount

        private int hitCount
      • spaceChar

        protected byte spaceChar
    • Constructor Detail

      • NGramParser

        public NGramParser​(int[] theNgramList,
                           byte[] theByteMap)
    • Method Detail

      • search

        private static int search​(int[] table,
                                  int value)
      • lookup

        private void lookup​(int thisNgram)
      • addByte

        protected void addByte​(int b)
      • parseCharacters

        protected void parseCharacters​(CharsetDetector det)