Python Kaldi speech recognition with grammars that can be set active/inactive dynamically at decode-time
AGPL-3.0 License
Bot releases are visible (Hide)
Published by daanzu almost 3 years ago
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.Published by daanzu over 3 years ago
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
.
Published by daanzu over 3 years ago
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
.
Published by daanzu about 4 years ago
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
.
Published by daanzu about 4 years ago
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
.
Published by daanzu over 4 years ago
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
.
Published by daanzu over 4 years ago
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
.
Published by daanzu over 4 years ago
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
.
Published by daanzu almost 5 years ago
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
.
Published by daanzu almost 5 years ago
Support is now included in dragonfly2 v0.20.0! You can try a self-contained distribution available below, of either stable or development versions.
MappingRule
s), in addition to any rule/grammar.callable
as alternative_dictation
to define your own, external dictation engine.kaldi_model
.kaldi_model_daanzu
: A better overall compatible general English Kaldi nnet3 chain model than below.kaldi_model_zamia_daanzu_mediumlm
: A compatible general English Kaldi nnet3 chain model, with a larger/better dictation language model than below.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
.
Published by daanzu about 5 years ago
Support is now included in dragonfly2 v0.18.0! You can try a self-contained distribution available below, of either stable or development versions.
pyparsing
dependency.
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
.
Published by daanzu about 5 years ago
Support is now included in dragonfly2 v0.17.0! You can try a self-contained distribution available below, of either stable or development versions.
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
.
Published by daanzu about 5 years ago
kaldi_model_zamia
: A compatible general English Kaldi nnet3 chain model.kaldi-dragonfly-winpython
: 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
.
Published by daanzu over 5 years ago
kaldi_model_zamia
: [new model version required!] A compatible general English Kaldi nnet3 chain model.kaldi-dragonfly-winpython
: 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!Published by daanzu over 5 years ago
Published by daanzu over 5 years ago
Published by daanzu over 5 years ago
Published by daanzu over 5 years ago