Is there a straightforward way to use a spaCy stanza model for tokenization with the
I tried to save the model to disk and then use it with the
ner.recipe from the command line, but this doesn't seem to work. Specifically, I tried:
$ python >>> import stanza >>> from spacy_stanza import StanzaLanguage >>> snlp = stanza.Pipeline(lang="ru") >>> nlp = StanzaLanguage(snlp) >>> nlp.to_disk('/home/adamliter/stanza-spacy-ru-model') >>> quit() $ prodigy ner.manual test_dataset /home/adamliter/stanza-spacy-ru-model test_data.jsonl --label PER,LOC,ORG,MISC
This gives the following error:
OSError: [E050] Can't find model '/home/adamliter/stanza-spacy-ru-model'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory.
Is this something I need to write a custom recipe for? Thanks in advance for any insight you can offer!