lingua-py icon indicating copy to clipboard operation
lingua-py copied to clipboard

Non-relative confidence scores for predictions

Open aditya-hari opened this issue 1 year ago • 1 comments

Is it possible to get the non-relative confidence score for predictions? I want to identify the language of some text I have but I want to filter it based on the confidence score, say only considering the translation if the confidence is over 0.99, but I can't figure out how to get this raw number.

aditya-hari avatar Sep 19 '22 17:09 aditya-hari

Thank you @aditya-hari for this feature request. I will think about how to implement this.

pemistahl avatar Sep 20 '22 06:09 pemistahl