OntoNotesParseSampleStreamFactory (Apache OpenNLP Tools 1.9.5 API)
Date: 2026-06-18

opennlp.tools.formats.ontonotes

## Class OntoNotesParseSampleStreamFactory

- java.lang.Object
- - opennlp.tools.formats.AbstractSampleStreamFactory<Parse>
  - - opennlp.tools.formats.ontonotes.OntoNotesParseSampleStreamFactory

- All Implemented Interfaces:
    opennlp.tools.cmdline.ObjectStreamFactory<Parse>

      public class OntoNotesParseSampleStreamFactory
      extends AbstractSampleStreamFactory<Parse>

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ObjectStream<Parse>` | `create(String[] args)` Creates the `ObjectStream`.
    `static void` | `registerFactory()`

    - ### Methods inherited from class opennlp.tools.formats.AbstractSampleStreamFactory

      `getLang, getParameters`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### create

          public ObjectStream<Parse> create(String[] args)

      Description copied from interface: `opennlp.tools.cmdline.ObjectStreamFactory`
      Creates the `ObjectStream`.
      Parameters:
        `args` - arguments
      Returns:
        ObjectStream instance

    - #### registerFactory

          public static void registerFactory()

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