code: def test_cer_unicode(self):
      refs = ["我能吞下玻璃而不伤身体"]
      preds = [" 能吞虾玻璃而 不霜身体啦"]
      # S = 3, D = 2, I = 0, N = 11, CER = 5 / 11
      char_error_rate = cer.compute(predictions=preds, references=refs)
      self.assertTrue(abs(char_error_rate - 0.4545454545) < 1e-6)
  
      refs = ["我能吞下玻璃", "而不伤身体"]
      preds = ["我    能 吞 下 玻 璃", "而不伤身体"]
      # S = 0, D = 5, I = 0, N = 11, CER = 5 / 11
      char_error_rate = cer.compute(predictions=preds, references=refs)
      self.assertTrue(abs(char_error_rate - 0.454545454545) < 1e-6)
  
      refs = ["我能吞下玻璃而不伤身体"]
      char_error_rate = cer.compute(predictions=refs, references=refs)
      self.assertFalse(char_error_rate, 0.0)
  
file_path: evaluate/metrics/cer/test_cer.py
imports: import unittest
  from cer import CER
label_desc: Use image node_id 9 for calling the TestCER obj's underlying member method code with example usage: obj.test_cer_unicode() without return types