Commit Graph

572 Commits

Author SHA1 Message Date
Reuben Morais
9c401d15f8 WIP use static libraries from bazel instead of replicating build system 2020-07-03 11:34:42 +02:00
Alexandre Lissy
67004ca137 Enable TFLite delegations 2020-07-03 01:34:54 +02:00
Reuben Morais
2504360e95 Handle universal newlines in Alphabet file parsing 2020-06-30 09:52:45 +02:00
Reuben Morais
5039fb51d5 Package generate_scorer_package on Android 2020-06-30 09:52:45 +02:00
Reuben Morais
4a589dd897 Build/package/publish generate_scorer_package in CI 2020-06-30 09:52:45 +02:00
Reuben Morais
a84abf813c Deduplicate Alphabet implementations, use C++ one everywhere 2020-06-30 09:52:45 +02:00
Reuben Morais
f82c77392d Rewrite data/lm/generate_package.py into native_client/generate_scorer_package.cpp 2020-06-30 09:52:44 +02:00
Reuben Morais
03ca94887c Move DS_ErrorCodeToErrorMessage impl to its own object so it can be used without including all of libdeepspeech 2020-06-30 09:52:44 +02:00
Alexandre Lissy
80ee63fac6 Use TensorFlow as a submodule 2020-06-29 17:03:07 +02:00
Alexandre Lissy
eca69d1c84 Trusty -> Xenial 2020-06-22 10:48:12 +02:00
Alexandre Lissy
bc086ec998 Build DeepSpeech using TensorFlow r2.2 2020-06-22 10:48:12 +02:00
Alexandre Lissy
6c2cbbd725 Fix #3053: Check output stream when producing scorer 2020-06-16 23:28:01 +02:00
Reuben Morais
572963e7bd
Merge pull request #3043 from mozilla/version-not-symlink
Move VERSION and GRAPH_VERSION to training directory
2020-06-08 14:34:28 +02:00
Reuben Morais
daba4278ff Add explanation of SWIG ignore side effects 2020-06-08 13:58:32 +02:00
Reuben Morais
06408b8ddd Flip direction of VERSION and GRAPH_VERSION links 2020-06-08 11:22:24 +02:00
Reuben Morais
53192b68b8 Be more specific in %ignoring symbols since it applies to all imports 2020-06-08 11:20:22 +02:00
Alexandre Lissy
dc8dbbd398 Add NodeJS v14 2020-06-03 11:50:37 +02:00
Reuben Morais
d548222518 Return raw scores in confidence value 2020-05-27 16:48:57 +02:00
Reuben Morais
65bbc9ae34
Explicitly mention Bazel 0.24.1 since the TensorFlow documentation page skips 1.15 2020-05-27 09:24:01 +02:00
Reuben Morais
b12c7be710
Merge pull request #3012 from reuben/index-ts
Switch index.js to TypeScript
2020-05-25 19:57:02 +02:00
Reuben Morais
31ba2898a8
Merge pull request #3009 from mozilla/lm-docs-rtd
Add data/lm doc to RTD, and some general doc improvements and fixes
2020-05-25 16:18:57 +02:00
Reuben Morais
facdff8c70 Switch JavaScript index.js to TypeScript 2020-05-25 13:08:02 +02:00
Reuben Morais
fdd3b319a5 Exercise intermediateDecode and intermediateDecodeWithMetadata in streaming tests 2020-05-25 11:01:40 +02:00
Reuben Morais
1f30cf2717 Use Buffer type in TS definitions that take a Buffer 2020-05-25 11:01:15 +02:00
Reuben Morais
83320c1a10 Remove bogus Stream parameter in Stream.intermediateDecode TS definition 2020-05-25 11:00:58 +02:00
Greg Richardson
b8f9d036c2 Fix JS IntermediateDecodeWithMetadata binding 2020-05-24 21:38:56 -06:00
Reuben Morais
4356a2764b Add data/lm doc to RTD, and some general doc improvements and fixes 2020-05-24 15:35:10 +02:00
Reuben Morais
50b0b8c010 Propagate error code from load_lm in decoder binding 2020-05-20 12:05:35 +02:00
Reuben Morais
bfd90f1f9b Include error descriptions in documentation page 2020-05-18 17:41:53 +02:00
Reuben Morais
4db20b3cd6 Expose DS error codes in ds_ctcdecoder package 2020-05-18 17:30:48 +02:00
Reuben Morais
afb8c55b6e Basic coverage of DS_ErrorCodeToErrorMessage 2020-05-18 17:30:48 +02:00
Reuben Morais
d3d5398d6b Move error definition and description together 2020-05-18 17:30:48 +02:00
Reuben Morais
7ed900e333 Add better error information in Scorer initialization 2020-05-18 11:19:19 +02:00
Reuben Morais
a02eddec38 Add JS test for streaming + metadata 2020-05-06 12:04:17 +02:00
Reuben Morais
b0e0972b78 Fix reference to Stream.finishStreamWithMetadata 2020-05-06 12:03:50 +02:00
Reuben Morais
e6e3cc539b Mark aNumResults parameters in *withMetadata methods as optional 2020-05-06 12:03:14 +02:00
Matt McCartney
41d990e538 fix(js): declare FinishStreamWithMetadata result object
- as demanded by strict mode

close #2979
2020-05-05 14:32:07 -07:00
Łukasz Wałejko
d8c3b71033 fix beam width setting in python client 2020-05-05 14:54:36 +02:00
Reuben Morais
def8214454 Remove dts-gen docs from JavaScript package README
X-DeepSpeech: NOBUILD
2020-05-04 14:08:52 +02:00
Reuben Morais
48971413e5 Improve EnableExternalScorer error handling in Python and JS bindings 2020-05-03 15:39:31 +02:00
Reuben Morais
5deb8a2f7b Don't leave partially initialized scorer on failure 2020-05-03 15:39:07 +02:00
Reuben Morais
e0283f529a Add --candidate_transcripts flag to Python client 2020-04-30 10:09:09 +02:00
Reuben Morais
65b7c41746
Merge pull request #2957 from mozilla/nodejs-stream-wrapper
Return Stream wrapper in JS Model.createStream, add test coverage (Fixes #2956)
2020-04-29 15:18:20 +02:00
Reuben Morais
09b756aa0c
Merge pull request #2951 from mozilla/hack-mac-sox-static
Ugly, very ugly, incredibly ugly static linking of libsox on macOS
2020-04-29 14:16:39 +02:00
Reuben Morais
be1bd04b50 Add streaming mode to JS client 2020-04-29 13:43:40 +02:00
Reuben Morais
b0415af4b4 Return Stream wrapper in JS Model.createStream 2020-04-29 13:43:28 +02:00
Reuben Morais
4930186197
Merge pull request #2949 from mozilla/docs-rtd
Docs centered on ReadTheDocs instead of GitHub
2020-04-28 16:06:44 +02:00
Reuben Morais
ea7475d09c Ugly, very ugly, incredibly ugly static linking of libsox on macOS
All of the brew installed dependencies have static libraries as well, but the macOS linker will always prefer a dynamic library if both exist under the same `-L/foo -lbar` resolution. The only way to force static linking is to include a full path to the static library. These changes basically reverse engineer the static library locations and then pass those to the linker.
2020-04-28 14:13:53 +02:00
Reuben Morais
a584c8e6b6 Docs centered on ReadTheDocs instead of GitHub 2020-04-27 20:31:11 +02:00
Julien Schueller
1eed145aa1
Install deepspeech header 2020-04-26 09:19:03 +02:00