code: def test_matcher_match_fuzzy(en_vocab, rules, match_locs):
      words = [
          "They",
          "like",
          "Goggle",
          "Now",
          "and",
          "Jav",
          "but",
          "not",
          "JvvaScrpt",
      ]
      doc = Doc(en_vocab, words=words)
  
      matcher = Matcher(en_vocab)
      for key, patterns in rules.items():
          matcher.add(key, patterns)
      assert match_locs == [
          (start, end) for m_id, start, end in matcher(doc)
      ]
  
imports: import pytest
  from mock import Mock
  from spacy.matcher import Matcher
  from spacy.tokens import Doc, Span, Token
  from ..doc.test_underscore import clean_underscore
label_desc: Use image node_id 12 for calling a global function with example usage: test_matcher_match_fuzzy(en_vocab, rules, match_locs) without return types