code: def test_space_quotes(self):
      n = TextRegularizerProcessorParams(
          rulesets=["quotes", "spaces"],
          rulegroups=[],
      ).create(None, PipelineMode.TARGETS)
  
      self.assertEqual(
          n(Sample(targets="“Resolve quotes”")).targets,
          "''Resolve quotes''",
      )
      self.assertEqual(
          n(Sample(targets="  “Resolve   spaces  ”   ")).targets,
          "''Resolve spaces ''",
      )
  
file_path: calamari/calamari_ocr/test/processors/test_text_regularizer.py
imports: import unittest
  from tfaip import PipelineMode, Sample
  from calamari_ocr.ocr.dataset.textprocessors import TextRegularizerProcessorParams
label_desc: Use image node_id 1 for calling the TextTextRegularizer obj's underlying member method code with example usage: obj.test_space_quotes() without return types