/comprehend

Tool for checking Swedish pronunciation

Primary LanguagePythonMIT LicenseMIT

Comprehend

A tool for checking Swedish pronunciation using Google Cloud Speech API.

Installation

brew install sox --with-flac
pip install google-api-python-client
export GOOGLE_APPLICATION_CREDENTIALS="<PATH TO YOUR SERVICE ACCOUNT’S CREDENTIALS>"

The instructions for setting up a service account can be found here.

Usage

./bin/comprehend                 # check an arbitrary phrase
./bin/comprehend Hej då!         # check a specific phrase
./bin/comprehend phrases.txt     # check random phrases from a file