|
@@ -20,11 +20,11 @@ but adds a lot of features that go beyond the original purpose of Blather.
|
20
|
20
|
|
21
|
21
|
1. Move commands.tmp to ~/.config/kaylee/commands.conf and fill the file with
|
22
|
22
|
sentences and command to run
|
23
|
|
-2. Run blather.py. This will generate ~/.local/share/kaylee/sentences.corpus
|
|
23
|
+2. Run kaylee.py. This will generate ~/.local/share/kaylee/sentences.corpus
|
24
|
24
|
based on sentences in the 'commands' file, then use
|
25
|
25
|
<http://www.speech.cs.cmu.edu/tools/lmtool.html> to create and save a new
|
26
|
26
|
language model and dictionary.
|
27
|
|
- * For GTK UI, run blather.py -i g
|
|
27
|
+ * For GTK UI, run kaylee.py -i g
|
28
|
28
|
* To start a UI in 'continuous' listen mode, use the -c flag
|
29
|
29
|
* To use a microphone other than the system default, use the -m flag
|
30
|
30
|
3. Start talking
|
|
@@ -36,13 +36,13 @@ accordingly.
|
36
|
36
|
### Examples
|
37
|
37
|
|
38
|
38
|
* To run Kaylee with the GTK UI and start in continuous listen mode:
|
39
|
|
-`./blather.py -i g -c`
|
|
39
|
+`./kaylee.py -i g -c`
|
40
|
40
|
|
41
|
41
|
* To run Kaylee with no UI and using a USB microphone recognized and device 2:
|
42
|
|
-`./blather.py -m 2`
|
|
42
|
+`./kaylee.py -m 2`
|
43
|
43
|
|
44
|
44
|
* To have Kaylee pass the matched sentence to the executed command:
|
45
|
|
-`./blather.py -p`
|
|
45
|
+`./kaylee.py -p`
|
46
|
46
|
|
47
|
47
|
**explanation:** if the commands.conf contains:
|
48
|
48
|
`good morning world: example_command.sh`
|
|
@@ -50,10 +50,10 @@ then 3 arguments, 'good', 'morning', and 'world' would get passed to
|
50
|
50
|
example_command.sh as `example_command.sh good morning world`
|
51
|
51
|
|
52
|
52
|
* To run a command when a valid sentence has been detected:
|
53
|
|
- `./blather.py --valid-sentence-command=/path/to/command`
|
|
53
|
+ `./kaylee.py --valid-sentence-command=/path/to/command`
|
54
|
54
|
**note:** this can be set in the options.yml file
|
55
|
55
|
* To run a command when a invalid sentence has been detected:
|
56
|
|
- `./blather.py --invalid-sentence-command=/path/to/command`
|
|
56
|
+ `./kaylee.py --invalid-sentence-command=/path/to/command`
|
57
|
57
|
**note:** this can be set in the options.yml file
|
58
|
58
|
|
59
|
59
|
### Finding the Device Number of a USB microphone
|