DeepSpeech/native_client/ctcdecode
Josh Meyer 1eb155ed93
enable hot-word boosting (#3297)
* enable hot-word boosting

* more consistent ordering of CLI arguments

* progress on review

* use map instead of set for hot-words, move string logic to client.cc

* typo bug

* pointer things?

* use map for hotwords, better string splitting

* add the boost, not multiply

* cleaning up

* cleaning whitespace

* remove <set> inclusion

* change typo set-->map

* rename boost_coefficient to boost

X-DeepSpeech: NOBUILD

* add hot_words to python bindings

* missing hot_words

* include map in swigwrapper.i

* add Map template to swigwrapper.i

* emacs intermediate file

* map things

* map-->unordered_map

* typu

* typu

* use dict() not None

* error out if hot_words without scorer

* two new functions: remove hot-word and clear all hot-words

* starting to work on better error messages

X-DeepSpeech: NOBUILD

* better error handling + .Net ERR codes

* allow for negative boosts:)

* adding TC test for hot-words

* add hot-words to python client, make TC test hot-words everywhere

* only run TC tests for C++ and Python

* fully expose API in python bindings

* expose API in Java (thanks spectie!)

* expose API in dotnet (thanks spectie!)

* expose API in javascript (thanks spectie!)

* java lol

* typo in javascript

* commenting

* java error codes from swig

* java docs from SWIG

* java and dotnet issues

* add hotword test to android tests

* dotnet fixes from carlos

* add DS_BINARY_PREFIX to tc-asserts.sh for hotwords command

* make sure lm is on android for hotword test

* path to android model + nit

* path

* path
2020-09-24 14:58:41 -04:00
..
third_party PR #3279 - Added README.mozilla to tell where the object pool code is from and updated the object pool code from this origin (minor update). 2020-09-17 17:55:45 +02:00
__init__.py enable hot-word boosting (#3297) 2020-09-24 14:58:41 -04:00
build_archive.py PR #3279 - use an object pool to store timesteps tree nodes 2020-09-08 14:12:39 +02:00
COPYING Add Python/NumPy bindings to ctcdecode 2018-11-03 07:48:02 -03:00
ctc_beam_search_decoder.cpp enable hot-word boosting (#3297) 2020-09-24 14:58:41 -04:00
ctc_beam_search_decoder.h enable hot-word boosting (#3297) 2020-09-24 14:58:41 -04:00
decoder_utils.cpp Deduplicate Alphabet implementations, use C++ one everywhere 2020-06-30 09:52:45 +02:00
decoder_utils.h Deduplicate Alphabet implementations, use C++ one everywhere 2020-06-30 09:52:45 +02:00
LICENSE.paddlepaddle Add Python/NumPy bindings to ctcdecode 2018-11-03 07:48:02 -03:00
LICENSE.parlance Add Python/NumPy bindings to ctcdecode 2018-11-03 07:48:02 -03:00
Makefile Revert "Merge pull request #3241 from lissyx/rename-ctcdecoder" 2020-08-26 11:45:06 +02:00
numpy.i Add Python/NumPy bindings to ctcdecode 2018-11-03 07:48:02 -03:00
output.h Deduplicate Alphabet implementations, use C++ one everywhere 2020-06-30 09:52:45 +02:00
path_trie.cpp PR #3279 - Fixed spaces 2020-09-14 14:40:56 +02:00
path_trie.h PR #3279 - Added README.mozilla to tell where the object pool code is from and updated the object pool code from this origin (minor update). 2020-09-17 17:55:45 +02:00
scorer.cpp Merge pull request #3279 from godefv/decoder_timesteps 2020-09-17 20:31:05 +02:00
scorer.h Revert "Merge branch 'rename-real'" 2020-08-26 11:46:09 +02:00
setup.cfg Add Python/NumPy bindings to ctcdecode 2018-11-03 07:48:02 -03:00
setup.py Revert "Merge pull request #3237 from lissyx/rename-training-package" 2020-08-26 11:46:08 +02:00
swigwrapper.i enable hot-word boosting (#3297) 2020-09-24 14:58:41 -04:00