test program for demonstrating the stemmer . it reads text from a a list of files , stems each word , and writes the result to standard output . note that the word stemmed is expected to be in lower case : forcing lower case must be done outside the stemmer class . usage : stemmer file-name file-name ... concode_field_sep int i_end concode_elem_sep char[] b concode_elem_sep int INC concode_elem_sep int i concode_elem_sep int j concode_elem_sep int k concode_field_sep void add concode_elem_sep void add concode_elem_sep void step6 concode_elem_sep void step4 concode_elem_sep void step5 concode_elem_sep boolean doublec concode_elem_sep boolean vowelinstem concode_elem_sep int getResultLength concode_elem_sep char[] getResultBuffer concode_elem_sep void step2 concode_elem_sep int m concode_elem_sep void step3 concode_elem_sep void step1 concode_elem_sep boolean cvc concode_elem_sep void r concode_elem_sep boolean ends concode_elem_sep void setto concode_elem_sep String toString concode_elem_sep boolean cons concode_elem_sep void stem
String function ( String arg0 ) { int loc0 = arg0 . loc0 ( ) ; this . add ( arg0 . toCharArray ( ) , loc0 ) ; this . stem ( ) ; return this . toString ( ) ; }