code: def test_processor(self):
      x_set, y_set = TestMacros.load_classification_corpus()
      processor = ClassificationProcessor()
      processor.build_vocab(x_set, y_set)
      transformed_idx = processor.transform(y_set[20:40])
  
      info_dict = processor.to_dict()
  
      p2: ClassificationProcessor = load_data_object(info_dict)
      assert (transformed_idx == p2.transform(y_set[20:40])).all()
      assert y_set[20:40] == p2.inverse_transform(transformed_idx)
  
file_path: Kashgari/tests/test_processor/test_class_processor.py
imports: import unittest
  from tests.test_macros import TestMacros
  from kashgari.utils import load_data_object
  from kashgari.generators import CorpusGenerator
  from kashgari.processors import ClassificationProcessor
label_desc: Use image node_id 1 for calling the TestClassificationProcessor obj's underlying member method code with example usage: obj.test_processor() without return types