Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Identify language (obj-c)
* Identifies the main language for the given text.
* @param text The input text to use for identifying the language. Inputs longer than 200 characters
* are truncated to 200 characters, as longer input does not improve the detection accuracy.
* @param completion Handler to call back on the main queue with the identified language code or
* error.
- (void)identifyLanguageForText:(NSString *)text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.