Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to get suggestion labels in Northern Sami #18

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

juhoinkinen
Copy link
Member

@osma noted that now when Annif behind Finto AI uses an YSO version in which (some) concepts have labels in Sami (in addition to Finnish, Swedish and English), there could be an option in the "Suggestions language" menu for Sami (this menu just sets the language of the labels, independent on the selected project).

This (draft) PR adds that option.

However, currently those labels that don't have (yet) the label in Sami are displayed as "YSO identifiers" like yso:p334 in the suggestion results list. There could be some fallback display option for these cases, like showing the label in the language of the web site inside parentheses.

Anyway, we could post pone this until the next model update round.

FYI @nikopartanen

@juhoinkinen
Copy link
Member Author

TODO: For this it is still necessary to restrict the languages selectable in "Suggestions language" menu depending on the project, because YKL and KAUNO vocublaries do not support Sami: a JS TypeError occurs if one tries to get suggestions in Sami when using YKL or KAUNO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant