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

Confidence scores on multiple languages detection

Open Galvo87 opened this issue 1 year ago • 1 comments

Hi! Is there a specific method to get confidence scores when detecting multiple languages in mixed-language texts? Should I calculate it myself based on the DetectionResult occurrences?

Galvo87 avatar May 09 '23 12:05 Galvo87

Hi @Galvo87, thank you for your question and sorry for my late response.

No, currently there is no method that calculates the confidence score for each detected language. But it's certainly useful to have it, so I will try to implement it.

pemistahl avatar May 20 '23 17:05 pemistahl