From 2ca91039c88a71b65f7c6b2c3d8b62d160d63b63 Mon Sep 17 00:00:00 2001 From: Neil Stoker Date: Sun, 11 Oct 2020 17:46:20 +0100 Subject: [PATCH] Tiny fix to addHotWord doc string parameters As the parameter for boost was actually written as "word" in the doc string, it was replacing the previous type for word with the type intended for boost and not showing any type for boost, thus messing up what displayed on https://deepspeech.readthedocs.io/en/master/Python-API.html --- native_client/python/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/native_client/python/__init__.py b/native_client/python/__init__.py index 4b55da5a..59138530 100644 --- a/native_client/python/__init__.py +++ b/native_client/python/__init__.py @@ -102,8 +102,8 @@ class Model(object): :param word: the hot-word :type word: str - :param word: the boost - :type word: float + :param boost: the boost + :type boost: float :throws: RuntimeError on error """