## Uses of Class
opennlp.tools.util.FilterObjectStream

- Packages that use FilterObjectStream
  Package | Description
  --- | ---
  opennlp.tools.cmdline.namefind |
  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 |
  opennlp.tools.formats.brat |
  opennlp.tools.formats.conllu |
  opennlp.tools.formats.convert |
  opennlp.tools.formats.frenchtreebank |
  opennlp.tools.formats.letsmt |
  opennlp.tools.formats.moses |
  opennlp.tools.formats.muc |
  opennlp.tools.formats.ontonotes |
  opennlp.tools.langdetect |
  opennlp.tools.lemmatizer | Package related with the lemmatizer tool
  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.postag | Package related to part-of-speech tagging.
  opennlp.tools.sentdetect | Package related to identifying sentece boundries.
  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.

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

    Subclasses of FilterObjectStream in opennlp.tools.cmdline.namefind
    Modifier and Type | Class and Description
    --- | ---
    `class` | `NameSampleCountersStream` Counts tokens, sentences and names by type

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

    Subclasses of FilterObjectStream in opennlp.tools.doccat
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DocumentSampleStream` This class reads in string encoded training samples, parses them and outputs `DocumentSample` objects.

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

    Subclasses of FilterObjectStream in opennlp.tools.formats
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ConllXPOSSampleStream` Parses the data from the CONLL 06 shared task into POS Samples.

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

    Subclasses of FilterObjectStream in opennlp.tools.formats.ad
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ADSentenceStream` Stream filter which merges text lines into sentences, following the Arvores Deitadas syntax.

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

    Subclasses of FilterObjectStream in opennlp.tools.formats.brat
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BratNameSampleStream` Generates Name Sample objects for a Brat Document object.
    `class` | `SegmenterObjectStream<S,T>`

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

    Subclasses of FilterObjectStream in opennlp.tools.formats.conllu
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ConlluLemmaSampleStream`
    `class` | `ConlluPOSSampleStream`
    `class` | `ConlluSentenceSampleStream`
    `class` | `ConlluTokenSampleStream`

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

    Subclasses of FilterObjectStream in opennlp.tools.formats.convert
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractToSentenceSampleStream<T>`
    `class` | `FileToByteArraySampleStream`
    `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!

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

    Subclasses of FilterObjectStream in opennlp.tools.formats.frenchtreebank
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ConstitParseSampleStream`

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

    Subclasses of FilterObjectStream in opennlp.tools.formats.letsmt
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DetokenizeSentenceSampleStream`

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

    Subclasses of FilterObjectStream in opennlp.tools.formats.moses
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MosesSentenceSampleStream`

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

    Subclasses of FilterObjectStream in opennlp.tools.formats.muc
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MucNameSampleStream`

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

    Subclasses of FilterObjectStream in opennlp.tools.formats.ontonotes
    Modifier and Type | Class and 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`

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

    Subclasses of FilterObjectStream in opennlp.tools.langdetect
    Modifier and Type | Class and Description
    --- | ---
    `class` | `LanguageDetectorSampleStream` This class reads in string encoded training samples, parses them and outputs `LanguageSample` objects.

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

    Subclasses of FilterObjectStream in opennlp.tools.lemmatizer
    Modifier and Type | Class and Description
    --- | ---
    `class` | `LemmaSampleStream` Reads data for training and testing the lemmatizer.

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

    Subclasses of FilterObjectStream in opennlp.tools.namefind
    Modifier and Type | Class and Description
    --- | ---
    `class` | `NameSampleDataStream` The `NameSampleDataStream` class converts tagged `String`s provided by a `DataStream` to `NameSample` objects.
    `class` | `NameSampleTypeFilter` A stream which removes Name Samples which do not have a certain type.

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

    Subclasses of FilterObjectStream in opennlp.tools.parser
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ChunkSampleStream`
    `class` | `ParseSampleStream`
    `class` | `PosSampleStream`

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

    Subclasses of FilterObjectStream in opennlp.tools.postag
    Modifier and Type | Class and Description
    --- | ---
    `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.

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

    Subclasses of FilterObjectStream in opennlp.tools.sentdetect
    Modifier and Type | Class and Description
    --- | ---
    `class` | `EmptyLinePreprocessorStream` Stream to 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` | `SentenceSampleStream` This class is a stream filter which reads a sentence by line samples from a `Reader` and converts them into `SentenceSample` objects.

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

    Subclasses of FilterObjectStream in opennlp.tools.tokenize
    Modifier and Type | Class and Description
    --- | ---
    `class` | `TokenSampleStream` This class is a stream filter which reads in string encoded samples and creates `TokenSample`s out of them.
    `class` | `WhitespaceTokenStream` This stream formats a `TokenSample`s into whitespace separated token strings.

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

    Subclasses of FilterObjectStream in opennlp.tools.util
    Modifier and Type | Class and Description
    --- | ---
    `class` | `EventTraceStream`
    `class` | `ParagraphStream` Stream filter which merges text lines into paragraphs.

Copyright © 2026 The Apache Software Foundation. All rights reserved.