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

opennlp.tools.formats.nkjp

## Class NKJPSegmentationDocument

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

-     public class NKJPSegmentationDocument
      extends Object

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `NKJPSegmentationDocument.Pointer`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,Map<String,NKJPSegmentationDocument.Pointer>>` | `getSegments()`
    `static NKJPSegmentationDocument` | `parse(InputStream is)`

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

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

- - ### Method Detail

    - #### getSegments

          public Map<String,Map<String,NKJPSegmentationDocument.Pointer>> getSegments()

    - #### parse

          public static NKJPSegmentationDocument parse(InputStream is)
                                                throws IOException

      Throws:
        `IOException`

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