Implement stemming and lemmatization for WFA (closes #23).