class_docstr: Class holding a DeepSpeech model
  
  :param aModelPath: Path to model file to load
  :type aModelPath: str
docstr: Add a word and its boost for decoding.
  
  Words that don't occur in the scorer (e.g. proper nouns) or strings that contain spaces won't be taken into account.
  
  :param word: the hot-word
  :type word: str
  
  :param boost: Positive boost value increases and negative reduces chance of a word occuring in a transcription. Excessive positive boost might lead to splitting up of letters of the word following the hot-word.
  :type boost: float
  
  :throws: RuntimeError on error
docstr_tok: ["Add","a","word","and","its","boost","for","decoding",".","Words","that","do","n't","occur","in","the","scorer","(","e.g",".","proper","nouns",")","or","strings","that","contain","spaces","wo","n't","be","taken","into","account",".",":","param","word",":","the","hot-word",":","type","word",":","str",":","param","boost",":","Positive","boost","value","increases","and","negative","reduces","chance","of","a","word","occuring","in","a","transcription",".","Excessive","positive","boost","might","lead","to","splitting","up","of","letters","of","the","word","following","the","hot-word",".",":","type","boost",":","float",":","throws",":","RuntimeError","on","error"]
code: def addHotWord(self, word, boost):
      """
      Add a word and its boost for decoding.
  
      Words that don't occur in the scorer (e.g. proper nouns) or strings that contain spaces won't be taken into account.
  
      :param word: the hot-word
      :type word: str
  
      :param boost: Positive boost value increases and negative reduces chance of a word occuring in a transcription. Excessive positive boost might lead to splitting up of letters of the word following the hot-word.
      :type boost: float
  
      :throws: RuntimeError on error
      """
      status = deepspeech.impl.AddHotWord(self._impl, word, boost)
      if status != 0:
          raise RuntimeError(
              "AddHotWord failed with '{}' (0x{:X})".format(
                  deepspeech.impl.ErrorCodeToErrorMessage(status),
                  status,
              )
          )
  
imports: import os
  import platform
  import deepspeech
  from deepspeech.impl import Version
label_desc: Use image node_id 8 for calling the Model obj's underlying member method code with example usage: obj.addHotWord(word, boost) without return types