// ============================= getter: sentence segmenter =============================
static public AbstractSegmenter getSegmenter(String language, AbstractTokenizer tokenizer)
{
if (language.equals(AbstractReader.LANG_EN))
return new EnglishSegmenter(tokenizer);
throw new IllegalArgumentException("The requested language '"+language+"' is not currently supported.");
}