azure_speech_recognition 0.0.1 azure_speech_recognition: ^0.0.1 copied to clipboard
An implementation of Azure Speech Recognition Service for Flutter.
AzureSpeechRecognition #
Demonstrates how to use the AzureSpeechRecognition plugin.
Getting Started #
This project is a starting point for using the Azure Speech Recognition Services.
To use this plugin you must have already create an account on the cognitive service page.
Installation #
To install the package use the latest:
AzureSpeechRecognition: ^0.0.1
Usage #
import 'package:AzureSpeechRecognition/AzureSpeechRecognition.dart';
_recognizeVoice() async {
try {
var text = await AzureSpeechRecognition.simpleVoiceRecognition("YOUR SUBSCRIPTION KEY", "YOUR REGION",lang: "en-EN");
# do what you want here with the obtained text
} on PlatformException catch (e) {
print("Failed to get text '${e.message}'.");
}
}
Contributing #
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.