spell-checkingbing-api

Bing Spell Check API works only in English


Trying Bing Spell Check API, but it doesn't seem to work correctly with languages other than English. Available languages for Spell Check

I've tried to check French text, but the results will actually suggest mistakes to a perfectly fine text and vice versa (meaning it also won't correct a mistake in a text).

I've tried checking this text:

La Terre a un noyau interne solide

This is how I've passed the language:

var result = client.SpellCheckerWithHttpMessagesAsync(text: text, mode: "spell", acceptLanguage: "fr-FR").Result;

I've also tried setLang:

var result = client.SpellCheckerWithHttpMessagesAsync(text: text, mode: "spell", setLang: "fr-FR").Result;

The result suggested changing solide to solid which is wrong. I've tried other texts as well as different languages with the same results.

Am I missing something in how to use this API?


Solution

  • Pls use market parameter mkt=fr-fr in the query and drop the setLang parameter.