Python Overview
Spokestack can be integrated with Python.
Integrations by Feature
Add speech recognition, language understanding, and text-to-speech to your app with one simple API.
Select a specific feature you’d like to integrate with for more details:
from spokestack.profile.wakeword_asr import WakewordSpokestackASR
pipeline = WakewordSpokestackASR.create(
"YOUR_SPOKESTACK_API_ID",
"YOUR_SPOKESTACK_API_SECRET",
model_dir="path_to_wakeword_model"
)
pipeline.run()
Python
Try a Wake Word in Your Browser
Test a wake word model by pressing “Start test,” then saying “Spokestack”. Wait a few seconds for results. This browser tester is experimental.
Say “Spokestack” when testing
Instructions
- Test a model by pressing "start test" above
- Then, try saying any of the utterances listed above. Wait a few seconds after saying an utterance for a confirmation to appear.
Spokestack Python SDK
Spokestack manages voice interactions and delivers actionable user commands with just a few lines of code.
spokestack-python
Spokestack is a library that allows a user to easily incorporate a voice interface into any Python application with a focus on embedded systems.
For step-by-step instructions on how to use
spokestack-python
check out our Getting Started Guide.Related Resources
Want to dive deeper into the world of Android voice integration? We've got a lot to say on the subject: