code: def test_should_fit_and_parse_with_non_ascii_tags(self):
      # Given
      inputs = ("string%s" % i for i in range(10))
      utterances = [
          {
              DATA: [
                  {
                      TEXT: string,
                      ENTITY: "non_ascìi_entïty",
                      SLOT_NAME: "non_ascìi_slöt",
                  }
              ]
          }
          for string in inputs
      ]
  
      # When
      naughty_dataset = {
          "intents": {"naughty_intent": {"utterances": utterances}},
          "entities": {
              "non_ascìi_entïty": {
                  "use_synonyms": False,
                  "automatically_extensible": True,
                  "data": [],
                  "matching_strictness": 1.0,
              }
          },
          "language": "en",
      }
  
      # Then
      with self.fail_if_exception("Naughty string make NLU crash"):
          shared = self.get_shared_data(naughty_dataset)
          slot_filler = CRFSlotFiller(**shared)
          slot_filler.fit(naughty_dataset, "naughty_intent")
          slots = slot_filler.get_slots("string0")
          expected_slot = {
              "entity": "non_ascìi_entïty",
              "range": {"start": 0, "end": 7},
              "slotName": "non_ascìi_slöt",
              "value": "string0",
          }
          self.assertListEqual([expected_slot], slots)
  
imports: from __future__ import unicode_literals
  import io
  import os
  from builtins import range
  from pathlib import Path
  from unittest import skipIf
  from mock import MagicMock, PropertyMock
  from sklearn_crfsuite import CRF
  from snips_nlu.constants import DATA, END, ENTITY, LANGUAGE_EN, SLOT_NAME, START, TEXT, RANDOM_STATE
  from snips_nlu.dataset import Dataset
  from snips_nlu.entity_parser import CustomEntityParserUsage
  from snips_nlu.exceptions import NotTrained
  from snips_nlu.pipeline.configs import CRFSlotFillerConfig
  from snips_nlu.preprocessing import tokenize, Token
  from snips_nlu.result import unresolved_slot
  from snips_nlu.slot_filler.crf_slot_filler import CRFSlotFiller, _ensure_safe, _encode_tag, CRF_MODEL_FILENAME
  from snips_nlu.slot_filler.crf_utils import TaggingScheme
  from snips_nlu.slot_filler.feature_factory import IsDigitFactory, NgramFactory, ShapeNgramFactory
  from snips_nlu.tests.utils import FixtureTest, TEST_PATH
label_desc: Use image node_id 12 for calling the TestCRFSlotFiller obj's underlying member method code with example usage: obj.test_should_fit_and_parse_with_non_ascii_tags() without return types