}
return spotter;
}
public static ParagraphDisambiguatorJ getDisambiguator(String name) throws InputException {
DisambiguationPolicy policy = DisambiguationPolicy.Default;
try {
policy = DisambiguationPolicy.valueOf(name);
} catch (IllegalArgumentException e) {
throw new InputException(String.format("Specified parameter disambiguator=%s is invalid. Use one of %s.",name,DisambiguationPolicy.values()));
}