code: def register_extension():
      if SPACY_INSTALLED:
          spacy.tokens.Token.set_extension(
              "numerized", getter=_span_numerize, setter=_span_setter
          )
          spacy.tokens.Span.set_extension(
              "numerize", method=_span_numerize
          )
          spacy.tokens.Doc.set_extension(
              "numerize", method=spacy_numerize
          )
  
imports: import re
  from .None import consts
label_desc: Use image node_id 20 for calling a global function with example usage: register_extension() without return types