Package opennlp.tools.tokenize.lang.en
Class TokenSampleStream
java.lang.Object
opennlp.tools.tokenize.lang.en.TokenSampleStream
- All Implemented Interfaces:
- Iterator<TokenSample>
Class which produces an Iterator<TokenSample> from a file of space delimited token.
 This class uses a number of English-specific heuristics to un-separate tokens which
 are typically found together in text.
- 
Constructor Details- 
TokenSampleStream- Throws:
- IOException
 
 
- 
- 
Method Details- 
hasNextpublic boolean hasNext()- Specified by:
- hasNextin interface- Iterator<TokenSample>
 
- 
next- Specified by:
- nextin interface- Iterator<TokenSample>
 
- 
removepublic void remove()- Specified by:
- removein interface- Iterator<TokenSample>
 
 
-