Interface LmReaderCallback<V>
- Type Parameters:
V- Value type for each n-gram (either count of prob/backoff)
- All Known Subinterfaces:
ArpaLmReaderCallback<V>, NgramOrderedLmReaderCallback<V>
- All Known Implementing Classes:
FirstPassCallback, KneserNeyFileWritingLmReaderCallback, KneserNeyLmReaderCallback, MosesPhraseTableReaderCallback, NgramMapAddingCallback
public interface LmReaderCallback<V>
Callback that is called for each n-gram in the collection
- Author:
- adampauls
-
Method Summary
-
Method Details
-
call
-
cleanup
void cleanup()Called once all reading is done.
-