NatLibFi / Annif

Annif is a multi-algorithm automated subject indexing tool for libraries, archives and museums.
https://annif.org
Other
188 stars 41 forks source link

Multilingual labels in results #772

Open psmukhopadhyay opened 4 months ago

psmukhopadhyay commented 4 months ago

It will be an excellent utility if Annif includes a feature to fine-tune the language(s) of labels in results in the case of a multi-label / multi-lingual vocabulary like this (the final subjects.csv file after load-vocab of the multilingual Skosfied TTL file with the --language=en option):

image

Presently Annif (version 1.0.2) is displaying results like this:

<https://homosaurus.org/v3/homoit0001075> LGBTQ+ parents 0.2292
<https://homosaurus.org/v3/homoit0000914> LGBTQ+ parenthood 0.1296
<https://homosaurus.org/v3/homoit0000297> LGBTQ+ communities 0.1007

If projects.cfg includes an option to control the language(s) of the resulting labels in the display of results, both in CLI and in Web UI, it would enhance the localization and internationalization capabilities of Annif and would be much more helpful in a cataloging environment where labels from other languages than English are generally used as 'See' references to link indexing terms (equivalent terms) in different languages. You may see discussion thread here: See here