Skip to content

Commit cc84b09

Browse files
authored
Merge pull request #50158 from MikeDodaro/fixSpellCheckModes
Revise spell check modes
2 parents 1932bd1 + 607f0fc commit cc84b09

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

articles/cognitive-services/Bing-Spell-Check/proof-text.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,19 @@ This spell-checker can handle any word-processing scenario:
3030

3131
## Spell check modes
3232

33-
The API supports two proofing modes, Proof and Spell. The default mode is Proof. The Proof spelling mode provides the most comprehensive checks, but it's available only in the en-US (English-United States) market. For all other markets, set the [mode](https://docs.microsoft.com/rest/api/cognitiveservices/bing-spell-check-api-v7-reference#mode) query parameter to Spell. The Spell mode finds most spelling mistakes but doesn't find some of the grammar errors that Proof catches (for example, capitalization and repeated words).
33+
The API supports two proofing modes, `Proof` and `Spell`. Try examples [here](https://azure.microsoft.com/en-us/services/cognitive-services/spell-check/).
34+
### Proof - for documents scenario
35+
The default mode is `Proof`. The `Proof` spelling mode provides the most comprehensive checks, adding capitalization, basic punctuation, and other features to aid document creation. but it is available only in the en-US (English-United States), es-ES(Spanish), pt-BR(Portuguese) markets (Note: only in beta version for Spanish and Portuguese). For all other markets, set the mode query parameter to Spell.
36+
<br /><br/>**NOTE:** If the length of query text exceeds 4096, it will be truncated to 4096 characters, then get processed.
37+
### Spell - for web searches/queries scenario
38+
`Spell` is more aggressive in order to return better search results. The `Spell` mode finds most spelling mistakes but doesn't find some of the grammar errors that `Proof` catches, for example, capitalization and repeated words.
39+
<br /></br>**NOTE:** The max query length supported is as below. If query exceed the bound, the result appears that the query is not altered.
40+
<ul><li>130 characters for language code of en, de, es, fr, pl, pt, sv, ru, nl, nb, tr-tr, it, zh, ko. </li>
41+
<li>65 characters for others</li></ul>
42+
43+
## Market setting
44+
Market needs to be specified in the query parameter in request URL, otherwise speller will take the default market based on IP address.
45+
3446

3547
## POST vs. GET
3648

0 commit comments

Comments
 (0)