use this training method if you wish to supply an end of sentence scanner which provides a different set of ending chars other than the default ones . they are '' \ \ . | ! | \ \ ? | \ \ \ '' | \ \ '' . concode_field_sep IntegerPool INT_POOL concode_elem_sep ContextGenerator cgen concode_elem_sep List sentProbs concode_elem_sep EndOfSentenceScanner scanner concode_elem_sep MaxentModel model concode_field_sep int[] sentPosDetect concode_elem_sep int getFirstWS concode_elem_sep int getFirstNonWS concode_elem_sep void usage concode_elem_sep void main concode_elem_sep String[] sentDetect concode_elem_sep boolean isAcceptableBreak concode_elem_sep double[] getSentenceProbabilities
GISModel function ( File arg0 , int arg1 , int arg2 , EndOfSentenceScanner arg3 ) { EventStream loc0 ; DataStream loc1 ; Reader loc2 ; loc2 = new BufferedReader ( new FileReader ( arg0 ) ) ; loc1 = new PlainTextByLineDataStream ( loc2 ) ; loc0 = new SDEventStream ( loc1 , arg3 ) ; return GIS . trainModel ( loc0 , arg1 , arg2 ) ; }