analyzer=spacy('nl_core_news_lg',lowercase=1)
I installed spacy in the virtual environment.
pip install .[spacy]
Downloaded the language model.
python -m spacy download nl_core_news_lg
It then tells me: You can now load the package via spacy.load('nl_core_news_lg'). I suppose this is done in the Annif python code.
When using it with annif train, I get following errors:
Error: Operation failed: Loading spaCy model ''nl_core_news_lg'' failed - please download the model.
[E050] Can't find model ''nl_core_news_lg''. It doesn't seem to be a Python package or a valid path to a data directory.
Enrico
You received this message because you are subscribed to a topic in the Google Groups "Annif Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/annif-users/05fe2gCudJ8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to annif-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/annif-users/f9bdfc59-e8bf-931d-e573-9372f57e3971%40helsinki.fi.