From 20c4ced80b85e31cd8634f342649892f326bb0b5 Mon Sep 17 00:00:00 2001 From: Alexandre Lissy Date: Thu, 14 Nov 2019 09:53:07 +0100 Subject: [PATCH 1/5] Update C example line numbers --- doc/C-Examples.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/C-Examples.rst b/doc/C-Examples.rst index 4bac45fe..44ab46ac 100644 --- a/doc/C-Examples.rst +++ b/doc/C-Examples.rst @@ -7,7 +7,7 @@ Creating a model instance and loading model .. literalinclude:: ../native_client/client.cc :language: c :linenos: - :lines: 369-395 + :lines: 370-388 Performing inference -------------------- @@ -15,7 +15,7 @@ Performing inference .. literalinclude:: ../native_client/client.cc :language: c :linenos: - :lines: 55-106 + :lines: 59-94 Full source code ---------------- From 849ed712e102831952a37ac97319b3f0994a35d8 Mon Sep 17 00:00:00 2001 From: Alexandre Lissy Date: Thu, 14 Nov 2019 10:53:25 +0100 Subject: [PATCH 2/5] Update Java example line numbers --- doc/Java-Examples.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/Java-Examples.rst b/doc/Java-Examples.rst index 6e41bd61..48a77035 100644 --- a/doc/Java-Examples.rst +++ b/doc/Java-Examples.rst @@ -7,7 +7,7 @@ Creating a model instance and loading model .. literalinclude:: ../native_client/java/app/src/main/java/org/mozilla/deepspeech/DeepSpeechActivity.java :language: java :linenos: - :lines: 55 + :lines: 54 Performing inference -------------------- @@ -15,7 +15,7 @@ Performing inference .. literalinclude:: ../native_client/java/app/src/main/java/org/mozilla/deepspeech/DeepSpeechActivity.java :language: java :linenos: - :lines: 103 + :lines: 102 Full source code ---------------- From b1d1ef6450a6f80c75b72af88d1099c5f4bb1721 Mon Sep 17 00:00:00 2001 From: Alexandre Lissy Date: Thu, 14 Nov 2019 10:55:06 +0100 Subject: [PATCH 3/5] Update JavaScript example line numbers --- doc/NodeJS-Examples.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/NodeJS-Examples.rst b/doc/NodeJS-Examples.rst index 23b4dab1..4e8a73b3 100644 --- a/doc/NodeJS-Examples.rst +++ b/doc/NodeJS-Examples.rst @@ -7,7 +7,7 @@ Creating a model instance and loading model .. literalinclude:: ../native_client/javascript/client.js :language: javascript :linenos: - :lines: 102-112 + :lines: 57-66 Performing inference -------------------- @@ -15,7 +15,7 @@ Performing inference .. literalinclude:: ../native_client/javascript/client.js :language: javascript :linenos: - :lines: 120-124 + :lines: 115-117 Full source code ---------------- From 0ad6c10e8c3a5cc4c77dbd7ee81e4f98250a3eed Mon Sep 17 00:00:00 2001 From: Alexandre Lissy Date: Thu, 14 Nov 2019 11:13:42 +0100 Subject: [PATCH 4/5] Update Python example line numbers --- doc/Python-Examples.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/Python-Examples.rst b/doc/Python-Examples.rst index 30c8cf27..2cca86a0 100644 --- a/doc/Python-Examples.rst +++ b/doc/Python-Examples.rst @@ -7,7 +7,7 @@ Creating a model instance and loading model .. literalinclude:: ../native_client/python/client.py :language: python :linenos: - :lines: 80, 87 + :lines: 69, 78 Performing inference -------------------- @@ -15,7 +15,7 @@ Performing inference .. literalinclude:: ../native_client/python/client.py :language: python :linenos: - :lines: 104-107 + :lines: 95-98 Full source code ----------------