Interface ProbBackoffValueContainer

All Superinterfaces:
Serializable, ValueContainer<ProbBackoffPair>
All Known Implementing Classes:
CompressibleProbBackoffValueContainer, UncompressedProbBackoffValueContainer, UnrankedUncompressedProbBackoffValueContainer

public interface ProbBackoffValueContainer extends ValueContainer<ProbBackoffPair>
  • Method Details

    • getProb

      float getProb(int ngramOrder, long index)
    • getBackoff

      float getBackoff(int ngramOrder, long index)
    • getScratchValue

      ProbBackoffPair getScratchValue()
      Description copied from interface: ValueContainer
      Creates a fresh value of object (useful for passing as an output parameter)
      Specified by:
      getScratchValue in interface ValueContainer<ProbBackoffPair>
      Returns:
    • getSuffixOffset

      long getSuffixOffset(long index, int ngramOrder)