Class SegTokenPair

java.lang.Object
org.apache.lucene.analysis.cn.smart.hhmm.SegTokenPair

class SegTokenPair extends Object
A pair of tokens in SegGraph
  • Field Details

    • charArray

      public char[] charArray
    • from

      public int from
      index of the first token in SegGraph
    • to

      public int to
      index of the second token in SegGraph
    • weight

      public double weight
  • Constructor Details

    • SegTokenPair

      public SegTokenPair(char[] idArray, int from, int to, double weight)
  • Method Details