Commit Graph

320 Commits

Author SHA1 Message Date
Reuben Morais
d50c0397c7 Use bazel workspace status to generate versions 2019-06-25 18:03:52 -03:00
Alexandre Lissy
fd156a63f6 Handle git submodules for getting DeepSpeech / TensorFlow versions
Fixes #2209
2019-06-25 15:01:12 +02:00
Reuben Morais
67d6b5f8ca
Merge pull request #2190 from mozilla/update-prodmodel-0.6.0-alpha.0
Update prod tests to point to re-exported 0.5 model
2019-06-24 21:53:11 +00:00
Francis Tyers
6e53fd8fe0
typo
X-DeepSpeech: NOBUILD
2019-06-22 22:18:25 +01:00
Francis Tyers
bc4d266cb2
Update CODINGSTYLE.md 2019-06-22 21:41:48 +01:00
Francis Tyers
11d688fe1a
Create CODINGSTYLE.md
Make a file for keeping track of coding guidelines.
2019-06-22 21:39:55 +01:00
Reuben Morais
31afc6811f Switch to ConstFst from VectorFst and mmap trie file when reading 2019-06-21 22:21:19 -03:00
Reuben Morais
ceb9de9fad Fix concurrent_streams.py on Python 2.7 2019-06-20 21:53:39 -03:00
Reuben Morais
a2306cf822
Merge pull request #2146 from mozilla/refactor-model-impls
Refactor TF and TFLite implementations into their own classes/files and fix concurrent/interleaved stream bugs by tracking LSTM state in StreamingState
2019-06-20 17:03:33 -03:00
Reuben Morais
95a54bfdb8 Modify copies rather than live prefix scores in decoder_decode 2019-06-19 19:39:57 -03:00
Reuben Morais
d5d55958da Clean up formatting in ctc_beam_saerch_decoder.cpp 2019-06-19 19:39:57 -03:00
Reuben Morais
f12ea5e958 Add a test for interleaved/concurrent streams with a single model instance 2019-06-18 19:38:59 -03:00
Reuben Morais
ea1422d47b Document vector/tensor copy functions 2019-06-18 19:38:59 -03:00
Reuben Morais
e51b9d987d Remove previous state model variable, track by hand in StreamingState instead 2019-06-18 19:38:59 -03:00
Reuben Morais
6e78bac799 Address review comments 2019-06-18 19:38:59 -03:00
Reuben Morais
6f953837fa Refactor TF and TFLite model implementations into their own classes/files 2019-06-18 19:38:59 -03:00
Li Li
2604da4bc2 native_client: option to run streaming mode
Signed-off-by: Li Li <eggonlea@msn.com>
2019-06-18 10:44:52 -07:00
Reuben Morais
6f8c902f25
Merge pull request #2165 from mozilla/keep-stream-absolute-timestep
Keep absolute per-stream time step in DecoderState (Fixes #2163)
2019-06-11 11:23:04 -03:00
Reuben Morais
3ceb05e8b9 Keep absolute per-stream time step in DecoderState 2019-06-11 07:58:16 -03:00
Reuben Morais
d9c2bec35d Move decoder state to StreamingState and fix leak when creating multiple streams per model 2019-06-10 12:21:09 -03:00
Reuben Morais
494b573c80 Address review comments 2019-06-04 11:58:38 -03:00
Reuben Morais
1c87bf781a Avoid sorting prefix array twice 2019-06-01 15:06:56 -03:00
Reuben Morais
a46288e1c8 Only create Output structure for beams that are returned in the API 2019-06-01 15:02:41 -03:00
Reuben Morais
be0da45878 Use separate execution plans for acoustic model and feature computation invoke calls 2019-05-30 17:39:42 -03:00
Carlos Fonseca Murillo
73511e48b2 Match native error codes for .NET 2019-05-29 08:08:35 +00:00
Reuben Morais
f14460ffb8
Specify minimum SWIG version 2019-05-28 13:09:43 +00:00
Carlos Fonseca Murillo
2bf4b4385f Change wrong BEAM_WIDTH 2019-05-26 02:12:56 +00:00
Alexandre Lissy
c95397c7ce Move init of previous_state_{c,h}
Fixes #2125
2019-05-22 18:29:24 +02:00
dabinat
d9a269412e CTC beam search streaming decoder (+6 squashed commits)
Squashed commits:
[2941b47] Fixed nits
[700572e] Restored old CTC decoder API
[5aaf75d] Fixed nits
[969d71a] Added a destructor for DecoderState
[af0be6e] Removed accumulated_logits
[9dcb7b4] CTC beam search streaming decoder
2019-05-21 20:54:19 -07:00
Alexandre Lissy
5e7ee43174 Exported symbols should not be C++ mangled 2019-05-10 17:30:59 +02:00
Alexandre Lissy
f7f6a1480f Add NodeJS v12 support
Fixes #2070
2019-04-25 15:43:16 +02:00
Reuben Morais
41e6daaff2 Expose deallocation functions in NodeJS binding 2019-04-25 08:49:25 -03:00
Reuben Morais
f397006436 Make Metadata.items more idiomatic in Python bindings 2019-04-24 21:35:10 -03:00
Alexandre Lissy
a9717e702a Fix python linter 2019-04-24 20:12:40 +02:00
Alexandre Lissy
c3c3a3fb81 Expose extended metadata information to bindings
Fixes #2006
2019-04-24 20:12:39 +02:00
dabinat
fa09736d9b Simplified string formatting 2019-04-17 13:46:05 -07:00
dabinat
8ad7e8e6d5 Changed CSV output to JSON 2019-04-16 15:25:01 -07:00
lissyx
718fd437ec
Merge pull request #2044 from dabinat/word-timings
Fix spaces being appended to word
2019-04-12 08:48:28 +02:00
dabinat
ec50fb9839 Fixed an issue where spaces may be appended to word 2019-04-11 12:52:10 -07:00
Reuben Morais
2645da0290
Merge pull request #2042 from mozilla/move-dotnet
Move .NET bindings to native_client folder
2019-04-11 18:30:43 +00:00
Josh Meyer
6fcad513e8
Native Client README split (#2002)
Re-factioning the `native_client` README. 

This PR removes redundancies between the master README and the `native_client` README, keeping only instructions for building in the `native_client` README. 

All installation instructions for built binaries / language bindings remain in the master README.
2019-04-11 20:27:59 +02:00
Reuben Morais
97941db3d8 Move .NET bindings to native_client folder 2019-04-11 13:09:45 -03:00
Alexandre Lissy
7bd1619120 Build for ElectronJS
Fixes #2032
2019-04-11 08:32:10 +02:00
Alexandre Lissy
5a6e32de5c Enable 'use strict' and remove 'node-pre-gyp install'
Fixes #2034
2019-04-10 22:03:51 +02:00
Michele Di Giorgio
aa27c61d01 Use std::map to fix compilation issue with clang
When building with clang the following compilation error is thrown:

symbol-table.h:199:3: error: no template named 'map'
    map<int64, int64> key_map_;
    ^

This patch solves that issue by explicitly specifying the std namespace.
2019-04-09 11:37:59 +01:00
Reuben Morais
1c52008572
Fix typo in warning name 2019-04-08 22:29:30 +00: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
5054731751 Use DS_FreeStrings in JNI bindings 2019-04-08 09:38:47 -03:00
Alexandre Lissy
6dbf65cce8 Produce Windows Python bindings
Fixes #1937
2019-04-08 14:38:43 +02:00
Reuben Morais
4b9f3fbe7d Provide an API function to free strings returned by API 2019-04-05 21:37:34 -03:00