sample-config: added sample speech-recognition.conf.
[profile/ivi/speech-recognition.git] / speech-recognition.conf
1 ###################################
2 # speech-to-text (recognition)
3 #
4
5 load simple-disambiguator
6
7 sphinx = {
8   # source in PA corresponding to the mike Winthorpe should use
9     pulsesrc = alsa_input.usb-Logitech_Logitech_USB_Microphone-00-Microphone.analog-mono
10
11
12     hmm  = /usr/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k
13     lm   = dictionaries/demo/demo.DMP
14     dict = dictionaries/demo/demo.dic
15     fsg  = dictionaries/demo/demo.fsg
16
17     general = {
18         lm = /usr/share/pocketsphinx/model/lm/en_US/wsj0vp.5000.DMP
19         dict = /usr/share/pocketsphinx/model/lm/en_US/cmu07a.dic
20     }
21
22     # activate 'general' decoder
23     decoder = general
24
25     # redirect sphinx logs to our debug infra
26     log     = srs
27     verbose = true
28 }
29
30 load sphinx-speech
31
32
33 ###################################
34 # text-to-speech (synthesis)
35 #
36
37 load espeak-voice
38
39 # autodiscover and load all festival voices
40 festival.voices = auto
41
42 load festival-loader
43 load festival-voice
44
45
46 ###################################
47 # client API/protocol bindings
48 #
49
50 load native-client
51 load dbus-client
52
53 ###################################
54 # special client plugins
55 #
56
57 mpris2 = {
58     player1 = rhythmbox
59
60     rhythmbox = {
61         service =  org.gnome.Rhythmbox3
62         object  = /org/gnome/Rhythmbox3
63     }
64 }
65
66 #load mpris2-client
67
68 # search demo client
69 search-command = chromium-browser "http://google.com/search?q=__url__"
70
71 load search-client