Skip to content

Commit ee82f8b

Browse files
authored
Updated sample, replaced deprecated code
1 parent 8fa5418 commit ee82f8b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@
1010
* This sample uses the Bing Spell Check v7 API to check spelling of a sentence.
1111
*
1212
* Include library (for pretty print), add jar to a lib folder:
13-
* https://github.com/stleary/JSON-java
13+
* https://github.com/stleary/JSON-java
1414
*
1515
* Add your subscription key and endpoint to your environment variables.
1616
*
1717
* Build/run from command line:
18-
* javac BingSpellCheckv7.java -cp .;lib\*
19-
* java -cp .;lib\* BingSpellCheckv7
18+
* javac BingSpellCheck.java -cp .;lib\*
19+
* java -cp .;lib\* BingSpellCheck
2020
*/
2121

22-
public class BingSpellCheckv7 {
22+
public class BingSpellCheck {
2323

2424
// Or using the generic endpoint https://api.cognitive.microsoft.com is OK too.
2525
static String endpoint = System.getenv("BING_SPELL_CHECK_ENDPOINT") + "/bing/v7.0/spellcheck";

0 commit comments

Comments
 (0)