code: def test_get_word_index(self):
      resource_path = os.path.join(
          os.path.split(__file__)[0], "../../../resources"
      )
      glove_path = os.path.join(
          resource_path, "glove.6B/glove.6B.50d.txt"
      )
      word_index = WordEmbedding.get_word_index(glove_path)
      assert word_index["the"] == 1
      assert word_index["for"] == 11
      assert word_index["as"] == 20
  
imports: import pytest
  import shutil
  from zoo.feature.common import ChainedPreprocessing
  from zoo.feature.image import *
  from zoo.pipeline.api.keras.layers import *
  from zoo.pipeline.api.keras.models import *
  from test.zoo.pipeline.utils.test_utils import ZooTestCase
label_desc: Use image node_id 17 for calling the TestSimpleIntegration obj's underlying member method code with example usage: obj.test_get_word_index() without return types