Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 672 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 672 Bytes

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