Class NKJPSegmentationDocument
java.lang.Object
opennlp.tools.formats.nkjp.NKJPSegmentationDocument
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNKJPSegmentationDocument(Map<String, Map<String, NKJPSegmentationDocument.Pointer>> segments) -
Method Summary
Modifier and TypeMethodDescription(package private) static boolean(package private) static boolean(package private) static NKJPSegmentationDocument.Pointer(package private) static NKJPSegmentationDocumentstatic NKJPSegmentationDocumentparse(InputStream is) (package private) static String
-
Field Details
-
XML_ID
- See Also:
-
SEG
- See Also:
-
CHOICE
- See Also:
-
NKJP_PAREN
- See Also:
-
NKJP_REJECTED
- See Also:
-
NKJP_NPS
- See Also:
-
segments
Map<String, Map<String, NKJPSegmentationDocument.Pointer>> segments
-
-
Constructor Details
-
NKJPSegmentationDocument
NKJPSegmentationDocument() -
NKJPSegmentationDocument
NKJPSegmentationDocument(Map<String, Map<String, NKJPSegmentationDocument.Pointer>> segments)
-
-
Method Details
-
getSegments
-
parse
- Throws:
IOException
-
checkRejected
-
checkRejectedParen
-
xmlID
- Throws:
IOException
-
fromSeg
- Throws:
IOException
-
parse
- Throws:
IOException
-