A word stemming algorithm for Latvian implemented in Python