Skip to content

Commit

Permalink
updating missing links
Browse files Browse the repository at this point in the history
  • Loading branch information
samvaity committed Jan 4, 2020
1 parent ac9e65f commit 1277f77
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 13 deletions.
8 changes: 3 additions & 5 deletions sdk/textanalytics/azure-ai-textanalytics/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@
## 1.0.0-beta.1 (Unreleased)

For details on the Azure SDK for Java (January 2020 Preview) release refer to the [release announcement]().

### Added
- Initial release of this module.
- Support for subscription key and AAD authentication for both synchronous and asynchronous clients.
- Added support for subscription key and AAD authentication for both synchronous and asynchronous clients.
- Added Detect Language, Recognize Entity, Recognize PII entity, Recognize Linking Entity, Analyze Sentiment APIs.

This package's
[documentation]()
[documentation](https://github.com/Azure/azure-sdk-for-java/blob/azure-ai-textanalytics_1.0.0-beta.1/sdk/textanalytics/azure-ai-textanalytics/README.md)
and
[samples]()
[samples](https://github.com/Azure/azure-sdk-for-java/blob/azure-ai-textanalytics_1.0.0-beta.1/sdk/textanalytics/azure-ai-textanalytics/src/samples)
demonstrate the new API.
9 changes: 4 additions & 5 deletions sdk/textanalytics/azure-ai-textanalytics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ and includes six main functions:
- Recognition of Personally Identifiable Information
- Linked Entity Recognition

[Source code][source_code] | [API reference documentation][api_reference_doc] | [Product Documentation][product_documentation] | [Samples][samples_readme]
[Source code][source_code] | [Package (Maven)][package] | [API reference documentation][api_reference_doc] | [Product Documentation][product_documentation] | [Samples][samples_readme]

## Getting started

Expand Down Expand Up @@ -117,7 +117,7 @@ az cognitiveservices account create \
--yes
```
### Authenticate the client
In order to interact with the Text Analytics service, you'll need to create an instance of the [TextAnalyticsClient](#create-ta-client) class. You would need an **endpoint** and **subscription key** to instantiate a client object.
In order to interact with the Text Analytics service, you'll need to create an instance of the [TextAnalyticsClient](#create-a-client) class. You would need an **endpoint** and **subscription key** to instantiate a client object.

#### Get credentials
##### Types of credentials
Expand Down Expand Up @@ -245,7 +245,6 @@ Text analytics support both synchronous and asynchronous client creation by usin
``` java
// An example of creating a synchronous client
TextAnalyticsClient client = new TextAnalyticsClientBuilder()
.subscriptionKey("subscription-key")
.endpoint("https://servicename.cognitiveservices.azure.com/")
Expand All @@ -254,7 +253,6 @@ TextAnalyticsClient client = new TextAnalyticsClientBuilder()
``` java
// An example of creating an asynchronous client
TextAnalyticsAsyncClient client = new TextAnalyticsClientBuilder()
.subscriptionKey("subscription-key")
.endpoint("https://servicename.cognitiveservices.azure.com/")
Expand Down Expand Up @@ -372,11 +370,12 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
<!-- LINKS -->
[azure_subscription]: https://azure.microsoft.com/free
[api_reference_doc]: https://azure.github.io/azure-sdk-for-java/cognitiveservices.html
[api_reference_doc]: https://azure.github.io/azure-sdk-for-java/textanalytics.html
[cla]: https://cla.microsoft.com
[coc]: https://opensource.microsoft.com/codeofconduct/
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
[coc_contact]: mailto:[email protected]
[package]: https://mvnrepository.com/artifact/com.azure/azure-ai-textanalytics
[product_documentation]: https://docs.microsoft.com/azure/cognitive-services/text-analytics/overview
[samples_readme]: src/samples/README.md
[source_code]: src
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ The following sections provide several code snippets covering some of the most c
- [Recognize linked entities in text][sample_linked_entities]
- [Extract key phrases in text][sample_key_phrases]
- [Analyze sentiment in text.][sample_sentiment]
- [Async Detect language in text][async_sample_hello_world]

Batch Samples:
- [Detect language for a batch of documents][sample_language_batch]
Expand Down Expand Up @@ -50,7 +51,8 @@ Guidelines](../../CONTRIBUTING.md) for more information.
[SDK_README_DEPENDENCY]: ../../README.md#adding-the-package-to-your-product
[SDK_README_NEXT_STEPS]: ../../README.md#next-steps

[sample_hello_world]: java/com/azure/ai/textanalytics/HelloWorld.java
[async_sample_hello_world]: java/com/azure/ai/textanalytics/DetectLanguageAsync.java
[sample_hello_world]: java/com/azure/ai/textanalytics/DetectLanguage.java
[sample_entities]: java/com/azure/ai/textanalytics/RecognizeEntities.java
[sample_pii_entities]: java/com/azure/ai/textanalytics/RecognizePii.java
[sample_linked_entities]: java/com/azure/ai/textanalytics/RecognizeLinkedEntities.java
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/**
* Sample demonstrates how to detect the language of an input text.
*/
public class HelloWorld {
public class DetectLanguage {
/**
* Main method to invoke this demo about how to detect the language of an input text.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/**
* Sample demonstrates how to asynchronously detect the language of an input text.
*/
public class HelloWorldAsync {
public class DetectLanguageAsync {
/**
* Main method to invoke this demo about how to detect the language of an input text.
*
Expand Down

0 comments on commit 1277f77

Please sign in to comment.