Skip to content

Commit 61bf049

Browse files
authored
Modified for clarity
1 parent 142ce88 commit 61bf049

File tree

1 file changed

+14
-21
lines changed

1 file changed

+14
-21
lines changed

Language/BingSpellCheck/README.md

Lines changed: 14 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,37 +4,30 @@ platforms: java
44
author: milismsft
55
---
66

7-
# Bing Spell Check SDK Sample ##
7+
# Bing Spell Check Sample
88

9-
Sample code for spell checking using Bing Spell Check, an Azure Cognitive Service.
10-
- Spell check "Bill Gatas" with market and mode settings and print out the flagged tokens and suggestions.
11-
12-
13-
## Features
14-
15-
This project framework provides examples for the **Bing Spell Check SDK** for the [Spell Check API](https://azure.microsoft.com/en-us/services/cognitive-services/)
9+
This sample checks the spelling for the query "Bill Gatas" (with market and mode settings) and print outs the flagged tokens and spelling correction suggestions.
1610

1711
## Getting Started
1812

1913
### Prerequisites
14+
- If you don't have a Microsoft Azure subscription you can get a FREE trial account [here](http://go.microsoft.com/fwlink/?LinkId=330212).
15+
- Get a Cognitive Services API key with which to authenticate the SDK's calls. [Sign up here](https://azure.microsoft.com/en-us/services/cognitive-services/spell-check/). You can get a trial key for **free** which will expire after 30 days.
16+
- Set an environment variable named BING_SPELL_CHECK_SUBSCRIPTION_KEY with your Cognitive Services API key in the quickstart.
2017

21-
- A cognitive services API key with which to authenticate the SDK's calls. [Sign up here](https://azure.microsoft.com/en-us/services/cognitive-services/directory/) by navigating to the **Search** services and acquiring an API key. You can get a trial key for **free** which will expire after 30 days.
22-
- Maven
23-
24-
### Quickstart
25-
26-
To get these samples running locally, fulfill the pre-requisites above, then in your root folder:
18+
### Clone and run
2719

28-
1. From the command line: `git clone https://github.com/Azure-Samples/cognitive-services-java-sdk-samples.git`
29-
2. From the command line: `cd cognitive-services-java-sdk-samples/Language/BingSpellCheck`
30-
3. Set an environment variable named BING_SPELL_CHECK_SUBSCRIPTION_KEY with your cognitive services API key.
31-
4. From the command line: `mvn compile exec:java cleanupDaemonThreads = false`
20+
Execute the following from a command line:
3221

33-
## More information ##
22+
1. `git clone https://github.com/Azure-Samples/cognitive-services-java-sdk-samples.git`
23+
1. `cd cognitive-services-java-sdk-samples/Language/BingSpellCheck`
24+
1. `mvn compile exec:java cleanupDaemonThreads = false`
3425

35-
[http://azure.com/java](http://azure.com/java)
26+
## More information
3627

37-
If you don't have a Microsoft Azure subscription you can get a FREE trial account [here](http://go.microsoft.com/fwlink/?LinkId=330212)
28+
- [Build and deploy Java apps on Azure](http://azure.com/java)
29+
- [The Java SDK reference](https://docs.microsoft.com/en-us/java/api/overview/azure/cognitiveservices/client?view=azure-java-stable)
30+
- [Bing Spell Check documentation](https://docs.microsoft.com/en-us/azure/cognitive-services/bing-spell-check/index)
3831

3932
---
4033

0 commit comments

Comments
 (0)