- All Implemented Interfaces:
- java.lang.Runnable
- Enclosing class:
- SequenceVectors<T extends SequenceElement>
protected class SequenceVectors.AsyncSequencer
extends java.lang.Thread
implements java.lang.Runnable
This class is used to fetch data from iterator in background thread, and convert it to List
It becomes very usefull if text processing pipeline behind iterator is complex, and we're not loading data from simple text file with whitespaces as separator.
Since this method allows you to hide preprocessing latency in background.
This mechanics will be change to PrefetchingSentenceIterator wrapper.