Interface for text stemmer implementations.