Commit Graph

52 Commits

Author SHA1 Message Date
Reuben Morais
7001a17418 Expose version in a consumable way 2020-02-13 17:34:58 +01:00
Reuben Morais
8e9b6ef7b3 Embed default beam width into exported graph and remove param from DS_CreateModel 2020-02-11 21:23:05 +01:00
Reuben Morais
1e2eb96248 Update all API consumers 2020-02-11 19:44:36 +01:00
Reuben Morais
ab08f5ee5a Change decoder API 2020-02-11 19:44:26 +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
8c82081779 Embed alphabet directly in model 2019-11-05 09:02:21 +01:00
Reuben Morais
0241f725cd Expose model sample rate in API 2019-10-10 21:45:33 +02:00
Reuben Morais
2f4116695f Remove unused sample rate param from API 2019-10-10 14:34:00 +02:00
Alexandre Lissy
bf7cc1df54 Sphinx doc 2019-09-24 18:22:45 +02:00
Alexandre Lissy
458692692e Fix header preprocessor alignment 2019-09-24 10:55:26 +02:00
Reuben Morais
d0e11c73cd Address review comments 2019-09-18 15:09:11 +02:00
Reuben Morais
0ac498bc50 Rename metadata probability field to confidence 2019-09-11 11:09:44 +02:00
Reuben Morais
c402b971d6 Remove unused params and make function names more consistent 2019-09-09 11:35:44 +02:00
Reuben Morais
289e346a66
Merge pull request #2324 from bjornbytes/c-compat
Make deepspeech.h compilable as C
2019-08-28 10:38:15 +02:00
bjorn
f7fc74c078 rm trailing whitespace; 2019-08-27 15:38:39 -07:00
bjorn
73b2bbe8da Use struct typedefs for C compatibility; 2019-08-27 15:34:03 -07:00
bjorn
5d24f19115 Only use extern C when compiling as C++; 2019-08-27 15:25:30 -07:00
Alexandre Lissy
81b3b159c4 Remove ununsed prealloc frames
Fixes #2298
2019-08-20 18:38:46 +02:00
Reuben Morais
6f953837fa Refactor TF and TFLite model implementations into their own classes/files 2019-06-18 19:38:59 -03:00
Alexandre Lissy
5e7ee43174 Exported symbols should not be C++ mangled 2019-05-10 17:30:59 +02:00
Reuben Morais
0b4b806cbf
Merge pull request #2011 from mozilla/free-strings
Provide an API function to free strings returned by API (Fixes #1979)
2019-04-08 19:25:34 -03:00
Reuben Morais
4b9f3fbe7d Provide an API function to free strings returned by API 2019-04-05 21:37:34 -03:00
Reuben Morais
a72b69020d Add probability to Metadata struct and fix memory management of metadata 2019-04-05 21:37:24 -03:00
Reuben Morais
a7cda8e761 Add version info to exported graphs 2019-04-02 21:06:03 -03:00
Reuben Morais
51f80744c6 Remove DS_AudioToInputVector and dep on c_speech_features 2019-04-02 18:31:32 -03:00
dabinat
26af3b292d API - Minor cleanup 2019-03-22 10:08:13 -07:00
dabinat
192e17f2d5 Expose letter timings on the API 2019-03-21 18:07:24 -07:00
Alexandre Lissy
f7a82c9608 Add --define=runtime=tflite config_setting
Fixes #1879
2019-02-14 19:48:49 +01:00
Alexandre Lissy
6323a1428f Proper DeepSpeech error codes
Fixes #1782
2019-01-22 19:05:43 +01:00
Reuben Morais
366a82d7e7 Update decoder parameter names in native client 2019-01-15 09:32:31 -02:00
Carlos Fonseca Murillo
fe2963158d
Merge branch 'master' into master 2018-12-15 17:45:59 +00:00
Carlos Fonseca M
714673ed30 Export client definitions .NET 2018-12-14 18:57:44 -06:00
Alexandre Lissy
49ccf7f33b Enable TFLite on Android 2018-12-13 13:24:02 +01:00
Reuben Morais
6f27928841 Free StreamingState pointer with delete instead of new, expose cheap state deallocation API 2018-08-10 12:32:32 -03:00
est31
f1f9e35e31 Fix typo 2018-08-09 13:26:02 +02:00
Reuben Morais
51cac1031b Address review comments 2018-08-03 14:46:05 -03:00
Reuben Morais
385bc7a65f Remove word count bonus in favor of length normalization 2018-08-02 13:22:24 -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
Alexandre Lissy
6c4d4f1e68 Expose versions numbers on stderr
Fixes #1292
2018-03-16 09:46:31 +01:00
Alexandre Lissy
ade66b015d Build TensorFlow as monolithic into libdeepspeech.so
Also limit the set of included Ops to avoid wasting size.
2018-01-31 16:53:57 +01:00
Alexandre Lissy
db09ab7d19 Preliminary support for libdeepspeech_model.so 2017-11-03 17:25:25 +01:00
Reuben Morais
d8b059c623 Make the new decoder optional 2017-10-08 23:32:11 -03:00
Reuben Morais
02a75041ae Use the decoder with LM in the native clients 2017-09-29 17:42:07 -03:00
Reuben Morais
1c4cbf1813 Support custom alphabet mappings (Fixes #692) (#797)
Support custom alphabet mappings
2017-08-31 11:51:15 +02: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
616d77ef2d Various renames in libdeepspeech to allow for clearer more efficient use
libdeepspeech now uses the namespace DeepSpeech. The 'DeepSpeech' class
has been renamed to 'Model', 'getMfccFrames' has been renamed to
'getInputVector' and a function outside of the Model class has been added,
'audioToInputVector' to allow it to be used without initialising
TensorFlow and loading a model.
2017-05-17 10:52:14 +01:00
Chris Lord
10068fc40e Add libdeepspeech python bindings 2017-05-02 10:41:59 +01:00
Chris Lord
c9cd4ff6f6 Convert libdeepspeech into a proper C++ library to ease use/bindings
Formerly, libdeepspeech was basically a C library. Rather than returning
a context struct and having every function require this context struct,
instead provide a DeepSpeech class that handles its own destruction.
2017-04-25 18:43:26 +01:00