* sentence scanner which provides a different set of ending chars
* other than the default ones. They are "\\.|!|\\?|\\\"|\\)".
*
*/
public static GISModel train(File inFile, int iterations, int cut, EndOfSentenceScanner scanner) throws IOException {
EventStream es;
DataStream ds;
Reader reader;
reader = new BufferedReader(new FileReader(inFile));
ds = new PlainTextByLineDataStream(reader);