BING Spellcheck api supported language for ES, ES419

Thomas Park 0 Reputation points
2024-06-25T11:01:33.2066667+00:00

Does BING Spellcheck support ES419 spellcheck?

The reason I'm asking this is because, BING spellcheck query parameter document says

  • "If known, you are encouraged to always specify the market. Specifying the market helps Bing route the request and return an appropriate and optimal response."

And indeed there are separate market code for 'es-ES' and 'es-US'. But what confuses me is that in the supported language list, they only have 'es'.

So I was wondering if es-US was also being spell checked using the same 'es' model, instead of having separate models such as es-US and es-ES.

Does anyone know?

Thank you.

Bing Spell Check
Bing Spell Check
A Bing service that detects and corrects spelling mistakes in your app.
36 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. YutongTie-MSFT 52,956 Reputation points
    2024-06-25T23:13:39.0866667+00:00

    Hello, thanks for reaching out to us, the mrk(market) code is the most important parameter.

    Bing Spell Check API does support spell checking for Spanish variants including es-ES (Spanish for Spain) and es-US (Spanish for United States), among others. The confusion arises from the documentation mentioning only "es" in the supported language list but providing separate market codes for different variants like es-ES and es-US.

    1. Supported Languages: The API documentation might list "es" as the supported language, but this generally encompasses multiple variants of Spanish, including those specific to different regions (like es-ES and es-US).
    2. Market Codes: Market codes such as es-ES and es-US are used to specify regional variations in the spell checking behavior. This helps Bing route the request correctly and tailor the response based on regional language norms and preferences.
    3. Spell Check Models: While the documentation may not explicitly list each regional variant separately in the supported languages section, Bing likely uses distinct models or configurations for different variants such as es-ES and es-US. This ensures that spell checking is optimized for regional differences in spelling conventions and vocabulary.

    If you set the mrk code correct, your code should help you specify different variants of Spanish.

    I hope this helps! Let us know if you have any other questions.

    Regards,

    Yutong

    -Please kindly accept the answer if you feel helpful to support the community, thanks a lot.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.