Hi. I am using this library to lemmatize in Swedish, and I would like to be able to load the model from a local directory, and to make iterative improvements when I find mistakes in the lemmatization. With regular spaCy models I can simply edit the exclusions table and save and load from disk using the to_disk and from_disk methods,
Is there any equivalent for models from spacy_udpipe? I see the load_from_path method, but can I make changes to the lemmatization, and how do I save the model locally? In regards to saving the model, this does not work for me:
Hi. I am using this library to lemmatize in Swedish, and I would like to be able to load the model from a local directory, and to make iterative improvements when I find mistakes in the lemmatization. With regular spaCy models I can simply edit the exclusions table and save and load from disk using the
to_disk
andfrom_disk
methods,Is there any equivalent for models from spacy_udpipe? I see the
load_from_path
method, but can I make changes to the lemmatization, and how do I save the model locally? In regards to saving the model, this does not work for me:Trying to use the
nlp_from_local
object on a text gives me