code: def test_attributeruler_morph_rules_initialize(nlp, morph_rules):
      ruler = nlp.add_pipe("attribute_ruler")
      ruler.initialize(lambda: [], morph_rules=morph_rules)
      check_morph_rules(ruler)
  
imports: import numpy
  import pytest
  from spacy import registry, util
  from spacy.lang.en import English
  from spacy.pipeline import AttributeRuler
  from spacy.tokens import Doc
  from spacy.training import Example
  from ..util import make_tempdir
label_desc: Use image node_id 15 for calling a global function with example usage: test_attributeruler_morph_rules_initialize(nlp, morph_rules) without return types