Latvian is one of the languages that is supported by UralicNLP. The goal of this website is to provide free FST transducers for multiple languages, mostly as nightly builds. You can use the Latvian analyzer and generator with UralicNLP
pip install uralicNLP python -m uralicNLP.download -l lav
from uralicNLP import uralicApi uralicApi.lemmatize(word, "lav") uralicApi.analyze(word, "lav") uralicApi.generate(word, "lav")
Please, refer to UralicNLP documentation for more information.
You can also download the transducers directly here: