code: def test_analyze(self):
      res = self.tagger.analyze(self.sent)
      self.assertIsInstance(res, dict)
      self.assertIn("words", res)
      self.assertIn("entities", res)
      self.assertIsInstance(res["words"], list)
      self.assertIsInstance(res["entities"], list)
      for w in res["words"]:
          self.assertIsInstance(w, str)
      for e in res["entities"]:
          self.assertIsInstance(e, dict)
          self.assertIn("beginOffset", e)
          self.assertIn("endOffset", e)
          self.assertIn("score", e)
          self.assertIn("text", e)
          self.assertIn("type", e)
  
file_path: anago/tests/test_tagger.py
imports: import os
  import unittest
  import numpy
  import tensorflow
  import anago
  from anago.models import load_model
  from anago.preprocessing import IndexTransformer
label_desc: Use image node_id 3 for calling the TestTagger obj's underlying member method code with example usage: obj.test_analyze() without return types