lingua-py
lingua-py copied to clipboard
Non-relative confidence scores for predictions
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.
Thank you @aditya-hari for this feature request. I will think about how to implement this.