Gnostic stemmer in Python