You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Language/BingSpellCheck/README.md
+14-21Lines changed: 14 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,37 +4,30 @@ platforms: java
4
4
author: milismsft
5
5
---
6
6
7
-
# Bing Spell Check SDK Sample ##
7
+
# Bing Spell Check Sample
8
8
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.
16
10
17
11
## Getting Started
18
12
19
13
### 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.
20
17
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
27
19
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`
0 commit comments