code: def test_get_ner(self):
      self.assertRaises(AssertionError, self.test_processor.get_pos, {})
      self.assertEqual([], self.test_processor.get_pos(""))
      sent = "Lionel Messi is a football player from Argentina."
      self.assertEqual(
          [
              ("Lionel Messi", 0, 12, "PERSON"),
              ("Argentina", 39, 48, "LOCATION"),
          ],
          self.test_processor.get_ner(sent, return_char_idx=True),
      )
      self.assertEqual(
          [
              ("Lionel Messi", 0, 2, "PERSON"),
              ("Argentina", 7, 8, "LOCATION"),
          ],
          self.test_processor.get_ner(sent, return_char_idx=False),
      )
  
file_path: textflint/test/common/preprocess/test_en_processor.py
imports: import unittest
  from textflint.common.preprocess.en_processor import EnProcessor
label_desc: Use image node_id 6 for calling the TestEnProcessor obj's underlying member method code with example usage: obj.test_get_ner() without return types