Commit Graph

59 Commits

Author SHA1 Message Date
dabinat
969b2ac4ba Changed variable names to match coding style 2020-03-17 14:47:58 +01:00
dabinat
32c969c184 Expose multiple transcriptions through the API 2020-03-17 14:47:58 +01:00
Reuben Morais
a97e961d16 Fix nits 2020-02-26 14:47:45 +01:00
Shubham Kumar
03196c875d used strdup for showing error 2020-02-26 18:17:50 +05:30
Shubham Kumar
c77d3d6f2d added documentation 2020-02-26 14:26:43 +05:30
Shubham Kumar
4fd747e540 added implementation of DS_ErrorCodeToErrorMessage 2020-02-26 13:30:05 +05:30
Reuben Morais
b74738a405 Make const functions receive const ModelState pointers 2020-02-25 11:15:45 +01:00
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