"Language" (Built-in Classifier)
Identify which natural language the text is in.
- This classifier assumes the text input is written in a unique language. The probabilities reflect the belief in which language the text is written, not the proportion of languages.
- For large texts, the classifier randomly selects snippets to determine the overall language.
- In the current version, all texts must be written in one of their official alphabets.
Examplesopen allclose all
Basic Examples (2)
Determine the languages of a list of examples:
Obtain the probabilities for the most likely languages:
Obtain a ClassifierFunction for this classifier:
Load the ClassifierFunction corresponding to the built-in classifier:
Use a custom ClassPriors to restrict the possible outputs:
Use a custom IndeterminateThreshold:
Neat Examples (1)
Obtain different possible languages with their corresponding probabilities:
Visualize the result using WordCloud: