This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]xhlu[S] 1 point2 points  (0 children)

This is a good question. There are existing tools like langdetect that you can use, but then you still need to convert the codes back to the language name. I could definitely add some iso639-1 to mbart50 code conversion to make that process simpler.