All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Corpus.EnglishSplitter Maven / Gradle / Ivy

There is a newer version: 1.0.24
Show newest version
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