Class CounterSetupVisitor

    • Field Detail

      • offset2Term

        public String[] offset2Term
        For each offset, the corresponding term.
      • count

        public int[] count
        For each offset, its count.
      • frequency

        public long[] frequency
        For each offset, its frequency.
      • offset2TermId

        public int[] offset2TermId
        For each offset, its term id.
      • termId2Term

        public String[] termId2Term
        For each term id, the corresponding term.
    • Constructor Detail

      • CounterSetupVisitor

        public CounterSetupVisitor​(TermCollectionVisitor termCollectionVisitor)
        Creates a new counter-setup visitor based on a given term-collection visitor.
        Parameters:
        termCollectionVisitor - a term-collection visitor.