|
@@ -1,7 +1,9 @@
|
1
|
1
|
#Blather
|
|
2
|
+
|
2
|
3
|
Blather is a speech recognizer that will run commands when a user speaks preset sentences.
|
3
|
4
|
|
4
|
5
|
##Requirements
|
|
6
|
+
|
5
|
7
|
1. pocketsphinx
|
6
|
8
|
2. gstreamer-0.10 (and what ever plugin has pocket sphinx support)
|
7
|
9
|
3. gstreamer-0.10 base plugins (required for alsa)
|
|
@@ -12,8 +14,8 @@ Blather is a speech recognizer that will run commands when a user speaks preset
|
12
|
14
|
**Note:** it may also be required to install `pocketsphinx-hmm-en-hub4wsj`
|
13
|
15
|
|
14
|
16
|
|
15
|
|
-
|
16
|
17
|
##Usage
|
|
18
|
+
|
17
|
19
|
0. move commands.tmp to ~/.config/blather/commands.conf and fill the file with sentences and command to run
|
18
|
20
|
1. Run Blather.py, this will generate ~/.config/blather/sentences.corpus based on sentences in the 'commands' file
|
19
|
21
|
2. quit blather (there is a good chance it will just segfault)
|
|
@@ -30,9 +32,11 @@ Blather is a speech recognizer that will run commands when a user speaks preset
|
30
|
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.
|
31
|
33
|
|
32
|
34
|
###Bonus
|
|
35
|
+
|
33
|
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.
|
34
|
37
|
|
35
|
38
|
###Examples
|
|
39
|
+
|
36
|
40
|
* To run blather with the GTK UI and start in continuous listen mode:
|
37
|
41
|
`./Blather.py -i g -c`
|
38
|
42
|
|