Class BigramDictionary

java.lang.Object
org.apache.lucene.analysis.cn.smart.hhmm.AbstractDictionary
org.apache.lucene.analysis.cn.smart.hhmm.BigramDictionary

class BigramDictionary extends AbstractDictionary
SmartChineseAnalyzer Bigram dictionary.
  • Field Details

    • WORD_SEGMENT_CHAR

      public static final char WORD_SEGMENT_CHAR
      See Also:
    • singleInstance

      private static BigramDictionary singleInstance
    • PRIME_BIGRAM_LENGTH

      public static final int PRIME_BIGRAM_LENGTH
      See Also:
    • bigramHashTable

      private long[] bigramHashTable
    • frequencyTable

      private int[] frequencyTable
    • max

      private int max
    • repeat

      private int repeat
  • Constructor Details

    • BigramDictionary

      private BigramDictionary()
  • Method Details