# Uses of Interface
opennlp.tools.util.ObjectStream

Packages that use ObjectStream
Package
Description
opennlp.tools.chunker
Package related to finding non-recursive syntactic annotation such as noun phrase chunks.
opennlp.tools.cmdline.namefind
opennlp.tools.cmdline.parser
opennlp.tools.doccat
Package for classifying a document into a category.
opennlp.tools.formats
Experimental package related to converting various corpora to OpenNLP Format.
opennlp.tools.formats.ad
Experimental package related to the `Arvores Deitadas corpus` format.
opennlp.tools.formats.brat
Experimental package related to the corpus format used by the "brat rapid annotation tool" (brat).
opennlp.tools.formats.conllu
Experimental package related to the CoNNL-U format.
opennlp.tools.formats.convert
opennlp.tools.formats.frenchtreebank
Experimental package related to the French Treebank format.
opennlp.tools.formats.irishsentencebank
Experimental package related to the Irish Sentence Bank format.
opennlp.tools.formats.leipzig
Experimental package related to the `Leipzig` corpus format.
opennlp.tools.formats.letsmt
Experimental package related to the `letsmt` corpus format.
opennlp.tools.formats.masc
Experimental package related to the `MASC` corpus format.
opennlp.tools.formats.moses
opennlp.tools.formats.muc
Experimental package related to the `MUC` corpus format.
opennlp.tools.formats.nkjp
Experimental package related to the National corpus of Polish `NKJP` format.
opennlp.tools.formats.ontonotes
Experimental package related to the OntoNotes 4.0 format.
opennlp.tools.langdetect
Package related to predicting languages from samples of text.
opennlp.tools.lemmatizer
Package related to the lemmatizer functionality.
opennlp.tools.ml
Package related to Machine Learning (ML) features of OpenNLP, the related ML models, and trainers.
opennlp.tools.ml.maxent
Package related to ML by means of the Maximum Entropy (ME) algorithm.
opennlp.tools.ml.model
Package related to ML models and feature selection techniques.
opennlp.tools.namefind
Package related to finding proper names and numeric amounts.
opennlp.tools.parser
Package containing common code for performing full syntactic parsing.
opennlp.tools.parser.chunking
Package containing code for performing full syntactic parsing using shift/reduce-style decisions.
opennlp.tools.parser.treeinsert
Package containing experimental code for performing full syntactic parsing using attachment decisions.
opennlp.tools.postag
Package related to part-of-speech tagging.
opennlp.tools.sentdetect
Package related to identifying sentence boundaries.
opennlp.tools.tokenize
Contains classes related to finding token or words in a string.
opennlp.tools.util
Package containing utility data structures and algorithms used by multiple other packages.
opennlp.tools.util.eval

- ## Uses of ObjectStream in opennlp.tools.chunker

  Classes in opennlp.tools.chunker that implement ObjectStream
  Modifier and Type
  Class
  Description
  `class`
  `ChunkerEventStream`
  Class for creating an event stream out of data files for training a `Chunker`.
  `class`
  `ChunkSampleSequenceStream`
  A `SequenceStream` implementation encapsulating `samples`.
  `class`
  `ChunkSampleStream`
  Parses the conll 2000 shared task shallow parser training data.
  Methods in opennlp.tools.chunker with parameters of type ObjectStream
  Modifier and Type
  Method
  Description
  `void`
  ChunkerCrossValidator.`evaluate(ObjectStream<ChunkSample> samples, int nFolds)`
  Starts the evaluation.
  `static ChunkerModel`
  ChunkerME.`train(String lang, ObjectStream<ChunkSample> in, TrainingParameters mlParams, ChunkerFactory factory)`
  Starts a training of a `ChunkerModel` with the given parameters.
  Constructors in opennlp.tools.chunker with parameters of type ObjectStream
  Modifier
  Constructor
  Description
  ``
  `ChunkerEventStream(ObjectStream<ChunkSample> d, ChunkerContextGenerator cg)`
  Creates a new event stream based on the specified data stream using the given context generator.
  ``
  `ChunkSampleSequenceStream(ObjectStream<ChunkSample> samples, ChunkerContextGenerator generator)`
  Creates a `ChunkSampleSequenceStream` with given `samples` using a `ChunkerContextGenerator`.
  ``
  `ChunkSampleStream(ObjectStream<String> samples)`
  Initializes a `instance`.

- ## Uses of ObjectStream in opennlp.tools.cmdline.namefind

  Classes in opennlp.tools.cmdline.namefind that implement ObjectStream
  Modifier and Type
  Class
  Description
  `class`
  `NameSampleCountersStream`
  Counts tokens, sentences and names by type.
  Methods in opennlp.tools.cmdline.namefind with parameters of type ObjectStream
  Modifier and Type
  Method
  Description
  `static Dictionary`
  CensusDictionaryCreatorTool.`createDictionary(ObjectStream<StringList> sampleStream)`
  Creates a dictionary.
  Constructors in opennlp.tools.cmdline.namefind with parameters of type ObjectStream
  Modifier
  Constructor
  Description
  `protected`
  `NameSampleCountersStream(ObjectStream<NameSample> samples)`

- ## Uses of ObjectStream in opennlp.tools.cmdline.parser

  Methods in opennlp.tools.cmdline.parser with parameters of type ObjectStream
  Modifier and Type
  Method
  Description
  `protected ParserModel`
  BuildModelUpdaterTool.`trainAndUpdate(ParserModel originalModel, ObjectStream<Parse> parseSamples, opennlp.tools.cmdline.parser.ModelUpdaterTool.ModelUpdaterParams parameters)`
  `protected ParserModel`
  CheckModelUpdaterTool.`trainAndUpdate(ParserModel originalModel, ObjectStream<Parse> parseSamples, opennlp.tools.cmdline.parser.ModelUpdaterTool.ModelUpdaterParams parameters)`

- ## Uses of ObjectStream in opennlp.tools.doccat

  Classes in opennlp.tools.doccat that implement ObjectStream
  Modifier and Type
  Class
  Description
  `class`
  `DocumentCategorizerEventStream`
  Iterator-like class for modeling document classification events.
  `class`
  `DocumentSampleStream`
  Reads in string encoded training samples, parses them and outputs `DocumentSample` objects.
  Methods in opennlp.tools.doccat with parameters of type ObjectStream
  Modifier and Type
  Method
  Description
  `void`
  DoccatCrossValidator.`evaluate(ObjectStream<DocumentSample> samples, int nFolds)`
  Starts the evaluation.
  `static DoccatModel`
  DocumentCategorizerME.`train(String lang, ObjectStream<DocumentSample> samples, TrainingParameters mlParams, DoccatFactory factory)`
  Starts a training of a `DoccatModel` with the given parameters.
  Constructors in opennlp.tools.doccat with parameters of type ObjectStream
  Modifier
  Constructor
  Description
  ``
  `DocumentCategorizerEventStream(ObjectStream<DocumentSample> samples)`
  Initializes a `DocumentCategorizerEventStream` via samples.
  ``
  `DocumentCategorizerEventStream(ObjectStream<DocumentSample> samples, FeatureGenerator... featureGenerators)`
  Initializes a `DocumentCategorizerEventStream` via samples and `feature generators`.
  ``
  `DocumentSampleStream(ObjectStream<String> samples)`
  Initializes a `instance`.

- ## Uses of ObjectStream in opennlp.tools.formats

  Classes in opennlp.tools.formats that implement ObjectStream
  Modifier and Type
  Class
  Description
  `class`
  `BioNLP2004NameSampleStream`
  A `sample stream` for the training files of the BioNLP/NLPBA 2004 shared task.
  `class`
  `Conll02NameSampleStream`
  Parser for the Dutch and Spanish ner training files of the CONLL 2002 shared task.
  `class`
  `Conll03NameSampleStream`
  An import stream which can parse the CONLL03 data.
  `class`
  `ConllXPOSSampleStream`
  Parses the data from the CONLL 06 shared task into POS Samples.
  `class`
  `DirectorySampleStream`
  The directory sample stream allows for creating an `ObjectStream<File>` from a directory listing of files.
  `class`
  `EvalitaNameSampleStream`
  Parser for the Italian NER training files of the Evalita 2007 and 2009 NER shared tasks.
  `class`
  `NameFinderCensus90NameStream`
  This class helps to read the US Census data from the files to build a StringList for each dictionary entry in the name-finder dictionary.
  `class`
  `TwentyNewsgroupSampleStream`
  Methods in opennlp.tools.formats that return ObjectStream
  Modifier and Type
  Method
  Description
  `ObjectStream<NameSample>`
  BioNLP2004NameSampleStreamFactory.`create(String[] args)`
  `ObjectStream<ChunkSample>`
  ChunkerSampleStreamFactory.`create(String[] args)`
  `ObjectStream<NameSample>`
  Conll02NameSampleStreamFactory.`create(String[] args)`
  `ObjectStream<NameSample>`
  Conll03NameSampleStreamFactory.`create(String[] args)`
  `ObjectStream<POSSample>`
  ConllXPOSSampleStreamFactory.`create(String[] args)`
  `ObjectStream<SentenceSample>`
  ConllXSentenceSampleStreamFactory.`create(String[] args)`
  `ObjectStream<TokenSample>`
  ConllXTokenSampleStreamFactory.`create(String[] args)`
  `ObjectStream<DocumentSample>`
  DocumentSampleStreamFactory.`create(String[] args)`
  `ObjectStream<NameSample>`
  EvalitaNameSampleStreamFactory.`create(String[] args)`
  `ObjectStream<LanguageSample>`
  LanguageDetectorSampleStreamFactory.`create(String[] args)`
  `ObjectStream<LemmaSample>`
  LemmatizerSampleStreamFactory.`create(String[] args)`
  `ObjectStream<NameSample>`
  NameSampleDataStreamFactory.`create(String[] args)`
  `ObjectStream<Parse>`
  ParseSampleStreamFactory.`create(String[] args)`
  `ObjectStream<SentenceSample>`
  SentenceSampleStreamFactory.`create(String[] args)`
  `ObjectStream<TokenSample>`
  TokenSampleStreamFactory.`create(String[] args)`
  `ObjectStream<DocumentSample>`
  TwentyNewsgroupSampleStreamFactory.`create(String[] args)`
  `ObjectStream<POSSample>`
  WordTagSampleStreamFactory.`create(String[] args)`
  Constructors in opennlp.tools.formats with parameters of type ObjectStream
  Modifier
  Constructor
  Description
  ``
  `Conll02NameSampleStream(Conll02NameSampleStream.LANGUAGE lang, ObjectStream<String> lineStream, int types)`
  Initializes a `Conll02NameSampleStream`.
  ``
  `Conll03NameSampleStream(Conll03NameSampleStream.LANGUAGE lang, ObjectStream<String> lineStream, int types)`
  Initializes a `Conll03NameSampleStream`.
  ``
  `ConllXPOSSampleStream(ObjectStream<String> lineStream)`
  Initializes a `ConllXPOSSampleStream`.
  ``
  `EvalitaNameSampleStream(EvalitaNameSampleStream.LANGUAGE lang, ObjectStream<String> lineStream, int types)`
  ``
  `NameFinderCensus90NameStream(ObjectStream<String> lineStream)`
  Initializes a `NameFinderCensus90NameStream` via `ObjectStream<String>`.

- ## Uses of ObjectStream in opennlp.tools.formats.ad

  Classes in opennlp.tools.formats.ad that implement ObjectStream
  Modifier and Type
  Class
  Description
  `class`
  `ADChunkSampleStream`
  Parser for Floresta Sita(c)tica Arvores Deitadas corpus, output to for the Portuguese Chunker training.
  `class`
  `ADNameSampleStream`
  Parser for Floresta Sita(c)tica Arvores Deitadas corpus, output to for the Portuguese NER training.
  `class`
  `ADPOSSampleStream`
  Note: Do not use this class, internal use only!
  `class`
  `ADSentenceSampleStream`
  Note: Do not use this class, internal use only!
  `class`
  `ADSentenceStream`
  Stream filter which merges text lines into sentences, following the Arvores Deitadas syntax.
  Fields in opennlp.tools.formats.ad declared as ObjectStream
  Modifier and Type
  Field
  Description
  `protected final ObjectStream<ADSentenceStream.Sentence>`
  ADChunkSampleStream.`adSentenceStream`
  Methods in opennlp.tools.formats.ad that return ObjectStream
  Modifier and Type
  Method
  Description
  `ObjectStream<ChunkSample>`
  ADChunkSampleStreamFactory.`create(String[] args)`
  `ObjectStream<NameSample>`
  ADNameSampleStreamFactory.`create(String[] args)`
  `ObjectStream<POSSample>`
  ADPOSSampleStreamFactory.`create(String[] args)`
  `ObjectStream<SentenceSample>`
  ADSentenceSampleStreamFactory.`create(String[] args)`
  `ObjectStream<TokenSample>`
  ADTokenSampleStreamFactory.`create(String[] args)`
  Constructors in opennlp.tools.formats.ad with parameters of type ObjectStream
  Modifier
  Constructor
  Description
  ``
  `ADChunkSampleStream(ObjectStream<String> lineStream)`
  Instantiates a `ADChunkSampleStream` stream from `ObjectStream<String>`, that could be a `PlainTextByLineStream` object.
  ``
  `ADNameSampleStream(ObjectStream<String> lineStream, boolean splitHyphenatedTokens)`
  Initializes a new `ADNameSampleStream` stream from a `ObjectStream<String>`, that could be a `PlainTextByLineStream` object.
  ``
  `ADPOSSampleStream(ObjectStream<String> lineStream, boolean expandME, boolean includeFeatures)`
  Creates a new `ADPOSSampleStream` stream from a `ObjectStream<String>`, that could be a `PlainTextByLineStream` object.
  ``
  `ADSentenceSampleStream(ObjectStream<String> lineStream, boolean includeHeadlines)`
  Initializes a new `ADSentenceSampleStream` from a `ObjectStream<String>`, that could be a `PlainTextByLineStream` object.
  ``
  `ADSentenceStream(ObjectStream<String> lineStream)`

- ## Uses of ObjectStream in opennlp.tools.formats.brat

  Classes in opennlp.tools.formats.brat that implement ObjectStream
  Modifier and Type
  Class
  Description
  `class`
  `BratAnnotationStream`
  Reads the annotations from the brat `.ann` annotation file.
  `class`
  `BratDocumentStream`
  `class`
  `BratNameSampleStream`
  Generates Name Sample objects for a Brat Document object.
  `class`
  `SegmenterObjectStream<S,T>`
  Methods in opennlp.tools.formats.brat that return ObjectStream
  Modifier and Type
  Method
  Description
  `ObjectStream<NameSample>`
  BratNameSampleStreamFactory.`create(String[] args)`
  Constructors in opennlp.tools.formats.brat with parameters of type ObjectStream
  Modifier
  Constructor
  Description
  ``
  `BratNameSampleStream(SentenceDetector sentDetector, Tokenizer tokenizer, ObjectStream<BratDocument> samples)`
  Creates a new `BratNameSampleStream`.
  ``
  `BratNameSampleStream(SentenceDetector sentDetector, Tokenizer tokenizer, ObjectStream<BratDocument> samples, Set<String> nameTypes)`
  Creates a new `BratNameSampleStream`.
  ``
  `BratNameSampleStream(SentenceModel sentModel, TokenizerModel tokenModel, ObjectStream<BratDocument> samples)`
  Creates a new `BratNameSampleStream`.
  ``
  `BratNameSampleStream(SentenceModel sentModel, TokenizerModel tokenModel, ObjectStream<BratDocument> samples, Set<String> nameTypes)`
  Creates a new `BratNameSampleStream`.
  ``
  `SegmenterObjectStream(ObjectStream<S> in)`

- ## Uses of ObjectStream in opennlp.tools.formats.conllu

  Classes in opennlp.tools.formats.conllu that implement ObjectStream
  Modifier and Type
  Class
  Description
  `class`
  `ConlluLemmaSampleStream`
  `class`
  `ConlluPOSSampleStream`
  `class`
  `ConlluSentenceSampleStream`
  `class`
  `ConlluStream`
  The CoNNL-U Format is specified here.
  `class`
  `ConlluTokenSampleStream`
  Methods in opennlp.tools.formats.conllu that return ObjectStream
  Modifier and Type
  Method
  Description
  `ObjectStream<LemmaSample>`
  ConlluLemmaSampleStreamFactory.`create(String[] args)`
  `ObjectStream<POSSample>`
  ConlluPOSSampleStreamFactory.`create(String[] args)`
  `ObjectStream<SentenceSample>`
  ConlluSentenceSampleStreamFactory.`create(String[] args)`
  `ObjectStream<TokenSample>`
  ConlluTokenSampleStreamFactory.`create(String[] args)`
  Constructors in opennlp.tools.formats.conllu with parameters of type ObjectStream
  Modifier
  Constructor
  Description
  ``
  `ConlluLemmaSampleStream(ObjectStream<ConlluSentence> samples, ConlluTagset tagset)`
  Initializes a `ConlluLemmaSampleStream`.
  ``
  `ConlluPOSSampleStream(ObjectStream<ConlluSentence> samples, ConlluTagset tagset)`
  Initializes a `ConlluPOSSampleStream`.
  ``
  `ConlluSentenceSampleStream(ObjectStream<ConlluSentence> samples, int sentencesPerSample)`
  Initializes a `ConlluSentenceSampleStream`.
  ``
  `ConlluTokenSampleStream(ObjectStream<ConlluSentence> samples)`
  Initializes a `ConlluTokenSampleStream`.

- ## Uses of ObjectStream in opennlp.tools.formats.convert

  Classes in opennlp.tools.formats.convert that implement ObjectStream
  Modifier and Type
  Class
  Description
  `class`
  `AbstractToSentenceSampleStream<T>`
  `class`
  `FileToByteArraySampleStream`
  Note: Do not use this class, internal use only!
  `class`
  `FileToStringSampleStream`
  Provides the ability to read the contents of files contained in an object stream of files.
  `class`
  `NameToSentenceSampleStream`
  Note: Do not use this class, internal use only!
  `class`
  `NameToTokenSampleStream`
  Note: Do not use this class, internal use only!
  `class`
  `ParseToPOSSampleStream`
  Note: Do not use this class, internal use only!
  `class`
  `POSToSentenceSampleStream`
  Note: Do not use this class, internal use only!
  `class`
  `POSToTokenSampleStream`
  Note: Do not use this class, internal use only!
  Methods in opennlp.tools.formats.convert that return ObjectStream
  Modifier and Type
  Method
  Description
  `ObjectStream<SentenceSample>`
  NameToSentenceSampleStreamFactory.`create(String[] args)`
  `ObjectStream<TokenSample>`
  NameToTokenSampleStreamFactory.`create(String[] args)`
  `ObjectStream<POSSample>`
  ParseToPOSSampleStreamFactory.`create(String[] args)`
  `ObjectStream<SentenceSample>`
  ParseToSentenceSampleStreamFactory.`create(String[] args)`
  `ObjectStream<TokenSample>`
  ParseToTokenSampleStreamFactory.`create(String[] args)`
  `ObjectStream<SentenceSample>`
  POSToSentenceSampleStreamFactory.`create(String[] args)`
  `ObjectStream<TokenSample>`
  POSToTokenSampleStreamFactory.`create(String[] args)`
  Constructors in opennlp.tools.formats.convert with parameters of type ObjectStream
  Modifier
  Constructor
  Description
  ``
  `FileToByteArraySampleStream(ObjectStream<File> samples)`
  Initializes a `FileToByteArraySampleStream`.
  ``
  `FileToStringSampleStream(ObjectStream<File> samples, Charset encoding)`
  Initializes a `FileToStringSampleStream`.
  ``
  `NameToSentenceSampleStream(Detokenizer detokenizer, ObjectStream<NameSample> samples, int chunkSize)`
  Initializes a `NameToSentenceSampleStream`.
  ``
  `NameToTokenSampleStream(Detokenizer detokenizer, ObjectStream<NameSample> samples)`
  Initializes a `NameToTokenSampleStream`.
  ``
  `ParseToPOSSampleStream(ObjectStream<Parse> samples)`
  Initializes a `ParseToPOSSampleStream`.
  ``
  `POSToSentenceSampleStream(Detokenizer detokenizer, ObjectStream<POSSample> samples, int chunkSize)`
  Initializes a `POSToSentenceSampleStream`.
  ``
  `POSToTokenSampleStream(Detokenizer detokenizer, ObjectStream<POSSample> samples)`
  Initializes a `POSToTokenSampleStream`.

- ## Uses of ObjectStream in opennlp.tools.formats.frenchtreebank

  Classes in opennlp.tools.formats.frenchtreebank that implement ObjectStream
  Modifier and Type
  Class
  Description
  `class`
  `ConstitParseSampleStream`
  Methods in opennlp.tools.formats.frenchtreebank that return ObjectStream
  Modifier and Type
  Method
  Description
  `ObjectStream<Parse>`
  ConstitParseSampleStreamFactory.`create(String[] args)`
  Constructors in opennlp.tools.formats.frenchtreebank with parameters of type ObjectStream
  Modifier
  Constructor
  Description
  `protected`
  `ConstitParseSampleStream(ObjectStream<byte[]> samples)`
  Initializes a `ConstitParseSampleStream`.

- ## Uses of ObjectStream in opennlp.tools.formats.irishsentencebank

  Methods in opennlp.tools.formats.irishsentencebank that return ObjectStream
  Modifier and Type
  Method
  Description
  `ObjectStream<SentenceSample>`
  IrishSentenceBankSentenceStreamFactory.`create(String[] args)`
  `ObjectStream<TokenSample>`
  IrishSentenceBankTokenSampleStreamFactory.`create(String[] args)`

- ## Uses of ObjectStream in opennlp.tools.formats.leipzig

  Classes in opennlp.tools.formats.leipzig that implement ObjectStream
  Modifier and Type
  Class
  Description
  `class`
  `LeipzigLanguageSampleStream`
  Methods in opennlp.tools.formats.leipzig that return ObjectStream
  Modifier and Type
  Method
  Description
  `ObjectStream<LanguageSample>`
  LeipzigLanguageSampleStreamFactory.`create(String[] args)`

- ## Uses of ObjectStream in opennlp.tools.formats.letsmt

  Classes in opennlp.tools.formats.letsmt that implement ObjectStream
  Modifier and Type
  Class
  Description
  `class`
  `DetokenizeSentenceSampleStream`
  Methods in opennlp.tools.formats.letsmt that return ObjectStream
  Modifier and Type
  Method
  Description
  `ObjectStream<SentenceSample>`
  LetsmtSentenceStreamFactory.`create(String[] args)`
  Constructors in opennlp.tools.formats.letsmt with parameters of type ObjectStream
  Modifier
  Constructor
  Description
  ``
  `DetokenizeSentenceSampleStream(Detokenizer detokenizer, ObjectStream<SentenceSample> samples)`
  Initializes a `DetokenizeSentenceSampleStream`.

- ## Uses of ObjectStream in opennlp.tools.formats.masc

  Classes in opennlp.tools.formats.masc that implement ObjectStream
  Modifier and Type
  Class
  Description
  `class`
  `MascDocumentStream`
  `class`
  `MascNamedEntitySampleStream`
  `class`
  `MascPOSSampleStream`
  `class`
  `MascSentenceSampleStream`
  `class`
  `MascTokenSampleStream`
  Methods in opennlp.tools.formats.masc that return ObjectStream
  Modifier and Type
  Method
  Description
  `ObjectStream<NameSample>`
  MascNamedEntitySampleStreamFactory.`create(String[] args)`
  `ObjectStream<POSSample>`
  MascPOSSampleStreamFactory.`create(String[] args)`
  `ObjectStream<SentenceSample>`
  MascSentenceSampleStreamFactory.`create(String[] args)`
  `ObjectStream<TokenSample>`
  MascTokenSampleStreamFactory.`create(String[] args)`
  Constructors in opennlp.tools.formats.masc with parameters of type ObjectStream
  Modifier
  Constructor
  Description
  ``
  `MascNamedEntitySampleStream(ObjectStream<MascDocument> samples)`
  Initializes `MascNamedEntitySampleStream` from a stream of `documents`.
  ``
  `MascPOSSampleStream(ObjectStream<MascDocument> samples)`
  Initializes `MascPOSSampleStream` from a stream of `documents`.
  ``
  `MascSentenceSampleStream(ObjectStream<MascDocument> samples, int sentencesPerSample)`
  ``
  `MascTokenSampleStream(ObjectStream<MascDocument> samples)`
  Initializes a `MascTokenSampleStream`.

- ## Uses of ObjectStream in opennlp.tools.formats.moses

  Classes in opennlp.tools.formats.moses that implement ObjectStream
  Modifier and Type
  Class
  Description
  `class`
  `MosesSentenceSampleStream`
  Methods in opennlp.tools.formats.moses that return ObjectStream
  Modifier and Type
  Method
  Description
  `ObjectStream<SentenceSample>`
  MosesSentenceSampleStreamFactory.`create(String[] args)`
  Constructors in opennlp.tools.formats.moses with parameters of type ObjectStream
  Modifier
  Constructor
  Description
  ``
  `MosesSentenceSampleStream(ObjectStream<String> sentences)`
  Initializes a `MosesSentenceSampleStream`.

- ## Uses of ObjectStream in opennlp.tools.formats.muc

  Classes in opennlp.tools.formats.muc that implement ObjectStream
  Modifier and Type
  Class
  Description
  `class`
  `MucNameSampleStream`
  Methods in opennlp.tools.formats.muc that return ObjectStream
  Modifier and Type
  Method
  Description
  `ObjectStream<NameSample>`
  Muc6NameSampleStreamFactory.`create(String[] args)`
  Constructors in opennlp.tools.formats.muc with parameters of type ObjectStream
  Modifier
  Constructor
  Description
  `protected`
  `MucNameSampleStream(Tokenizer tokenizer, ObjectStream<String> samples)`
  Initializes a `MucNameSampleStream`.

- ## Uses of ObjectStream in opennlp.tools.formats.nkjp

  Classes in opennlp.tools.formats.nkjp that implement ObjectStream
  Modifier and Type
  Class
  Description
  `class`
  `NKJPSentenceSampleStream`
  Methods in opennlp.tools.formats.nkjp that return ObjectStream
  Modifier and Type
  Method
  Description
  `ObjectStream<SentenceSample>`
  NKJPSentenceSampleStreamFactory.`create(String[] args)`

- ## Uses of ObjectStream in opennlp.tools.formats.ontonotes

  Classes in opennlp.tools.formats.ontonotes that implement ObjectStream
  Modifier and Type
  Class
  Description
  `class`
  `DocumentToLineStream`
  Reads a plain text file and return each line as a `String` object.
  `class`
  `OntoNotesNameSampleStream`
  Name Sample Stream parser for the OntoNotes 4.0 corpus.
  `class`
  `OntoNotesParseSampleStream`
  Methods in opennlp.tools.formats.ontonotes that return ObjectStream
  Modifier and Type
  Method
  Description
  `ObjectStream<NameSample>`
  OntoNotesNameSampleStreamFactory.`create(String[] args)`
  `ObjectStream<Parse>`
  OntoNotesParseSampleStreamFactory.`create(String[] args)`
  `ObjectStream<POSSample>`
  OntoNotesPOSSampleStreamFactory.`create(String[] args)`
  Constructors in opennlp.tools.formats.ontonotes with parameters of type ObjectStream
  Modifier
  Constructor
  Description
  ``
  `DocumentToLineStream(ObjectStream<String> samples)`
  Initializes a `DocumentToLineStream`.
  ``
  `OntoNotesNameSampleStream(ObjectStream<String> samples)`
  Initializes a `OntoNotesNameSampleStream`.
  ``
  `OntoNotesParseSampleStream(ObjectStream<String> samples)`
  Initializes a `OntoNotesParseSampleStream`.

- ## Uses of ObjectStream in opennlp.tools.langdetect

  Classes in opennlp.tools.langdetect that implement ObjectStream
  Modifier and Type
  Class
  Description
  `class`
  `LanguageDetectorEventStream`
  Iterator-like class for modeling an event stream of `samples`.
  `class`
  `LanguageDetectorSampleStream`
  This class reads in string encoded `training samples`, parses them and outputs `LanguageSample` objects.
  Methods in opennlp.tools.langdetect with parameters of type ObjectStream
  Modifier and Type
  Method
  Description
  `void`
  LanguageDetectorCrossValidator.`evaluate(ObjectStream<LanguageSample> samples, int nFolds)`
  Starts the evaluation.
  `static LanguageDetectorModel`
  LanguageDetectorME.`train(ObjectStream<LanguageSample> samples, TrainingParameters mlParams, LanguageDetectorFactory factory)`
  Starts a training of a `LanguageDetectorModel` with the given parameters.
  Constructors in opennlp.tools.langdetect with parameters of type ObjectStream
  Modifier
  Constructor
  Description
  ``
  `LanguageDetectorEventStream(ObjectStream<LanguageSample> data, LanguageDetectorContextGenerator cg)`
  Initializes an instance via samples and feature generators.
  ``
  `LanguageDetectorSampleStream(ObjectStream<String> samples)`
  Initializes a `instance`.

- ## Uses of ObjectStream in opennlp.tools.lemmatizer

  Classes in opennlp.tools.lemmatizer that implement ObjectStream
  Modifier and Type
  Class
  Description
  `class`
  `LemmaSampleEventStream`
  Class for creating an event stream out of data files for training a probabilistic `Lemmatizer`.
  `class`
  `LemmaSampleSequenceStream`
  A `SequenceStream` implementation encapsulating `samples`.
  `class`
  `LemmaSampleStream`
  Reads data for training and testing the `Lemmatizer`.
  Methods in opennlp.tools.lemmatizer with parameters of type ObjectStream
  Modifier and Type
  Method
  Description
  `static LemmatizerModel`
  LemmatizerME.`train(String languageCode, ObjectStream<LemmaSample> samples, TrainingParameters params, LemmatizerFactory factory)`
  Starts a training of a `LemmatizerModel` with the given parameters.
  Constructors in opennlp.tools.lemmatizer with parameters of type ObjectStream
  Modifier
  Constructor
  Description
  ``
  `LemmaSampleEventStream(ObjectStream<LemmaSample> d, LemmatizerContextGenerator cg)`
  Creates a new event stream based on the specified data stream using a `LemmatizerContextGenerator`.
  ``
  `LemmaSampleSequenceStream(ObjectStream<LemmaSample> samples, LemmatizerContextGenerator contextGenerator)`
  ``
  `LemmaSampleStream(ObjectStream<String> samples)`
  Initializes a `instance`.

- ## Uses of ObjectStream in opennlp.tools.ml

  Methods in opennlp.tools.ml with parameters of type ObjectStream
  Modifier and Type
  Method
  Description
  `DataIndexer`
  AbstractEventTrainer.`getDataIndexer(ObjectStream<Event> events)`
  `final MaxentModel`
  AbstractEventTrainer.`train(ObjectStream<Event> events)`
  `MaxentModel`
  EventTrainer.`train(ObjectStream<Event> events)`
  Trains a `MaxentModel` for given `events`.

- ## Uses of ObjectStream in opennlp.tools.ml.maxent

  Classes in opennlp.tools.ml.maxent that implement ObjectStream
  Modifier and Type
  Class
  Description
  `class`
  `RealBasicEventStream`
  Class for real-valued `events` as an `event stream`. .
  Methods in opennlp.tools.ml.maxent with parameters of type ObjectStream
  Modifier and Type
  Method
  Description
  `GISModel`
  GISTrainer.`trainModel(ObjectStream<Event> eventStream)`
  Trains a model using the GIS algorithm, assuming 100 iterations and no cutoff.
  `GISModel`
  GISTrainer.`trainModel(ObjectStream<Event> eventStream, int iterations, int cutoff)`
  Trains a GIS model on the event in the specified event stream, using the specified number of iterations and the specified count cutoff.
  Constructors in opennlp.tools.ml.maxent with parameters of type ObjectStream
  Modifier
  Constructor
  Description
  ``
  `RealBasicEventStream(ObjectStream<String> ds)`

- ## Uses of ObjectStream in opennlp.tools.ml.model

  Subinterfaces of ObjectStream in opennlp.tools.ml.model
  Modifier and Type
  Interface
  Description
  `interface`
  `SequenceStream<S>`
  Interface for streams of `sequences` used to train sequence models.
  Classes in opennlp.tools.ml.model that implement ObjectStream
  Modifier and Type
  Class
  Description
  `class`
  `ChecksumEventStream`
  A `Checksum`-based `event stream` implementation.
  `class`
  `FileEventStream`
  Class for using a file of `events` as an `event stream`.
  `class`
  `RealValueFileEventStream`
  Class for using a file of real-valued `events` as an `event stream`.
  `class`
  `SequenceStreamEventStream`
  Class which turns a `SequenceStream` into an event stream.
  Methods in opennlp.tools.ml.model with parameters of type ObjectStream
  Modifier and Type
  Method
  Description
  `protected List<ComparableEvent>`
  AbstractDataIndexer.`index(ObjectStream<Event> events, Map<String,Integer> predicateIndex)`
  Performs the data indexing.
  `void`
  DataIndexer.`index(ObjectStream<Event> eventStream)`
  Performs the data indexing.
  `void`
  OnePassDataIndexer.`index(ObjectStream<Event> eventStream)`
  Performs the data indexing.
  `void`
  TwoPassDataIndexer.`index(ObjectStream<Event> eventStream)`
  Performs the data indexing.
  Constructors in opennlp.tools.ml.model with parameters of type ObjectStream
  Modifier
  Constructor
  Description
  ``
  `ChecksumEventStream(ObjectStream<Event> eventStream)`
  Initializes an `ChecksumEventStream`.

- ## Uses of ObjectStream in opennlp.tools.namefind

  Classes in opennlp.tools.namefind that implement ObjectStream
  Modifier and Type
  Class
  Description
  `class`
  `NameFinderEventStream`
  Class for creating an event stream out of data files for training an `TokenNameFinder`.
  `class`
  `NameSampleDataStream`
  The `NameSampleDataStream` class converts tagged `strings` provided by a `DataStream` to `NameSample` objects.
  `class`
  `NameSampleSequenceStream`
  A `SequenceStream` implementation encapsulating `samples`.
  `class`
  `NameSampleTypeFilter`
  A `stream` which removes `name samples` which do not have a certain type.
  Methods in opennlp.tools.namefind with parameters of type ObjectStream
  Modifier and Type
  Method
  Description
  `void`
  TokenNameFinderCrossValidator.`evaluate(ObjectStream<NameSample> samples, int nFolds)`
  Starts the evaluation.
  `static TokenNameFinderModel`
  NameFinderME.`train(String languageCode, String type, ObjectStream<NameSample> samples, TrainingParameters params, TokenNameFinderFactory factory)`
  Starts a training of a `TokenNameFinderModel` with the given parameters.
  Constructors in opennlp.tools.namefind with parameters of type ObjectStream
  Modifier
  Constructor
  Description
  ``
  `NameFinderEventStream(ObjectStream<NameSample> dataStream, String type, NameContextGenerator contextGenerator, SequenceCodec<String> codec)`
  Initializes a `NameFinderEventStream` using the specified `dataStream` and `NameContextGenerator`.
  ``
  `NameSampleDataStream(ObjectStream<String> in)`
  Initializes a `NameSampleDataStream` with given `psi` samples.
  ``
  `NameSampleSequenceStream(ObjectStream<NameSample> psi)`
  Initializes a `NameSampleSequenceStream` with given `psi` samples.
  ``
  `NameSampleSequenceStream(ObjectStream<NameSample> psi, NameContextGenerator pcg)`
  Initializes a `NameSampleSequenceStream` with given `psi` samples and an `feature generator`.
  ``
  `NameSampleSequenceStream(ObjectStream<NameSample> psi, NameContextGenerator pcg, boolean useOutcomes)`
  Initializes a `NameSampleSequenceStream` with given `psi` samples and an `feature generator`.
  ``
  `NameSampleSequenceStream(ObjectStream<NameSample> psi, NameContextGenerator pcg, boolean useOutcomes, SequenceCodec<String> seqCodec)`
  Initializes a `NameSampleSequenceStream` with given `psi` samples and an `feature generator`.
  ``
  `NameSampleSequenceStream(ObjectStream<NameSample> psi, AdaptiveFeatureGenerator featureGen)`
  Initializes a `NameSampleSequenceStream` with given `psi` samples and an `feature generator`.
  ``
  `NameSampleSequenceStream(ObjectStream<NameSample> psi, AdaptiveFeatureGenerator featureGen, boolean useOutcomes)`
  Initializes a `NameSampleSequenceStream` with given `psi` samples and an `feature generator`.
  ``
  `NameSampleTypeFilter(String[] types, ObjectStream<NameSample> samples)`
  Initializes a `NameSampleTypeFilter`.
  ``
  `NameSampleTypeFilter(Set<String> types, ObjectStream<NameSample> samples)`
  Initializes a `NameSampleTypeFilter`.

- ## Uses of ObjectStream in opennlp.tools.parser

  Classes in opennlp.tools.parser that implement ObjectStream
  Modifier and Type
  Class
  Description
  `class`
  `AbstractParserEventStream`
  Abstract class extended by parser event streams which perform tagging and chunking.
  `class`
  `ChunkSampleStream`
  `class`
  `ParseSampleStream`
  `class`
  `PosSampleStream`
  Methods in opennlp.tools.parser with parameters of type ObjectStream
  Modifier and Type
  Method
  Description
  `static Dictionary`
  AbstractBottomUpParser.`buildDictionary(ObjectStream<Parse> data, HeadRules rules, int cutoff)`
  Creates a n-gram `Dictionary` from the specified data stream using `HeadRules` and specified cut-off.
  `static Dictionary`
  AbstractBottomUpParser.`buildDictionary(ObjectStream<Parse> data, HeadRules rules, TrainingParameters params)`
  Creates a n-gram `Dictionary` from the specified data stream using the specified head rule and specified cut-off.
  `void`
  ParserCrossValidator.`evaluate(ObjectStream<Parse> samples, int nFolds)`
  Starts the evaluation.
  Constructors in opennlp.tools.parser with parameters of type ObjectStream
  Modifier
  Constructor
  Description
  ``
  `AbstractParserEventStream(ObjectStream<Parse> d, HeadRules rules, ParserEventTypeEnum etype)`
  ``
  `AbstractParserEventStream(ObjectStream<Parse> d, HeadRules rules, ParserEventTypeEnum etype, Dictionary dict)`
  ``
  `ChunkSampleStream(ObjectStream<Parse> in)`
  Initializes a `instance`.
  ``
  `ParseSampleStream(ObjectStream<String> in)`
  Initializes a `instance`.
  ``
  `PosSampleStream(ObjectStream<Parse> in)`
  Initializes a `instance`.

- ## Uses of ObjectStream in opennlp.tools.parser.chunking

  Classes in opennlp.tools.parser.chunking that implement ObjectStream
  Modifier and Type
  Class
  Description
  `class`
  `ParserEventStream`
  Wrapper class for one of four `shift-reduce parser` event streams.
  Methods in opennlp.tools.parser.chunking with parameters of type ObjectStream
  Modifier and Type
  Method
  Description
  `static ParserModel`
  Parser.`train(String languageCode, ObjectStream<Parse> parseSamples, HeadRules rules, TrainingParameters mlParams)`
  Starts a training of a `ParserModel`.
  Constructors in opennlp.tools.parser.chunking with parameters of type ObjectStream
  Modifier
  Constructor
  Description
  ``
  `ParserEventStream(ObjectStream<Parse> d, HeadRules rules, ParserEventTypeEnum etype)`
  Instantiates a `ParserEventStream` based on the specified data stream of the `type` using `head rules`.
  ``
  `ParserEventStream(ObjectStream<Parse> d, HeadRules rules, ParserEventTypeEnum etype, Dictionary dict)`
  Instantiates a `ParserEventStream` based on the specified data stream of the `type` using `head rules`.

- ## Uses of ObjectStream in opennlp.tools.parser.treeinsert

  Classes in opennlp.tools.parser.treeinsert that implement ObjectStream
  Modifier and Type
  Class
  Description
  `class`
  `ParserEventStream`
  Wrapper class for one of four `built-attach parser` event streams.
  Methods in opennlp.tools.parser.treeinsert with parameters of type ObjectStream
  Modifier and Type
  Method
  Description
  `static ParserModel`
  Parser.`train(String languageCode, ObjectStream<Parse> parseSamples, HeadRules rules, int iterations, int cutoff)`
  Starts a training of a `ParserModel`.
  `static ParserModel`
  Parser.`train(String languageCode, ObjectStream<Parse> parseSamples, HeadRules rules, TrainingParameters mlParams)`
  Starts a training of a `ParserModel`.
  Constructors in opennlp.tools.parser.treeinsert with parameters of type ObjectStream
  Modifier
  Constructor
  Description
  ``
  `ParserEventStream(ObjectStream<Parse> d, HeadRules rules, ParserEventTypeEnum etype)`
  Instantiates a `ParserEventStream` based on the specified data stream of the `type` using `head rules`.
  ``
  `ParserEventStream(ObjectStream<Parse> d, HeadRules rules, ParserEventTypeEnum etype, Dictionary dict)`
  Instantiates a `ParserEventStream` based on the specified data stream of the `type` using `head rules`.

- ## Uses of ObjectStream in opennlp.tools.postag

  Classes in opennlp.tools.postag that implement ObjectStream
  Modifier and Type
  Class
  Description
  `class`
  `POSSampleEventStream`
  Reads the `samples` from an `Iterator` and converts those samples into `events` which can be used by the maxent library for training.
  `class`
  `POSSampleSequenceStream`
  A `SequenceStream` implementation encapsulating `samples`.
  `class`
  `WordTagSampleStream`
  A stream filter which reads a sentence per line which contains words and tags in `word_tag` format and outputs a `POSSample` objects.
  Methods in opennlp.tools.postag with parameters of type ObjectStream
  Modifier and Type
  Method
  Description
  `static Dictionary`
  POSTaggerME.`buildNGramDictionary(ObjectStream<POSSample> samples, int cutoff)`
  Constructs a `nGram dictionary` from an `ObjectStream` of samples.
  `void`
  POSTaggerCrossValidator.`evaluate(ObjectStream<POSSample> samples, int nFolds)`
  Starts the evaluation.
  `static void`
  POSTaggerME.`populatePOSDictionary(ObjectStream<POSSample> samples, MutableTagDictionary dict, int cutoff)`
  Populates a `POSDictionary` from an `ObjectStream` of samples.
  `static POSModel`
  POSTaggerME.`train(String languageCode, ObjectStream<POSSample> samples, TrainingParameters trainParams, POSTaggerFactory posFactory)`
  Constructors in opennlp.tools.postag with parameters of type ObjectStream
  Modifier
  Constructor
  Description
  ``
  `POSSampleEventStream(ObjectStream<POSSample> samples)`
  Initializes the current instance with given samples and a `DefaultPOSContextGenerator`.
  ``
  `POSSampleEventStream(ObjectStream<POSSample> samples, POSContextGenerator cg)`
  Initializes the current instance with the given samples and a `POSContextGenerator`.
  ``
  `POSSampleSequenceStream(ObjectStream<POSSample> psi)`
  Creates a `POSSampleSequenceStream` with given `samples` using a `DefaultPOSContextGenerator`.
  ``
  `POSSampleSequenceStream(ObjectStream<POSSample> psi, POSContextGenerator pcg)`
  Creates a `POSSampleSequenceStream` with given `samples` using a `POSContextGenerator`.
  ``
  `WordTagSampleStream(ObjectStream<String> sentences)`
  Initializes a `POSSample` instance.

- ## Uses of ObjectStream in opennlp.tools.sentdetect

  Classes in opennlp.tools.sentdetect that implement ObjectStream
  Modifier and Type
  Class
  Description
  `class`
  `EmptyLinePreprocessorStream`
  `ObjectStream` to clean up empty lines for empty line separated document streams.
  - Skips empty line at training data start
  - Transforms multiple empty lines in a row into one
  - Replaces white space lines with empty lines
  - TODO: Terminates last document with empty line if it is missing
  This stream should be used by the components that mark empty lines to mark document boundaries.
  `class`
  `SDEventStream`
  `class`
  `SentenceSampleStream`
  This class is a stream filter which reads a sentence by line samples from an `ObjectStream` and converts them into `SentenceSample` objects.
  Methods in opennlp.tools.sentdetect with parameters of type ObjectStream
  Modifier and Type
  Method
  Description
  `void`
  SDCrossValidator.`evaluate(ObjectStream<SentenceSample> samples, int nFolds)`
  Starts the evaluation.
  `static SentenceModel`
  SentenceDetectorME.`train(String languageCode, ObjectStream<SentenceSample> samples, SentenceDetectorFactory sdFactory, TrainingParameters mlParams)`
  Starts a training of a `SentenceModel` with the given parameters.
  Constructors in opennlp.tools.sentdetect with parameters of type ObjectStream
  Modifier
  Constructor
  Description
  ``
  `EmptyLinePreprocessorStream(ObjectStream<String> in)`
  ``
  `SDEventStream(ObjectStream<SentenceSample> samples, SDContextGenerator cg, EndOfSentenceScanner scanner)`
  Initializes the current instance.
  ``
  `SentenceSampleStream(ObjectStream<String> sentences)`

- ## Uses of ObjectStream in opennlp.tools.tokenize

  Classes in opennlp.tools.tokenize that implement ObjectStream
  Modifier and Type
  Class
  Description
  `class`
  `TokenizerStream`
  The `TokenizerStream` uses a `Tokenizer` to tokenize the input string and output `samples`.
  `class`
  `TokenSampleStream`
  This class is a `stream filter` which reads in string encoded samples and creates `samples` out of them.
  `class`
  `TokSpanEventStream`
  This class reads the `samples` via an `Iterator` and converts the samples into `events` which can be used by the maxent library for training.
  `class`
  `WhitespaceTokenStream`
  This stream formats `ObjectStream` of `samples` into whitespace separated token strings.
  Methods in opennlp.tools.tokenize with parameters of type ObjectStream
  Modifier and Type
  Method
  Description
  `void`
  TokenizerCrossValidator.`evaluate(ObjectStream<TokenSample> samples, int nFolds)`
  Starts the evaluation.
  `static TokenizerModel`
  TokenizerME.`train(ObjectStream<TokenSample> samples, TokenizerFactory factory, TrainingParameters mlParams)`
  Trains a model for the `TokenizerME`.
  Constructors in opennlp.tools.tokenize with parameters of type ObjectStream
  Modifier
  Constructor
  Description
  ``
  `TokenizerStream(Tokenizer tokenizer, ObjectStream<String> input)`
  Initializes a `instance`.
  ``
  `TokenSampleStream(ObjectStream<String> sentences)`
  Initializes a `instance`.
  ``
  `TokenSampleStream(ObjectStream<String> samples, String separatorChars)`
  Initializes a `instance`.
  ``
  `TokSpanEventStream(ObjectStream<TokenSample> tokenSamples, boolean skipAlphaNumerics)`
  Initializes a new event stream based on the data stream using a `TokenContextGenerator` that relies on a `DefaultTokenContextGenerator`.
  ``
  `TokSpanEventStream(ObjectStream<TokenSample> tokenSamples, boolean skipAlphaNumerics, Pattern alphaNumeric, TokenContextGenerator cg)`
  Initializes a new event stream based on the data stream using a `TokenContextGenerator`.
  ``
  `TokSpanEventStream(ObjectStream<TokenSample> tokenSamples, boolean skipAlphaNumerics, TokenContextGenerator cg)`
  Initializes a new event stream based on the data stream using a `TokenContextGenerator`.
  ``
  `WhitespaceTokenStream(ObjectStream<TokenSample> tokens)`
  Initializes a `WhitespaceTokenStream`.

- ## Uses of ObjectStream in opennlp.tools.util

  Classes in opennlp.tools.util that implement ObjectStream
  Modifier and Type
  Class
  Description
  `class`
  `AbstractEventStream<T>`
  A base `ObjectStream` implementation for events.
  `class`
  `AbstractObjectStream<T>`
  A base `ObjectStream` implementation.
  `class`
  `CollectionObjectStream<E>`
  An `ObjectStream` implementation that works on a `Collection` of `CollectionObjectStream` as source for elements.
  `class`
  `EventTraceStream`
  `class`
  `FilterObjectStream<S,T>`
  Abstract base class for filtering `streams`.
  `class`
  `ParagraphStream`
  A `FilterObjectStream` which merges text lines into paragraphs.
  `class`
  `PlainTextByLineStream`
  Reads a plain text file and returns each line as a `String` object.
  Fields in opennlp.tools.util declared as ObjectStream
  Modifier and Type
  Field
  Description
  `protected final ObjectStream<S>`
  FilterObjectStream.`samples`
  Methods in opennlp.tools.util that return ObjectStream
  Modifier and Type
  Method
  Description
  `static <T> ObjectStream<T>`
  ObjectStreamUtils.`concatenateObjectStream(Collection<ObjectStream<T>> streams)`
  Creates a single concatenated `ObjectStream` from multiple individual `streams` with the same type `ObjectStreamUtils`.
  `static <T> ObjectStream<T>`
  ObjectStreamUtils.`concatenateObjectStream(ObjectStream<T>... streams)`
  Creates a single concatenated `ObjectStream` from multiple individual `streams` with the same type.
  `static <T> ObjectStream<T>`
  ObjectStreamUtils.`createObjectStream(Collection<T> collection)`
  Creates an `ObjectStream` form a `Collection<T>`.
  `static <T> ObjectStream<T>`
  ObjectStreamUtils.`createObjectStream(T... array)`
  Creates an `ObjectStream` form an array of `ObjectStreamUtils`.
  Methods in opennlp.tools.util with parameters of type ObjectStream
  Modifier and Type
  Method
  Description
  `static <T> ObjectStream<T>`
  ObjectStreamUtils.`concatenateObjectStream(ObjectStream<T>... streams)`
  Creates a single concatenated `ObjectStream` from multiple individual `streams` with the same type.
  Method parameters in opennlp.tools.util with type arguments of type ObjectStream
  Modifier and Type
  Method
  Description
  `static <T> ObjectStream<T>`
  ObjectStreamUtils.`concatenateObjectStream(Collection<ObjectStream<T>> streams)`
  Creates a single concatenated `ObjectStream` from multiple individual `streams` with the same type `ObjectStreamUtils`.
  Constructors in opennlp.tools.util with parameters of type ObjectStream
  Modifier
  Constructor
  Description
  ``
  `AbstractEventStream(ObjectStream<T> samples)`
  Initializes an `AbstractEventStream` with a sample `Iterator`.
  `protected`
  `AbstractObjectStream(ObjectStream<T> stream)`
  Initializes an `AbstractObjectStream`.
  ``
  `EventTraceStream(ObjectStream<Event> stream, Writer writer)`
  Initializes an `EventTraceStream`.
  `protected`
  `FilterObjectStream(ObjectStream<S> samples)`
  Initializes an `FilterObjectStream`.
  ``
  `ParagraphStream(ObjectStream<String> lineStream)`
  Initializes an `FilterObjectStream`.

- ## Uses of ObjectStream in opennlp.tools.util.eval

  Classes in opennlp.tools.util.eval that implement ObjectStream
  Modifier and Type
  Class
  Description
  `static class`
  `CrossValidationPartitioner.TrainingSampleStream<E>`
  The `CrossValidationPartitioner.TrainingSampleStream` which iterates over all training elements.
  Methods in opennlp.tools.util.eval that return ObjectStream
  Modifier and Type
  Method
  Description
  `ObjectStream<E>`
  CrossValidationPartitioner.TrainingSampleStream.`getTestSampleStream()`
  Retrieves the `ObjectStream` over the test/evaluations elements and poisons this `CrossValidationPartitioner.TrainingSampleStream`.
  Methods in opennlp.tools.util.eval with parameters of type ObjectStream
  Modifier and Type
  Method
  Description
  `void`
  Evaluator.`evaluate(ObjectStream<T> samples)`
  Reads all `sample objects` and evaluates each instance via the `Evaluator.evaluateSample(Object)` method.
  Constructors in opennlp.tools.util.eval with parameters of type ObjectStream
  Modifier
  Constructor
  Description
  ``
  `CrossValidationPartitioner(ObjectStream<E> inElements, int numberOfPartitions)`
  Initializes `CrossValidationPartitioner` instance.