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
This commit is contained in:
Neil Stoker 2020-10-11 17:46:20 +01:00 committed by GitHub
parent 7ca237d19b
commit 2ca91039c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
"""