stemms the given term to an unique discriminator . concode_field_sep StringBuilder sb concode_elem_sep Locale locale concode_elem_sep int substCount concode_field_sep boolean isStemmable concode_elem_sep void strip concode_elem_sep void removeParticleDenotion concode_elem_sep void optimize concode_elem_sep void resubstitute concode_elem_sep void substitute
String function ( String arg0 ) { arg0 = arg0 . toLowerCase ( locale ) ; if ( ! isStemmable ( arg0 ) ) return arg0 ; sb . delete ( 0 , sb . length ( ) ) ; sb . insert ( 0 , arg0 ) ; substitute ( sb ) ; strip ( sb ) ; optimize ( sb ) ; resubstitute ( sb ) ; removeParticleDenotion ( sb ) ; return sb . toString ( ) ; }