this.flags = flags;
factory = LineIterator.getFactory(new CTBDocumentParser());
if (DEBUG) EncodingPrintWriter.err.println("Sighan2005DocRandW: using normalization file " + flags.normalizationTable, "UTF-8");
// pichuan : flags.normalizationTable is null --> i believe this is replaced by some java class??
// (Thu Apr 24 11:10:42 2008)
cdtos = new ChineseDocumentToSentenceProcessor(flags.normalizationTable);
if (flags.dictionary != null) {
String[] dicts = flags.dictionary.split(",");
cdict = new ChineseDictionary(dicts, cdtos, flags.expandMidDot);
}