class_docstr: This class defines the API to inspect models and should not be used to
  create objects. It will be returned by functions such as load_model or
  train.
  
  In general this API assumes to be given only unicode for Python2 and the
  Python3 equvalent called str for any string-like arguments. All unicode
  strings are then encoded as UTF-8 and fed to the fastText C++ API.
class_docstr_tok: ["This","class","defines","the","API","to","inspect","models","and","should","not","be","used","to","create","objects",".","It","will","be","returned","by","functions","such","as","load_model","or","train",".","In","general","this","API","assumes","to","be","given","only","unicode","for","Python2","and","the","Python3","equvalent","called","str","for","any","string-like","arguments",".","All","unicode","strings","are","then","encoded","as","UTF-8","and","fed","to","the","fastText","C++","API","."]
docstr: Given a label, get the label id within the dictionary.
  Returns -1 if label is not in the dictionary.
code: def get_label_id(self, label):
      """
      Given a label, get the label id within the dictionary.
      Returns -1 if label is not in the dictionary.
      """
      return self.f.getLabelId(label)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import fasttext_pybind
  import numpy
  import multiprocessing
  import sys
  from itertools import chain
label_desc: Use image node_id 10 for calling the _FastText obj's underlying member method code with example usage: obj.get_label_id(label) and returns: self