Compute a stem for nouns and verbs.
returnedString = stem(word)
returnedString - type: str
word- type: str
Returns a lowercase string. If no stem is computed, returns the given string.
Uses dictionary, morphological, and heuristic methods to compute the stem for a word. Stems only nouns and verbs. Assumes that the given string is a valid English word or name, limited to about 35 characters.
@CODE
G("stem") = stem("lounging");
@@CODE
suffix, strendswith, String Functions