Currently Finto AI allows the user to select the language of terms. If the user selects a language that is different from the project/vocabulary language, the labels are retrieved from the Finto REST API with extra API calls (one call per suggested subject).
Nowadays Annif vocabularies are multilingual and in the upcoming 0.60 release the suggest method in the REST API supports a language parameter, which can be used to request the terms in a non-default language. Finto AI could switch to this, which would simplify the functionality, reduce the maintenance burden and perhaps prevent errors caused by problems accessing the Finto API.
Currently Finto AI allows the user to select the language of terms. If the user selects a language that is different from the project/vocabulary language, the labels are retrieved from the Finto REST API with extra API calls (one call per suggested subject).
Nowadays Annif vocabularies are multilingual and in the upcoming 0.60 release the
suggest
method in the REST API supports alanguage
parameter, which can be used to request the terms in a non-default language. Finto AI could switch to this, which would simplify the functionality, reduce the maintenance burden and perhaps prevent errors caused by problems accessing the Finto API.