Releases: daanzu/kaldi-active-grammar
Releases · daanzu/kaldi-active-grammar
v1.2.0: Improved Recognition, Weights on Any Elements, Pluggable Alternative Dictation, Stand-alone Plain Dictation Interface, and More
Support is now included in dragonfly2 v0.20.0! You can try a self-contained distribution available below, of either stable or development versions.
Notes
- Improved Recognition: better graph construction/compilation should give significantly better overall recognition.
- Weights on Any Elements: you can now easily add weights to any element (including compound elements in
MappingRule
s), in addition to any rule/grammar. - Pluggable Alternative Dictation: you can optionally pass a
callable
asalternative_dictation
to define your own, external dictation engine. - Stand-alone Plain Dictation Interface: the library now provides a simple interface for recognizing plain dictation without fancy active grammar features.
- NOTE: the default model directory is now
kaldi_model
. - Various bug fixes & optimizations
Artifacts
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
.
Donations are appreciated to encourage development.
v1.0.0: Faster Loading, Python3, Grammar/Rule Weights, and more
Support is now included in dragonfly2 v0.18.0! You can try a self-contained distribution available below, of either stable or development versions.
Notes
- Direct Parsing: parse recognitions directly on the FST, removing the (slow)
pyparsing
dependency.- Caster example: Loading is now ~50% faster when cached, and the Kaldi backend accounts for only ~15% of loading time.
- Python3: both python 2 and 3 should be fully supported now.
- Unicode: this should also fix unicode issues in various places in both python2/3.
- Grammar/Rule Weights: can specify weight, where grammars/rules with higher weight value are more likely to be recognized, compared to their peers, for an ambiguous recognition.
- Generalized Alternative Dictation: the cloud dictation feature has been generalized to make it easier to add other alternatives in the future.
- Various bug fixes & optimizations
Artifacts
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
.
Donations are appreciated to encourage development.
v0.7.1: Partial Decoding, Parallel Compilation, & Various Optimizations for 15-50% Speedup
Support is now included in dragonfly2 v0.17.0! You can try a self-contained distribution available below, of either stable or development versions.
Notes
- Partial Decoding: support for having separate Voice Activity Detection timeout values based on whether the current utterance is complex (dictation) or not.
- Parallel Compilation: when compiling grammars/rules that are not cached, multiple can be compiled at once (up to your core count).
- Example: loading Caster without cache is ~40% faster (in addition to optimizations below).
- Various Optimizations: loading even while cached sped up 15%.
- Refactored temporary/cache file handling
- Various bug fixes
Artifacts
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
.
Donations are appreciated to encourage development.
v0.6.0: Big Fixes And Optimizations To Get Caster Running
Artifacts
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
.
Donations are appreciated to encourage development.
v0.5.0: User Lexicon! Compilation Optimizations! Better Model!
Notes
- User Lexicon: you can add new words/pronunciations to the model's lexicon to be recognized & used in grammars, and the pronunciations can be either specified explicitly or inferred automatically.
- Compilation Optimizations: compilation while loading grammars uses the disk much less, and far fewer passes are made over the graphs, as separate modules have been customized & combined.
- Better Model: 50% more training data.
Artifacts
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!
Donations are appreciated to encourage development.
v0.4.0: Rule reloading (for ListRefs)
v0.3.0: Rule unloading, preliminary cloud dictation
v0.2.2: Add Linux Support
Initial release
v0.1.0-dev3 cleanup