NatLibFi / FintoAI

Finto AI suggests subjects for a given text. It's based on Annif, a tool for automated subject indexing.
https://ai.finto.fi
7 stars 0 forks source link

Simplify translation of terms #10

Closed osma closed 11 months ago

osma commented 1 year ago

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.

osma commented 11 months ago

Already done in #12, closing