Interface ArpaLmReaderCallback<V>

    • Method Detail

      • initWithLengths

        void initWithLengths​(java.util.List<java.lang.Long> numNGrams)
        Called initially with a list of how many n-grams will appear for each order.
        Parameters:
        numNGrams - maps n-gram orders to number of n-grams (i.e. numNGrams.get(0) is the number of unigrams)