} else if ("HackishSegmentParser".equals(className)) {
segmentParser = new HackishSegmentParser(this.startSentenceID);
} else if ("SAXSegmentParser".equals(className)) {
segmentParser = new SAXSegmentParser();
} else {
throw new IllegalArgumentException(
"Unknown SegmentFileParser class: " + className);
}