|
@@ -1,8 +1,8 @@
|
1
|
|
-#Blather
|
|
1
|
+# Blather
|
2
|
2
|
|
3
|
3
|
Blather is a speech recognizer that will run commands when a user speaks preset sentences.
|
4
|
4
|
|
5
|
|
-##Requirements
|
|
5
|
+## Requirements
|
6
|
6
|
|
7
|
7
|
1. pocketsphinx
|
8
|
8
|
2. gstreamer-0.10 (and what ever plugin has pocket sphinx support)
|
|
@@ -14,7 +14,7 @@ Blather is a speech recognizer that will run commands when a user speaks preset
|
14
|
14
|
**Note:** it may also be required to install `pocketsphinx-hmm-en-hub4wsj`
|
15
|
15
|
|
16
|
16
|
|
17
|
|
-##Usage
|
|
17
|
+## Usage
|
18
|
18
|
|
19
|
19
|
0. move commands.tmp to ~/.config/blather/commands.conf and fill the file with sentences and command to run
|
20
|
20
|
1. Run Blather.py, this will generate ~/.config/blather/sentences.corpus based on sentences in the 'commands' file
|
|
@@ -31,11 +31,11 @@ Blather is a speech recognizer that will run commands when a user speaks preset
|
31
|
31
|
|
32
|
32
|
**Note:** to start Blather without needing to enter command line options all the time, copy options.yaml.tmp to ~/.config/blather/options.yaml and edit accordingly.
|
33
|
33
|
|
34
|
|
-###Bonus
|
|
34
|
+### Bonus
|
35
|
35
|
|
36
|
36
|
once the sentences.corpus file has been created, run the language_updater.sh script to automate the process of creating and downloading language files.
|
37
|
37
|
|
38
|
|
-###Examples
|
|
38
|
+### Examples
|
39
|
39
|
|
40
|
40
|
* To run blather with the GTK UI and start in continuous listen mode:
|
41
|
41
|
`./Blather.py -i g -c`
|
|
@@ -58,7 +58,7 @@ once the sentences.corpus file has been created, run the language_updater.sh scr
|
58
|
58
|
`./Blather.py --invalid-sentence-command=/path/to/command`
|
59
|
59
|
**note:** this can be set in the options.yml file
|
60
|
60
|
|
61
|
|
-###Finding the Device Number of a USB microphone
|
|
61
|
+### Finding the Device Number of a USB microphone
|
62
|
62
|
There are a few ways to find the device number of a USB microphone.
|
63
|
63
|
|
64
|
64
|
* `cat /proc/asound/cards`
|