Forum Discussion
Short phrase language detection
- Feb 10, 2021
pauliom not sure exactly what text language detection capability you are using, but text analytics has a default language hint capability you could populate with the previous detected language. See here: Detect language with the Text Analytics REST API - Azure Cognitive Services | Microsoft Docs
HeikoRa Looking at the SDK it's interesting that you are constraining the languages to pick from. One of the big problems with short phrases is you can't provide any context. For example, if you say "ya" you get Norwegian rather than German. If you could say, "I was previously speaking German and now I say 'ya'" then it would be good to weight the answer towards German.
pauliom not sure exactly what text language detection capability you are using, but text analytics has a default language hint capability you could populate with the previous detected language. See here: Detect language with the Text Analytics REST API - Azure Cognitive Services | Microsoft Docs