code: def setUpClass(cls):
      weights_file = os.path.join(SAVE_ROOT, "weights.h5")
      params_file = os.path.join(SAVE_ROOT, "params.json")
      preprocessor_file = os.path.join(SAVE_ROOT, "preprocessor.pickle")
  
      # Load preprocessor
      p = IndexTransformer.load(preprocessor_file)
  
      # Load the model.
      model = load_model(weights_file, params_file)
  
      # Build a tagger
      cls.tagger = anago.Tagger(model, preprocessor=p)
  
      cls.sent = "President Obama is speaking at the White House."
  
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 1 for calling the TestTagger obj's underlying member method code with example usage: obj.setUpClass(cls) without return types