code: def get_id(self, word):
      if word not in self.__term2id:
          return OOV
      return self.__term2id[word]
  
file_path: PaddleHub/modules/text/language_model/slda_weibo/vocab.py
imports: from paddlehub.common.logger import logger
label_desc: Use image node_id 2 for calling the Vocab obj's underlying member method code with example usage: obj.get_id(word) and returns: self, OOV