public class SentenceSplitterFactory
extends java.lang.Object
Constructor and Description |
---|
SentenceSplitterFactory() |
Modifier and Type | Method and Description |
---|---|
static SentenceSplitter |
newSentenceSplitter()
Get a sentence splitter.
|
static SentenceSplitter |
newSentenceSplitter(java.lang.String className)
Get a sentence splitter of a specified class name.
|
static SentenceSplitter |
newSentenceSplitter(UTF8Properties properties)
Get a sentence splitter.
|
public static SentenceSplitter newSentenceSplitter()
public static SentenceSplitter newSentenceSplitter(UTF8Properties properties)
properties
- MorphAdorner properties.public static SentenceSplitter newSentenceSplitter(java.lang.String className)
className
- Class name for the sentence splitter.