Package opennlp.tools.sentdetect.lang
Class Factory
java.lang.Object
opennlp.tools.sentdetect.lang.Factory
-
Field Summary
Modifier and TypeFieldDescriptionstatic final char[]
static final char[]
static final char[]
static final char[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateEndOfSentenceScanner
(char[] customEOSCharacters) createEndOfSentenceScanner
(String languageCode) createSentenceContextGenerator
(String languageCode) createSentenceContextGenerator
(String languageCode, Set<String> abbreviations) createSentenceContextGenerator
(Set<String> abbreviations, char[] customEOSCharacters) char[]
getEOSCharacters
(String languageCode)
-
Field Details
-
ptEosCharacters
public static final char[] ptEosCharacters -
defaultEosCharacters
public static final char[] defaultEosCharacters -
thEosCharacters
public static final char[] thEosCharacters -
jpnEosCharacters
public static final char[] jpnEosCharacters
-
-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
createEndOfSentenceScanner
-
createEndOfSentenceScanner
-
createSentenceContextGenerator
public SDContextGenerator createSentenceContextGenerator(String languageCode, Set<String> abbreviations) -
createSentenceContextGenerator
public SDContextGenerator createSentenceContextGenerator(Set<String> abbreviations, char[] customEOSCharacters) -
createSentenceContextGenerator
-
getEOSCharacters
-