Package edu.berkeley.nlp.lm.io
Interface NgramOrderedLmReaderCallback<V>
-
- Type Parameters:
V
- Value type for each n-gram (either count of prob/backoff)
- All Superinterfaces:
LmReaderCallback<V>
- All Known Subinterfaces:
ArpaLmReaderCallback<V>
- All Known Implementing Classes:
FirstPassCallback
,KneserNeyFileWritingLmReaderCallback
,KneserNeyLmReaderCallback
,NgramMapAddingCallback
public interface NgramOrderedLmReaderCallback<V> extends LmReaderCallback<V>
Callback that is called for each n-gram in the collection- Author:
- adampauls
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleNgramOrderFinished(int order)
Called when all n-grams of a given order are finishedvoid
handleNgramOrderStarted(int order)
Called when n-grams of a given order are started-
Methods inherited from interface edu.berkeley.nlp.lm.io.LmReaderCallback
call, cleanup
-
-