if (null == className) {
// Use old behavior by default
segmentParser = new HackishSegmentParser(this.startSentenceID);
} else if ("PlainSegmentParser".equals(className)) {
segmentParser = new PlainSegmentParser();
} else if ("HackishSegmentParser".equals(className)) {
segmentParser = new HackishSegmentParser(this.startSentenceID);
} else if ("SAXSegmentParser".equals(className)) {