Google (STT)
Google (STT)
Use Google for speech-to-text.
Setup
Google STT requires credentials.
- Env var:
GOOGLE_APPLICATION_CREDENTIALS(path to credentials JSON)
# .env
GOOGLE_APPLICATION_CREDENTIALS=/path/to/credentials.json
Example
from siphon.plugins import google
stt = google.STT(
languages="en-US",
)
Common options
languages(default:en-US)detect_language(default:True)interim_results(default:True)punctuate(default:True)model(default:chirp)spoken_punctuation(default:False)credentials_info(default:None)credentials_file(default:None)