class_docstr: TextSet wraps a set of texts with status.
docstr: Get the word_index dictionary of the TextSet.
  If the TextSet hasn't been transformed from word to index, None will be returned.
  
  :return: Dictionary {word: id}
docstr_tok: ["Get","the","word_index","dictionary","of","the","TextSet",".","If","the","TextSet","has","n't","been","transformed","from","word","to","index",",","None","will","be","returned",".",":","return",":","Dictionary","{","word",":","id","}"]
code: def get_word_index(self):
      """
      Get the word_index dictionary of the TextSet.
      If the TextSet hasn't been transformed from word to index, None will be returned.
  
      :return: Dictionary {word: id}
      """
      return callZooFunc(
          self.bigdl_type, "textSetGetWordIndex", self.value
      )
  
imports: import six
  from bigdl.dllib.utils.common import JavaValue
  from bigdl.dllib.utils.file_utils import callZooFunc
  from pyspark import RDD
  from bigdl.dllib.utils.log4Error import *
label_desc: Use image node_id 6 for calling the TextSet obj's underlying member method code with example usage: obj.get_word_index() and returns: callZooFunc