Frequently Asked Questions
- What exactly do the "confidence" and the "isReliable" mean?
- Can I use API via JSONP, CORS or cross-domain AJAX directly from the browser?
- I'm getting close to the Premium+ plan limits. Can I go higher?
What exactly do the "confidence" and the "isReliable" mean?
Confidence value depends on how much text you pass and how well it is identified. The more text you pass, the higher confidence value will be. It is not a range, it can be higher than 100.
Reliability is not directly linked to the confidence. In case your text contains words in different languages then isReliable: true would identify that first detected language is significantly more probable than the second one. When only one language is detected isReliable: false would mean that confidence is very low.
Can I use API via JSONP, CORS or cross-domain AJAX directly from the browser?
Direct cross-domain usage of DetectLanguage API is disabled, because this way you would be disclosing your API key. It would be very easy to inspect browser network calls and steal your key.
You can solve this problem by creating a "proxy" script on your server and forwarding requests to the API.
I'm getting close to the Premium+ plan limits. Can I go higher?
Yes! Please contact us and specify your requirements.