|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
V
- Value type for each n-gram (either count of prob/backoff)public interface ArpaLmReaderCallback<V>
Callback that is called for each n-gram in the collection
Method Summary | |
---|---|
void |
initWithLengths(List<Long> numNGrams)
Called initially with a list of how many n-grams will appear for each order. |
Methods inherited from interface edu.berkeley.nlp.lm.io.NgramOrderedLmReaderCallback |
---|
handleNgramOrderFinished, handleNgramOrderStarted |
Methods inherited from interface edu.berkeley.nlp.lm.io.LmReaderCallback |
---|
call, cleanup |
Method Detail |
---|
void initWithLengths(List<Long> numNGrams)
numNGrams
- maps n-gram orders to number of n-grams (i.e. numNGrams.get(0)
is the number of unigrams)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |