Commit Graph

96 Commits

Author SHA1 Message Date
Alexandre Lissy
5e4d7dae99 GitHub Actions for macOS 2021-03-25 11:01:29 +01:00
Ideefixze
7cf257a2f5 Added hot-word boosting api example doc
Comments for API bindings
X-DeepSpeech: NOBUILD
2021-02-12 19:52:19 +01:00
dag7dev
3a2879933f initial commit for py39 support 2020-11-04 20:16:35 +01:00
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
da55cfae86 Revert "Merge pull request #3237 from lissyx/rename-training-package"
This reverts commit 3dcb3743ac, reversing
changes made to 457198c88d.
2020-08-26 11:46:08 +02:00
Reuben Morais
10e2fc16f2 Revert "Merge pull request #3243 from lissyx/rename-stt-master"
This reverts commit 3e99b0d8b2, reversing
changes made to 3a8c45cb61.
2020-08-26 11:45:06 +02:00
Reuben Morais
c62a604876 Revert "Merge pull request #3248 from lissyx/rtd-rename"
This reverts commit ce71910ab4, reversing
changes made to 7c6108a199.
2020-08-26 11:45:06 +02:00
Ptitloup
0c3aa6f472
Update client.py
remove space in key start_time of word dict
2020-08-20 09:19:53 +02:00
Alexandre Lissy
fffc6ad455 Update name of readthedocs 2020-08-13 22:50:57 +02:00
Alexandre Lissy
9bca7a9044 Rename DeepSpeech -> STT 2020-08-12 13:52:17 +02:00
Alexandre Lissy
6f84bd1996 Rename deepspeech_training package 2020-08-10 16:58:18 +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
Alexandre Lissy
bc086ec998 Build DeepSpeech using TensorFlow r2.2 2020-06-22 10:48:12 +02:00
Reuben Morais
06408b8ddd Flip direction of VERSION and GRAPH_VERSION links 2020-06-08 11:22:24 +02:00
Łukasz Wałejko
d8c3b71033 fix beam width setting in python client 2020-05-05 14:54:36 +02:00
Reuben Morais
48971413e5 Improve EnableExternalScorer error handling in Python and JS bindings 2020-05-03 15:39:31 +02:00
Reuben Morais
e0283f529a Add --candidate_transcripts flag to Python client 2020-04-30 10:09:09 +02:00
Reuben Morais
a584c8e6b6 Docs centered on ReadTheDocs instead of GitHub 2020-04-27 20:31:11 +02:00
Alexandre Lissy
d8d5e6f358 Fix #2885: Improve ds-swig integration 2020-04-08 18:48:12 +02:00
Alexandre Lissy
5e3c5e9131 Fix #2888: Use start-after / end-before for API example line references 2020-04-07 14:01:09 +02:00
lissyx
e1206f47d3
Merge pull request #2833 from alexcannan/master
Fixed sample rate logic in Python client
2020-03-30 23:45:59 +02:00
Alexandre Lissy
1598be8124 Add CTC decoder build on TaskCluster 2020-03-25 09:35:12 +01: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
Alex Cannan
4fd39175b3 Fixed sample rate logic in Python client 2020-03-19 14:37:59 -04:00
Reuben Morais
1547498e82 Const members in structs 2020-03-18 19:32:57 +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
ac26a785df Add a better __repr__ for Metadata objects in Python bindings 2020-02-18 12:19:10 +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
8dedda7759 Address review comments 2020-02-11 19:44:36 +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
Alexandre Lissy
66fe634cfe Fix word detection for time computation
Fixes #2623
2020-01-14 16:33:51 +01:00
Reuben Morais
c8a57b192c Use simple README pointing to GitHub for JS/Python packages 2019-12-06 17:33:00 +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
aayagar001
2057305df7
Fixed store_true in --json 2019-11-24 20:31:24 +05:30
aayagar001
c07e0a9208
Fixed PEP8 standard 2019-11-13 11:45:52 +05:30
aayagar001
7530543286
Added --json timestamp support in python client 2019-11-13 11:30:14 +05:30
aayagar001
5b74d9b1ce
client.py for supporting --json argument for timestamp info
Added function to convert metadata info into timestamp based json.
2019-11-13 11:10:52 +05:30
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
Alexandre Lissy
ef5ae5c0b4 Expose beam width, lm_alpha and lm_beta in CLI args 2019-10-14 15:07:59 +02:00
Reuben Morais
fcbebbe71a
Merge pull request #2425 from mozilla/expose-sample-rate-value
Expose sample rate value in API and use it in in-tree consumers
2019-10-11 09:39:31 +02:00