You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently when loading a vocabulary with the command annif load-vocab <VOCAB_ID> <SUBJECTFILE> the location of the subject file needs to be a local path.
Typically when setting up a new project the first step is to download the vocabulary to a local file (e.g. wget "https://finto.fi/rest/v1/koko/data?format=text/turtle" -O koko-skos.ttl) and then running annif load-vocab from it, and after that the local file is no more needed. However, for convenience this could be just one operation, where annif load-vocab could accept also URLs, pointing to the subject file somewhere on internet:
annif load-vocab koko https://finto.fi/rest/v1/koko/data?format=text/turtle
The text was updated successfully, but these errors were encountered:
Maybe in addition to URLs there could be support for also Hugging Face Hub repository locations, aligned with the upload format of the projects upload feature, #760.
Currently when loading a vocabulary with the command
annif load-vocab <VOCAB_ID> <SUBJECTFILE>
the location of the subject file needs to be a local path.Typically when setting up a new project the first step is to download the vocabulary to a local file (e.g.
wget "https://finto.fi/rest/v1/koko/data?format=text/turtle" -O koko-skos.ttl
) and then runningannif load-vocab
from it, and after that the local file is no more needed. However, for convenience this could be just one operation, whereannif load-vocab
could accept also URLs, pointing to the subject file somewhere on internet:The text was updated successfully, but these errors were encountered: