The Language Identification API provides data detection for textual content. The API supports over 150 languages, and returns a maximum of 3 detected languages. Additionally, this API returns a numeric confidence value between 0 and 1. JSON is the preferred response format.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.
Identifies the language in which the input text is written. The API returns maximum 3 detected languages and a numeric confidences between 0 and 1. Confidence close to 1 indicate 100% certainty that the identified language is true.