damus icon indicating copy to clipboard operation
damus copied to clipboard

Replace LibreTranslate detect server call with Apple's Natural Language library

Open tyiu opened this issue 2 years ago • 0 comments

https://developer.apple.com/documentation/naturallanguage/nllanguagerecognizer/2976557-dominantlanguage

Makes it slightly more performant by decreasing the max number of required server calls by 1 per selected note.

Also seems to be more accurate in language detection. Which means some of the Chinese posts we've been seeing are actually being detected as Chinese properly.

tyiu avatar Feb 02 '23 04:02 tyiu