Skip to content

Commit e5a865f

Browse files
authored
Merge pull request #88289 from IEvangelist/fixTA-HeadingIssue
[CogSvcs] adjusting headings and tab content for consistency
2 parents 32de074 + 48d35fc commit e5a865f

13 files changed

+111
-65
lines changed

articles/cognitive-services/text-analytics/how-tos/text-analytics-how-to-install-containers.md

Lines changed: 37 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.custom: seodec18
99
ms.service: cognitive-services
1010
ms.subservice: text-analytics
1111
ms.topic: conceptual
12-
ms.date: 07/30/2019
12+
ms.date: 09/12/2019
1313
ms.author: dapine
1414
---
1515

@@ -35,23 +35,23 @@ You must meet the following prerequisites before using Text Analytics containers
3535

3636
[!INCLUDE [Gathering required parameters](../../containers/includes/container-gathering-required-parameters.md)]
3737

38-
### The host computer
38+
## The host computer
3939

4040
[!INCLUDE [Host Computer requirements](../../../../includes/cognitive-services-containers-host-computer.md)]
4141

4242
### Container requirements and recommendations
4343

4444
The following table describes the minimum and recommended CPU cores, at least 2.6 gigahertz (GHz) or faster, and memory, in gigabytes (GB), to allocate for each Text Analytics container.
4545

46-
#### [Key Phrase Extraction](#tab/keyphrase)
46+
# [Key Phrase Extraction](#tab/keyphrase)
4747

4848
[!INCLUDE [key-phrase-extraction-container-requirements](../includes/key-phrase-extraction-container-requirements.md)]
4949

50-
#### [Language Detection](#tab/language)
50+
# [Language Detection](#tab/language)
5151

5252
[!INCLUDE [language-detection-container-requirements](../includes/language-detection-container-requirements.md)]
5353

54-
#### [Sentiment Analysis](#tab/sentiment)
54+
# [Sentiment Analysis](#tab/sentiment)
5555

5656
[!INCLUDE [sentiment-analysis-container-requirements](../includes/sentiment-analysis-container-requirements.md)]
5757

@@ -62,22 +62,42 @@ The following table describes the minimum and recommended CPU cores, at least 2.
6262

6363
Core and memory correspond to the `--cpus` and `--memory` settings, which are used as part of the `docker run` command.
6464

65-
#### [Key Phrase Extraction](#tab/keyphrase)
65+
## Get the container image with `docker pull`
66+
67+
Container images for Text Analytics are available on the Microsoft Container Registry.
68+
69+
# [Key Phrase Extraction](#tab/keyphrase)
70+
71+
[!INCLUDE [key-phrase-extraction-container-repository](../includes/key-phrase-extraction-container-repository.md)]
72+
73+
# [Language Detection](#tab/language)
74+
75+
[!INCLUDE [language-detection-container-repository](../includes/language-detection-container-repository.md)]
76+
77+
# [Sentiment Analysis](#tab/sentiment)
78+
79+
[!INCLUDE [sentiment-analysis-container-repository](../includes/sentiment-analysis-container-repository.md)]
80+
81+
***
82+
83+
[!INCLUDE [Tip for using docker list](../../../../includes/cognitive-services-containers-docker-list-tip.md)]
84+
85+
### Docker pull for the Text Analytics containers
86+
87+
# [Key Phrase Extraction](#tab/keyphrase)
6688

6789
[!INCLUDE [docker-pull-key-phrase-extraction-container](../includes/docker-pull-key-phrase-extraction-container.md)]
6890

69-
#### [Language Detection](#tab/language)
91+
# [Language Detection](#tab/language)
7092

7193
[!INCLUDE [docker-pull-language-detection-container](../includes/docker-pull-language-detection-container.md)]
7294

73-
#### [Sentiment Analysis](#tab/sentiment)
95+
# [Sentiment Analysis](#tab/sentiment)
7496

7597
[!INCLUDE [docker-pull-sentiment-analysis-container](../includes/docker-pull-sentiment-analysis-container.md)]
7698

7799
***
78100

79-
[!INCLUDE [Tip for using docker list](../../../../includes/cognitive-services-containers-docker-list-tip.md)]
80-
81101
## How to use the container
82102

83103
Once the container is on the [host computer](#the-host-computer), use the following process to work with the container.
@@ -91,15 +111,15 @@ Use the [docker run](https://docs.docker.com/engine/reference/commandline/run/)
91111

92112
[Examples](../text-analytics-resource-container-config.md#example-docker-run-commands) of the `docker run` command are available.
93113

94-
#### [Key Phrase Extraction](#tab/keyphrase)
114+
# [Key Phrase Extraction](#tab/keyphrase)
95115

96116
[!INCLUDE [docker-run-key-phrase-extraction-container](../includes/docker-run-key-phrase-extraction-container.md)]
97117

98-
#### [Language Detection](#tab/language)
118+
# [Language Detection](#tab/language)
99119

100120
[!INCLUDE [docker-run-language-detection-container](../includes/docker-run-language-detection-container.md)]
101121

102-
#### [Sentiment Analysis](#tab/sentiment)
122+
# [Sentiment Analysis](#tab/sentiment)
103123

104124
[!INCLUDE [docker-run-sentiment-analysis-container](../includes/docker-run-sentiment-analysis-container.md)]
105125

@@ -144,7 +164,10 @@ For more information about these options, see [Configure containers](../text-ana
144164

145165
In this article, you learned concepts and workflow for downloading, installing, and running Text Analytics containers. In summary:
146166

147-
* Text Analytics provides three Linux containers for Docker, encapsulating key phrase extraction, language detection, and sentiment analysis.
167+
* Text Analytics provides three Linux containers for Docker, encapsulating various capabilities:
168+
* *Key Phrase Extraction*
169+
* *Language Detection*
170+
* *Sentiment Analysis*
148171
* Container images are downloaded from the Microsoft Container Registry (MCR) in Azure.
149172
* Container images run in Docker.
150173
* You can use either the REST API or SDK to call operations in Text Analytics containers by specifying the host URI of the container.

articles/cognitive-services/text-analytics/includes/docker-pull-key-phrase-extraction-container.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,17 @@ services: cognitive-services
66
author: IEvangelist
77
manager: nitinme
88
ms.service: cognitive-services
9-
ms.topic: include
10-
ms.date: 08/20/2019
9+
ms.topic: include
10+
ms.date: 09/12/2019
1111
ms.author: dapine
1212
---
1313

14-
## Pull the Key Phrase Extraction container
15-
16-
Container images for Text Analytics are available on the Microsoft Container Registry.
17-
18-
| Container | Container Registry / Repository / Image Name |
19-
|-----------|------------|
20-
| Key Phrase Extraction | `mcr.microsoft.com/azure-cognitive-services/keyphrase` |
14+
#### Docker pull for the Key Phrase Extraction container
2115

2216
Use the [`docker pull`](https://docs.docker.com/engine/reference/commandline/pull/) command to download a container image from Microsoft Container Registry.
2317

2418
For a full description of available tags for the Text Analytics containers, see the [Key Phrase Extraction](https://go.microsoft.com/fwlink/?linkid=2018757) container on the Docker Hub.
2519

26-
### Docker pull for the Key Phrase Extraction container
27-
2820
```
2921
docker pull mcr.microsoft.com/azure-cognitive-services/keyphrase:latest
3022
```

articles/cognitive-services/text-analytics/includes/docker-pull-language-detection-container.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,16 @@ author: IEvangelist
77
manager: nitinme
88
ms.service: cognitive-services
99
ms.topic: include
10-
ms.date: 08/20/2019
10+
ms.date: 09/12/2019
1111
ms.author: dapine
1212
---
1313

14-
## Pull the Language Detection container
15-
16-
Container images for Text Analytics are available on the Microsoft Container Registry.
17-
18-
| Container | Container Registry / Repository / Image Name |
19-
|-----------|------------|
20-
| Language Detection | `mcr.microsoft.com/azure-cognitive-services/language` |
14+
#### Docker pull for the Language Detection container
2115

2216
Use the [`docker pull`](https://docs.docker.com/engine/reference/commandline/pull/) command to download a container image from Microsoft Container Registry.
2317

2418
For a full description of available tags for the Text Analytics containers, see the [Language Detection](https://go.microsoft.com/fwlink/?linkid=2018759) container on the Docker Hub.
2519

26-
27-
### Docker pull for the Language Detection container
28-
2920
```
3021
docker pull mcr.microsoft.com/azure-cognitive-services/language:latest
3122
```

articles/cognitive-services/text-analytics/includes/docker-pull-sentiment-analysis-container.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,17 @@ services: cognitive-services
66
author: IEvangelist
77
manager: nitinme
88
ms.service: cognitive-services
9-
ms.topic: include
10-
ms.date: 08/20/2019
9+
ms.topic: include
10+
ms.date: 09/12/2019
1111
ms.author: dapine
1212
---
1313

14-
## Pull the Sentiment Analysis container
15-
16-
Container images for Text Analytics are available on the Microsoft Container Registry.
17-
18-
| Container | Container Registry / Repository / Image Name |
19-
|-----------|------------|
20-
| Sentiment Analysis | `mcr.microsoft.com/azure-cognitive-services/sentiment` |
14+
#### Docker pull for the Sentiment Analysis container
2115

2216
Use the [`docker pull`](https://docs.docker.com/engine/reference/commandline/pull/) command to download a container image from Microsoft Container Registry.
2317

2418
For a full description of available tags for the Text Analytics containers, see the [Sentiment Analysis](https://go.microsoft.com/fwlink/?linkid=2018654) container on the Docker Hub.
2519

26-
### Docker pull for the Sentiment Analysis container
27-
2820
```
2921
docker pull mcr.microsoft.com/azure-cognitive-services/sentiment:latest
3022
```

articles/cognitive-services/text-analytics/includes/docker-run-key-phrase-extraction-container.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ services: cognitive-services
66
author: IEvangelist
77
manager: nitinme
88
ms.service: cognitive-services
9-
ms.topic: include
10-
ms.date: 08/20/2019
9+
ms.topic: include
10+
ms.date: 09/12/2019
1111
ms.author: dapine
1212
---
1313

14-
### Run container example of docker run command
14+
To run the *Key Phrase Extraction* container, execute the following `docker run` command.
1515

1616
```bash
1717
docker run --rm -it -p 5000:5000 --memory 4g --cpus 1 \

articles/cognitive-services/text-analytics/includes/docker-run-language-detection-container.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ services: cognitive-services
66
author: IEvangelist
77
manager: nitinme
88
ms.service: cognitive-services
9-
ms.topic: include
10-
ms.date: 08/20/2019
9+
ms.topic: include
10+
ms.date: 09/12/2019
1111
ms.author: dapine
1212
---
1313

14-
### Run container example of docker run command
14+
To run the *Language Detection* container, execute the following `docker run` command.
1515

1616
```bash
1717
docker run --rm -it -p 5000:5000 --memory 4g --cpus 1 \

articles/cognitive-services/text-analytics/includes/docker-run-sentiment-analysis-container.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ services: cognitive-services
66
author: IEvangelist
77
manager: nitinme
88
ms.service: cognitive-services
9-
ms.topic: include
10-
ms.date: 08/20/2019
9+
ms.topic: include
10+
ms.date: 09/12/2019
1111
ms.author: dapine
1212
---
1313

14-
### Run container example of docker run command
14+
To run the *Sentiment Analysis* container, execute the following `docker run` command.
1515

1616
```bash
1717
docker run --rm -it -p 5000:5000 --memory 4g --cpus 1 \
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
title: Container repository
3+
titleSuffix: Azure Cognitive Services
4+
description: Key Phrase Extraction container repository
5+
services: cognitive-services
6+
author: IEvangelist
7+
manager: nitinme
8+
ms.service: cognitive-services
9+
ms.topic: include
10+
ms.date: 09/12/2019
11+
ms.author: dapine
12+
---
13+
14+
| Container | Repository |
15+
|-----------|------------|
16+
| Key Phrase Extraction | `mcr.microsoft.com/azure-cognitive-services/keyphrase` |
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
title: Container repository
3+
titleSuffix: Azure Cognitive Services
4+
description: Language Detection container repository
5+
services: cognitive-services
6+
author: IEvangelist
7+
manager: nitinme
8+
ms.service: cognitive-services
9+
ms.topic: include
10+
ms.date: 09/12/2019
11+
ms.author: dapine
12+
---
13+
14+
| Container | Repository |
15+
|-----------|------------|
16+
| Language Detection | `mcr.microsoft.com/azure-cognitive-services/language` |
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
title: Container repository
3+
titleSuffix: Azure Cognitive Services
4+
description: Sentiment Analysis container repository
5+
services: cognitive-services
6+
author: IEvangelist
7+
manager: nitinme
8+
ms.service: cognitive-services
9+
ms.topic: include
10+
ms.date: 09/12/2019
11+
ms.author: dapine
12+
---
13+
14+
| Container | Repository |
15+
|-----------|------------|
16+
| Sentiment Analysis | `mcr.microsoft.com/azure-cognitive-services/sentiment` |

0 commit comments

Comments
 (0)