"ProgrammingLanguage" (Built-in Classifier)
-
See Also
- Classify
- TextCases
- Import
-
- Interpreter Types
- ComputedProgrammingLanguage
-
- Classifiers
- Language
- FacebookTopic
- Sentiment
- Related Guides
-
-
See Also
- Classify
- TextCases
- Import
-
- Interpreter Types
- ComputedProgrammingLanguage
-
- Classifiers
- Language
- FacebookTopic
- Sentiment
- Related Guides
-
See Also
"ProgrammingLanguage" (Built-in Classifier)
Recognize the programming language of a code snippet.
Classes

Examples
open all close allBasic Examples (2)
Determine the language of a given code:
Obtain the probabilities for the most likely classes:
Obtain a ClassifierFunction for this classifier:
Scope (1)
Load the ClassifierFunction corresponding to the built-in classifier:
Options (2)
ClassPriors (1)
Use a custom ClassPriors to restrict the possible outputs:
IndeterminateThreshold (1)
Use a custom IndeterminateThreshold:
Neat Examples (1)
Obtain different possible languages with their corresponding probabilities:
Visualize the result using WordCloud:
See Also
Interpreter Types: ComputedProgrammingLanguage
Classifiers: Language FacebookTopic Sentiment
Related Guides
History
Introduced in 2018 (11.3)