Skip to content

Commit c20cbe8

Browse files
committed
Language patches to CentOS documentation. Added new how to to the TOC. Cleaned up language in codec compressed audio article.
1 parent 627fd69 commit c20cbe8

File tree

3 files changed

+20
-17
lines changed

3 files changed

+20
-17
lines changed

articles/cognitive-services/Speech-Service/how-to-configure-rhel-centos-7.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: How to configure RHEL/CentOS 7
2+
title: How to configure RHEL/CentOS 7 - Speech service
33
titleSuffix: Azure Cognitive Services
44
description: Learn how to configure RHEL/CentOS 7 so that the Speech SDK can be used.
55
services: cognitive-services
@@ -8,31 +8,31 @@ manager: jhakulin
88
ms.service: cognitive-services
99
ms.subservice: speech-service
1010
ms.topic: conceptual
11-
ms.date: 03/20/2020
11+
ms.date: 04/02/2020
1212
ms.author: pankopon
1313
---
1414

1515
# Configure RHEL/CentOS 7 for Speech SDK
1616

17-
Red Hat Enterprise Linux (RHEL) 8 x64 and CentOS 8 x64 are officially supported from the Speech SDK version 1.10.0 onwards. It is also possible to use the Speech SDK on RHEL/CentOS 7 x64, but this requires updating the C++ compiler (for C++ development) and the shared C++ runtime library on the system.
17+
Red Hat Enterprise Linux (RHEL) 8 x64 and CentOS 8 x64 are officially supported by the Speech SDK version 1.10.0 and later. It is also possible to use the Speech SDK on RHEL/CentOS 7 x64, but this requires updating the C++ compiler (for C++ development) and the shared C++ runtime library on your system.
1818

19-
To check the C++ compiler version, run a command:
19+
To check the C++ compiler version, run:
2020

2121
```bash
2222
g++ --version
2323
```
2424

25-
If the compiler is installed, the output on vanilla RHEL/CentOS 7 should be like:
25+
If the compiler is installed, the output should look like this:
2626

27-
```
27+
```bash
2828
g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39)
2929
```
3030

31-
i.e. GCC major version 4. This does not have full support for the C\+\+11 standard that Speech SDK uses, and an attempt to compile a C++ program with Speech SDK headers will result in compilation errors.
31+
This message lets you know that GCC major version 4 is installed. This version doesn't have full support for the C++ 11 standard, which the Speech SDK uses. Trying to compile a C++ program with this GCC version and the Speech SDK headers will result in compilation errors.
3232

33-
Another thing to check is the version of the shared C++ runtime library (libstdc++). Most of Speech SDK is implemented as native C++ libraries, thus it depends on libstdc++ regardless of the actual application development language.
33+
It's also important to check is the version of the shared C++ runtime library (libstdc++). Most of the Speech SDK is implemented as native C++ libraries, meaning it depends on libstdc++ regardless of the language you use to develop applications.
3434

35-
To find the location of libstdc++ on the system, run a command:
35+
To find the location of libstdc++ on your system, run:
3636

3737
```bash
3838
ldconfig -p | grep libstdc++
@@ -44,13 +44,13 @@ The output on vanilla RHEL/CentOS 7 (x64) is:
4444
libstdc++.so.6 (libc6,x86-64) => /lib64/libstdc++.so.6
4545
```
4646

47-
Based on the above, check the version definitions with a command:
47+
Based on this message, you'll want to check the version definitions with this command:
4848

4949
```bash
5050
strings /lib64/libstdc++.so.6 | egrep "GLIBCXX_|CXXABI_"
5151
```
5252

53-
The output on vanilla RHEL/CentOS 7 (with only the highest version definitions shown):
53+
The output should be:
5454

5555
```
5656
...
@@ -60,14 +60,14 @@ CXXABI_1.3.7
6060
...
6161
```
6262

63-
The Speech SDK requires **CXXABI_1.3.9** and **GLIBCXX_3.4.21**. (This can be seen e.g. by running `ldd libMicrosoft.CognitiveServices.Speech.core.so` on Speech SDK libraries from the Linux package.)
63+
The Speech SDK requires **CXXABI_1.3.9** and **GLIBCXX_3.4.21**. You can find this information by running `ldd libMicrosoft.CognitiveServices.Speech.core.so` on the Speech SDK libraries from the Linux package.
6464

65-
[!TIP]
66-
It is recommended that the version of GCC installed on the system is at least **5.4.0**, with matching runtime libraries.
65+
> [!TIP]
66+
> It is recommended that the version of GCC installed on the system is at least **5.4.0**, with matching runtime libraries.
6767
6868
## Example
6969

70-
To configure RHEL/CentOS 7 x64 for development (C++, C#, Java, Python) with the SpeechSDK 1.10.0 or later, consider the following example command set.
70+
This is a sample command that illustrates how to configure RHEL/CentOS 7 x64 for development (C++, C#, Java, Python) with the Speech SDK 1.10.0 or later:
7171

7272
```bash
7373
# Only run ONE of the following two commands

articles/cognitive-services/Speech-Service/how-to-use-codec-compressed-audio-input-streams.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ zone_pivot_groups: programming-languages-set-twelve
1818
The Speech service SDK **Compressed Audio Input Stream** API provides a way to stream compressed audio to the Speech service using either a `PullStream` or `PushStream`.
1919

2020
> [!IMPORTANT]
21-
> Streaming compressed input audio is currently supported for C#, C++, Java on Windows (UWP application is not supported currently) and Linux (Ubuntu 16.04, Ubuntu 18.04, Debian 9, RHEL 8, CentOS 8). It is also supported for Java in Android and Objective-C in iOS platform.
22-
> Speech SDK version 1.7.0 or higher is required (version 1.10.0 or higher for RHEL 8, CentOS 8 and version 1.11.0 or higher for Windows).
21+
> Streaming compressed input audio is currently supported for C#, C++, Java on Windows (UWP applications aren't supported) and Linux (Ubuntu 16.04, Ubuntu 18.04, Debian 9, RHEL 8, CentOS 8). It is also supported for Java in Android and Objective-C in iOS platform.
22+
> Speech SDK version 1.7.0 or later is required (version 1.10.0 or later for RHEL 8 and CentOS 8, and version 1.11.0 or later for Windows).
2323
2424
[!INCLUDE [supported-audio-formats](includes/supported-audio-formats.md)]
2525

articles/cognitive-services/Speech-Service/toc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,9 @@
468468
- name: Configure OpenSSL for Linux
469469
displayName: memory usage, memory consumption, object logging, object tracking, memory, openssl
470470
href: how-to-configure-openssl-linux.md
471+
- name: Configure RHEL/CentOS 7
472+
href: how-to-configure-rhel-centos-7.md
473+
displayName: RHEL, CentOS 7, CentOS, Configure RHEL, Configure CentOS
471474
- name: Samples
472475
items:
473476
- name: Speech SDK samples (GitHub)

0 commit comments

Comments
 (0)