class_docstr: Wrapper for kenlm state.
  
  This is a wrapper for the kenlm state object. It is used to make sure that the
  state is not modified outside of the language model class.
  
  Taken from: https://github.com/kensho-technologies/pyctcdecode
  
  Arguments
  ---------
  state : kenlm.State
      Kenlm state object.
class_docstr_tok: ["Wrapper","for","kenlm","state",".","This","is","a","wrapper","for","the","kenlm","state","object",".","It","is","used","to","make","sure","that","the","state","is","not","modified","outside","of","the","language","model","class",".","Taken","from",":","https",":","\/\/github.com\/kensho-technologies\/pyctcdecode","Arguments","--","--","--","--","-","state",":","kenlm.State","Kenlm","state","object","."]
code: def __init__(self, state: "kenlm.State"):
      self._state = state
  
file_path: speechbrain/speechbrain/decoders/language_model.py
imports: import logging
  from typing import Collection, Optional, Set, Tuple, cast
  from pygtrie import CharTrie
  import math
label_desc: Use image node_id 1 to create a new KenlmState object  with example: obj = KenlmState(state)