NKJPTextDocument (Apache OpenNLP Tools 2.5.9 API)
Description: declaration: package: opennlp.tools.formats.nkjp, class: NKJPTextDocument

# Class NKJPTextDocument

java.lang.Object
opennlp.tools.formats.nkjp.NKJPTextDocument

public class NKJPTextDocument extends Object
The National corpus of Polish (NKJP) format.

Information about the format are found on this web site.

A 1-million word corpus can be found on this web site.

The NKJP schema can be found here.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static NKJPTextDocument`
  `parse(InputStream is)`

  ### Methods inherited from class Object

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

- ## Method Details

  - ### parse

    public static NKJPTextDocument parse(InputStream is) throws IOException
    Throws:
      `IOException`