ken107 / read-aloud

An awesome browser extension that reads aloud webpage content with one click
https://readaloud.app
MIT License
1.4k stars 237 forks source link

Better language detection strategy #377

Open ken107 opened 9 months ago

ken107 commented 9 months ago

Should be more intelligent at language detection. If user has been reading all english text and suddenly detects spanish, that would be a misdetection.

ken107 commented 4 days ago

Maybe if confidence (of detection result) is low, use document's declared language or browser's locale language