stemming algorithm

definition: an algorithm for removing inflectional and derivational endings in order to reduce word forms to a common stem
example:
speech part: noun
synonyms: stemmer

How stemming algorithm is being used?