Skip to content
Snippets Groups Projects
Deps:

- gtk3 for python2 (package is python2-gobject in archlinux, as well as gtk3)
- get and compile https://github.com/alumae/gst-kaldi-nnet2-online (which requires kaldi)

Install:

./download-models.sh

copy libgstkaldionline2.so to ./asr/ or change GST_PLUGIN_PATH in main.py to point to its directory

Run:

python2 main.py

Doc:

developing with pygtk3: http://lazka.github.io/pgi-docs/, https://python-gtk-3-tutorial.readthedocs.org/en/latest/

Todo:

- model selection in user interface
- integrate new xml with actions
- account for custom acoustic scale and endpoint silence phones

/storage/raid1/homedirs/mickael.rouvier/raid2/kaldi_english/exp/nnet2_online/
--acoustic-scale=.04166666666666666666
--endpoint.silence-phones=1:2:3:4:5:6:7:8:9:10:11:12:13:14:15:16:17:18:19:20:21:22:23:24:25:26:27:28:29:30:31:32:33:34:35

- use GtkSourceView to allow editing the xml file directly