LUIS-Samples/examples/bing-spell-check/javascript
Dina Berry 3e56c307f4
1211 edits (#45)
* iot readme

* 1211-spellcheck
2017-12-11 15:57:40 -08:00
..
call-endpoint.html 1211 edits (#45) 2017-12-11 15:57:40 -08:00
readme.md 1211 edits (#45) 2017-12-11 15:57:40 -08:00
screenshot.png 1211 edits (#45) 2017-12-11 15:57:40 -08:00

readme.md

LUIS Query with spell check

This Javascript example sends a query to the LUIS endpoint with Bing Spell Check turned on. This example corrects any misspelling with your own Bing Spell Check ID before it is submitted to the public IoT LUIS app.

Results from LUIS with corrected query

Prerequisites

Misspelled query

The query turn the lighzs on is misspelled on purpose. When the query is run, the response will include the alteredQuery field -- the text of the query submitted to LUIS.