public class TextSegmenterFactory
extends java.lang.Object
Constructor and Description |
---|
TextSegmenterFactory() |
Modifier and Type | Method and Description |
---|---|
static TextSegmenter |
newTextSegmenter()
Get a segmenter.
|
static TextSegmenter |
newTextSegmenter(java.lang.String className)
Get a segmenter of a specified class name.
|
static TextSegmenter |
newTextSegmenter(UTF8Properties properties)
Get a segmenter.
|
public static TextSegmenter newTextSegmenter()
public static TextSegmenter newTextSegmenter(UTF8Properties properties)
properties
- MorphAdorner properties.public static TextSegmenter newTextSegmenter(java.lang.String className)
className
- Class name for the segmenter.