Skip to content

Releases: daanzu/kaldi-active-grammar

v1.2.0: Improved Recognition, Weights on Any Elements, Pluggable Alternative Dictation, Stand-alone Plain Dictation Interface, and More

21 Dec 11:16
Compare
Choose a tag to compare

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 MappingRules), in addition to any rule/grammar.
  • Pluggable Alternative Dictation: you can optionally pass a callable as alternative_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.

Donate Donate Donate Donate
[GitHub is currently matching all my donations $-for-$.]

v1.0.0: Faster Loading, Python3, Grammar/Rule Weights, and more

29 Sep 12:10
Compare
Choose a tag to compare

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.

Donate Donate Donate Donate
[GitHub is currently matching all my donations $-for-$.]

v0.7.1: Partial Decoding, Parallel Compilation, & Various Optimizations for 15-50% Speedup

25 Aug 13:59
Compare
Choose a tag to compare

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.

Donate
Donate

v0.6.0: Big Fixes And Optimizations To Get Caster Running

03 Aug 11:38
Compare
Choose a tag to compare

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.

Donate
Donate

v0.5.0: User Lexicon! Compilation Optimizations! Better Model!

14 Jul 14:17
Compare
Choose a tag to compare

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.

Donate
Donate

v0.4.0: Rule reloading (for ListRefs)

17 Jun 13:56
Compare
Choose a tag to compare

Donations are appreciated to encourage development.

Donate

New model below!

v0.3.0: Rule unloading, preliminary cloud dictation

12 Jun 09:13
Compare
Choose a tag to compare

Donations are appreciated to encourage development.

Donate

v0.2.2: Add Linux Support

18 May 09:51
Compare
Choose a tag to compare

Donations are appreciated to encourage development.

Donate

Initial release

06 May 10:11
Compare
Choose a tag to compare
v0.1.0-dev3

cleanup