WEEE-Open / skeeelled

An e-learning platform for the modern age
https://weee-open.github.io/skeeelled
5 stars 7 forks source link

Add finer logic for language detection #80

Closed e-caste closed 2 years ago

e-caste commented 2 years ago

To ModBOT.py, in discern, we currently only choose the detected language based on the maximum likelihood. Since we want to distinguish Italian, English, and other languages, we want to "boost" the likelihood of Italian and English wrt other languages if their detected likelihood is similar (e.g. Swedish=48%, English=43% should give us English).
Proposed method: standard deviation comparison.

papadeiv commented 2 years ago

Commit 27a236f.