Skip to content
This repository was archived by the owner on Oct 21, 2024. It is now read-only.

Commit b7f9e27

Browse files
Update README.md
1 parent a197ab9 commit b7f9e27

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ sendInputToTiE(String text, HashMap<String, String> params)
3232
```
3333
This project follows TIE SDK connectivity guidelines which are fully detailed in [tie-api-example-android](https://github.com/artificialsolutions/tie-api-example-android) example.
3434

35-
### Speech Recognition (ASR)
36-
This project implements Google's Android native ASR with [RecognizerIntent](https://developer.android.com/reference/android/speech/RecognizerIntent).
37-
The method `launchGoogleVoice` initializes RecognizerIntent with parameters such as Language, number of results, confidence scores, and is called from the microphone button's XML code in `activity_chat.xml` It also stops any TTS playback before launching ASR.
38-
Final ASR results are received at the `onActivity` callback, sent to Engine as text with `consumeASRresults(int resultCode, Intent data)`
35+
### Speech Recognition
36+
This project implements Google's Android native Speech Recognition (ASR) with [RecognizerIntent](https://developer.android.com/reference/android/speech/RecognizerIntent).
37+
The method `launchGoogleVoice` initializes RecognizerIntent with parameters such as Language, number of results, confidence scores, and is called from the microphone button's XML code in `activity_chat.xml` It also stops any Text to Speech playback before launching Speech Recognition.
38+
Final Speech Recognition results are received at the `onActivity` callback, sent to Engine as text with `consumeASRresults(int resultCode, Intent data)`
3939

40-
Localized ASR language is customizable, for example, in this project, ASR language is set to UK English with `asrIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, "en_GB")`.
40+
The recognition language is customizable, for example, in this project, ASR language is set to UK English with `asrIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, "en_GB")`.
4141

42-
### TTS
43-
TTS is implemented with Android's native [TTS](https://developer.android.com/reference/android/speech/tts/TextToSpeech). The object `googleTextToSpeech` within the project is the center of voice synthesis, and is initialized, launched and released throughout the lifecycle.
42+
### Text to Speech
43+
Text to Speech (TTS) is implemented with Android's native [Text to Speech](https://developer.android.com/reference/android/speech/tts/TextToSpeech). The object `googleTextToSpeech` within the project is the center of voice synthesis, and is initialized, launched and released throughout the lifecycle.
4444
In this project, the method `saySomething(String text)` speaks out loud the bot responses received from Teneo Engine.
4545
Localized TTS language is customizable. In this project, for example, TTS language is set to UK English with `googleTextToSpeech.setLanguage(Locale.UK)`.
4646

0 commit comments

Comments
 (0)