class_docstr: unigram/bigram LM, add-k smoothing
docstr: prob of seeing word w.
docstr_tok: ["prob","of","seeing","word","w","."]
code: def getUnigramProb(self, w):
      "prob of seeing word w."
      w = w.lower()
      val = self.unigrams.get(w)
      if val != None:
          return val
      return 0
  
file_path: calamari/calamari_ocr/thirdparty/ctcwordbeamsearch/LanguageModel.py
imports: from __future__ import division
  from __future__ import print_function
  import re
  from .PrefixTree import PrefixTree
label_desc: Use image node_id 8 for calling the LanguageModel obj's underlying member method code with example usage: obj.getUnigramProb(w) and returns: int, val