Skip to content

Commit

Permalink
0.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
xiongyihui committed Jul 10, 2018
1 parent d8b3568 commit 34b899d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,21 +64,33 @@ Python Alexa Voice Service App

#### Using Snowboy for Keyword Spotting
1. Install [Snowboy](https://github.com/Kitt-AI/snowboy)

```
git clone --depth 1 https://github.com/Kitt-AI/snowboy.git snowboy_github
cd snowboy_github
sudo apt install libatlas-base-dev swig
python setup.py build
sudo pip install .
```
2. Install voice-engine python library
`sudo pip install voice-engine`
3. run the following python script and use the keyword `alexa` to start a conversation with alexa
```
```python
import time
import signal
from voice_engine.source import Source
from voice_engine.kws import KWS
from avs.alexa import Alexa
import logging
logging.basicConfig(level=logging.DEBUG)
src = Source(rate=16000)
kws = KWS(model='alexa')
kws = KWS(model='snowboy')
alexa = Alexa()
src.pipeline(kws, alexa)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

setup(
name='avs',
version='0.5.1',
version='0.5.2',
description="Alexa Voice Service Python SDK",
long_description=long_description,
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 34b899d

Please sign in to comment.