Adds basic pattern extractor for lemmas.