Commit Graph

36 Commits

Author SHA1 Message Date
Neil Stoker
2ca91039c8
Tiny fix to addHotWord doc string parameters
As the parameter for boost was actually written as "word" in the doc string, it was replacing the previous type for word with the type intended for boost and not showing any type for boost, thus messing up what displayed on https://deepspeech.readthedocs.io/en/master/Python-API.html
2020-10-11 17:46:20 +01:00
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
Reuben Morais
ae0cf8db6a Revert "Merge branch 'rename-real'"
This reverts commit ae9fdb183e, reversing
changes made to 2eb75b6206.
2020-08-26 11:46:09 +02:00
Reuben Morais
ee1235678d Missing renames in CI scripts 2020-08-04 15:25:46 +02:00
Reuben Morais
5449f21a47 Python rename 2020-08-04 12:12:20 +02:00
Reuben Morais
fa21911048 Rename packages, modules, headers, shared libraries to Mozilla Voice STT 2020-08-03 18:22:32 +02:00
Reuben Morais
48971413e5 Improve EnableExternalScorer error handling in Python and JS bindings 2020-05-03 15:39:31 +02:00
Shubham Kumar
5d50d21da0
Exposing ErrorCode API in Tree bindings (#2806)
* Added API to Python bindings

* Added API to JavaScript bindings

* Added API to Java bindings

* Added API to .NET binding
2020-03-21 15:40:39 +01:00
Reuben Morais
e9ae38bf47 Update docs 2020-03-17 14:48:31 +01:00
Reuben Morais
6e88a37ad4 Adapt Python bindings to new API 2020-03-17 14:47:58 +01:00
Reuben Morais
f47c7f8421 Report error code as hexadecimal numbers for easier lookup 2020-02-19 14:11:01 +01:00
Reuben Morais
7001a17418 Expose version in a consumable way 2020-02-13 17:34:58 +01:00
Reuben Morais
3637f88c06 Fix CI errors, address comments, update examples 2020-02-12 10:13:02 +01:00
Reuben Morais
c512383aec Fix consumers of DS_CreateModel 2020-02-12 10:13:02 +01:00
Reuben Morais
1d3b3a31a1 Address review comments and update docs 2020-02-11 19:44:36 +01:00
Reuben Morais
1e2eb96248 Update all API consumers 2020-02-11 19:44:36 +01:00
Reuben Morais
13fdfee844 Remove outdated mention of DS_IntermediateDecode being expensive to call
X-DeepSpeech: NOBUILD
2019-12-05 15:44:06 +01:00
Reuben Morais
3fdc7d422d Remove alphabet param usage 2019-11-05 09:02:42 +01:00
Alexandre Lissy
f80dbcda75 Build Python 3.8 wheels
Fixes #2461
2019-10-25 12:28:27 +02:00
Reuben Morais
afea2b4231 Expose and use model sample rate in Python 2019-10-10 21:50:15 +02:00
Reuben Morais
2b68c56025 Sync all the docs with sample rate changes
X-DeepSpeech: NOBUILD
2019-10-10 17:15:58 +02:00
Reuben Morais
97bab38a7e Remove sample rate parameter usage from Python binding 2019-10-10 15:44:11 +02:00
Alexandre Lissy
2b7ab99478 Fix pylint 2019-09-24 18:22:45 +02:00
Alexandre Lissy
bf7cc1df54 Sphinx doc 2019-09-24 18:22:45 +02:00
Reuben Morais
b95ebea9ba Fix linter error 2019-09-09 13:47:26 +02:00
Reuben Morais
249fdadc32 Update Python bindings and client 2019-09-09 12:03:14 +02:00
Alexandre Lissy
81b3b159c4 Remove ununsed prealloc frames
Fixes #2298
2019-08-20 18:38:46 +02:00
Alexandre Lissy
c3c3a3fb81 Expose extended metadata information to bindings
Fixes #2006
2019-04-24 20:12:39 +02:00
Alexandre Lissy
6dbf65cce8 Produce Windows Python bindings
Fixes #1937
2019-04-08 14:38:43 +02:00
Reuben Morais
51f80744c6 Remove DS_AudioToInputVector and dep on c_speech_features 2019-04-02 18:31:32 -03:00
Reuben Morais
51cac1031b Address review comments 2018-08-03 14:46:05 -03:00
Reuben Morais
8f810ee001 Add intermediateDecode method to the API 2018-08-02 13:22:24 -03:00
Reuben Morais
ae9c62cae9 Convert native API to C instead of C++ 2018-08-02 13:22:24 -03:00
Reuben Morais
400c9c0e5d Streaming inference 2018-08-02 13:22:24 -03:00
Chris Lord
d829eb4436 Split audioToInputVector into a separate library
Split out functions that don't depend on TensorFlow into a separate
library to avoid opening the TensorFlow library if it's not necessary.
2017-06-27 10:16:54 +01:00
Chris Lord
10068fc40e Add libdeepspeech python bindings 2017-05-02 10:41:59 +01:00