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

opennlp.tools.formats

## Class ConllXTokenSampleStreamFactory

- java.lang.Object
- - opennlp.tools.formats.AbstractSampleStreamFactory<T>
  - - opennlp.tools.formats.DetokenizerSampleStreamFactory<TokenSample>
    - - opennlp.tools.formats.ConllXTokenSampleStreamFactory

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

      public class ConllXTokenSampleStreamFactory
      extends DetokenizerSampleStreamFactory<TokenSample>

  Note: Do not use this class, internal use only!

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ObjectStream<TokenSample>` | `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

    - #### registerFactory

          public static void registerFactory()

    - #### create

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

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

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