public String stem ( String word ) { String ret = null ; try { ret = getActualStemmer ( ) . getWordStem ( word ) ; } catch ( PTStemmerException e ) { e . printStackTrace ( ) ; } return ret ; }
Returns the stemmed version of the given word . Word is converted to lower case before stemming .