NKJPSegmentationDocument.Pointer (Apache OpenNLP Tools 1.9.5 API)
Date: 2026-06-18

opennlp.tools.formats.nkjp

## Class NKJPSegmentationDocument.Pointer

- java.lang.Object
- - opennlp.tools.formats.nkjp.NKJPSegmentationDocument.Pointer

- Enclosing class:
    NKJPSegmentationDocument

      public static class NKJPSegmentationDocument.Pointer
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Pointer(String doc, String id, int offset, int length, boolean space_after)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Span` | `toSpan()`
    `String` | `toString()`

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

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

- - ### Constructor Detail

    - #### Pointer

          public Pointer(String doc,
                         String id,
                         int offset,
                         int length,
                         boolean space_after)

  - ### Method Detail

    - #### toSpan

          public Span toSpan()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

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