Corpus.EnglishSplitter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Corpus Show documentation
Show all versions of Corpus Show documentation
Corpus processing library
package Corpus;
import Language.EnglishLanguage;
public class EnglishSplitter extends SentenceSplitter{
@Override
protected String upperCaseLetters() {
return EnglishLanguage.UPPERCASE_LETTERS;
}
@Override
protected String lowerCaseLetters() {
return EnglishLanguage.LOWERCASE_LETTERS;
}
@Override
protected String[] shortCuts() {
return new String[]{"dr", "prof", "org", "II", "III", "IV", "VI", "VII", "VIII", "IX",
"X", "XI", "XII", "XIII", "XIV", "XV", "XVI", "XVII", "XVIII", "XIX",
"XX", "min", "km", "jr", "mrs", "sir"};
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy