code: def prob(self, word: str) -> float:
          
          return self.__WORDS[word] / self.__WORDS_TOTAL
docs: Return probability of an input word, according to the spelling dictionary
  
          :param str word: A word to check its probability of occurrence