Python Kaldi speech recognition with grammars that can be set active/inactive dynamically at decode-time
g2p_en
package), which is now also the default mode. It is also preferred over the online mode (using CMU's web service), which is now disabled by default. See the Setup section of the README for details. The new models now include the data files for g2p_en
.PlainDictation
output now discards any silence words from transcript.lattice_beam
default value reduced from 6.0
to 5.0
, to hopefully avoid occasional errors.NativeWFST.has_path()
now handles loops.You can subscribe to announcements on GitHub (see Watch panel above), or on Gitter (see instructions )
See major changes introduced in v2.0.0 and associated downloads.
lattice_beam
default value reduced from 8.0
to 6.0
, to hopefully avoid occasional errors.kaldi-dragonfly-winpython
: A self-contained, portable, batteries-included (python & libraries & model) distribution of kaldi-active-grammar + dragonfly2. Just unzip and run!kaldi-caster-winpython
: A self-contained, portable, batteries-included (python & libraries & model) distribution of kaldi-active-grammar + dragonfly2 + caster. Just unzip and run!If you have trouble downloading, try using wget --continue
.
You can subscribe to announcements on GitHub (see Watch panel above), or on Gitter (see instructions )
.conf
s, etc) and pipestmp_dir
is now set to [model_dir]/cache.tmp
tmp_dir
is now optional, and only needed if caching compiled FSTs (or for certain framework/option combinations)[model_dir]/file_cache.json
L_disambig.fst
once at the end.Compiler.__init__()
, decoding setup, etc.agf-indirect
)text
kaldi-dragonfly-winpython
: A self-contained, portable, batteries-included (python & libraries & model) distribution of kaldi-active-grammar + dragonfly2. Just unzip and run!kaldi-caster-winpython
: A self-contained, portable, batteries-included (python & libraries & model) distribution of kaldi-active-grammar + dragonfly2 + caster. Just unzip and run!If you have trouble downloading, try using wget --continue
.
You can subscribe to announcements on GitHub (see Watch panel above), or on Gitter (see instructions )
[GitHub is matching (only) my GitHub Sponsors donations.]
kaldi-dragonfly-winpython
: [stable release version] A self-contained, portable, batteries-included (python & libraries & model) distribution of kaldi-active-grammar + dragonfly2. Just unzip and run!kaldi-caster-winpython-dev
: [more recent development version] A self-contained, portable, batteries-included (python & libraries & model) distribution of kaldi-active-grammar + dragonfly2 + caster. Just unzip and run!If you have trouble downloading, try using wget --continue
.
You can subscribe to announcements on GitHub (see Watch panel above), or on Gitter (see instructions )
[GitHub is matching (only) my GitHub Sponsors donations.]
kaldi-dragonfly-winpython
: [stable release version] A self-contained, portable, batteries-included (python & libraries & model) distribution of kaldi-active-grammar + dragonfly2. Just unzip and run!kaldi-caster-winpython-dev
: [more recent development version] A self-contained, portable, batteries-included (python & libraries & model) distribution of kaldi-active-grammar + dragonfly2 + caster. Just unzip and run!If you have trouble downloading, try using wget --continue
.
This should be included the next dragonfly version.
You can subscribe to announcements on Gitter: see instructions.
KaldiAgfNNet3Decoder
, PlainDictationRecognizer
(without HCLG.fst
).PlainDictationRecognizer.decode_utterance
can take chunk_size
parameter.kaldi-dragonfly-winpython
: [stable release version] A self-contained, portable, batteries-included (python & libraries & model) distribution of kaldi-active-grammar + dragonfly2. Just unzip and run!kaldi-caster-winpython-dev
: [more recent development version] A self-contained, portable, batteries-included (python & libraries & model) distribution of kaldi-active-grammar + dragonfly2 + caster. Just unzip and run!If you have trouble downloading, try using wget --continue
.
You can subscribe to announcements on Gitter: see instructions.
confidence
: basically the difference in how much "better" the returned recognition was, compared to the second best guess (>0
)expected_error_rate
: an estimate of how often similar utterances are incorrect (roughly out of 1.0
, but can be greater)kaldi-dragonfly-winpython
: [stable release version] A self-contained, portable, batteries-included (python & libraries & model) distribution of kaldi-active-grammar + dragonfly2. Just unzip and run!kaldi-caster-winpython-dev
: [more recent development version] A self-contained, portable, batteries-included (python & libraries & model) distribution of kaldi-active-grammar + dragonfly2 + caster. Just unzip and run!If you have trouble downloading, try using wget --continue
.
Support is now included in dragonfly2 v0.22.0! You can try a self-contained distribution available below.
You can subscribe to announcements on Gitter: see instructions.
kaldi_model_daanzu*
: A better acoustic model, and varying levels of language model for dictation (bigger is generally better).kaldi_model_zamia
: A compatible general English Kaldi nnet3 chain model.kaldi-dragonfly-winpython
: [stable release version] A self-contained, portable, batteries-included (python & libraries & model) distribution of kaldi-active-grammar + dragonfly2. Just unzip and run!kaldi-caster-winpython-dev
: [more recent development version] A self-contained, portable, batteries-included (python & libraries & model) distribution of kaldi-active-grammar + dragonfly2 + caster. Just unzip and run!If you have trouble downloading, try using wget --continue
.
This should be included the next dragonfly version, or you can try a self-contained distribution available below.
You can subscribe to announcements on Gitter: see instructions.
user_lexicon.txt
file in the current working directory of your initial loader script, its contents will be automatically added to the user_lexicon.txt
in the active model when it is loaded.kaldi_model_daanzu*
: A better acoustic model, and varying levels of language model for dictation (bigger is generally better).kaldi_model_zamia
: A compatible general English Kaldi nnet3 chain model.kaldi-dragonfly-winpython
: [stable release version] A self-contained, portable, batteries-included (python & libraries & model) distribution of kaldi-active-grammar + dragonfly2. Just unzip and run!kaldi-dragonfly-winpython-dev
: [more recent development version] A self-contained, portable, batteries-included (python & libraries & model) distribution of kaldi-active-grammar + dragonfly2. Just unzip and run!kaldi-caster-winpython-dev
: [more recent development version] A self-contained, portable, batteries-included (python & libraries & model) distribution of kaldi-active-grammar + dragonfly2 + caster. Just unzip and run!If you have trouble downloading, try using wget --continue
.