  
          if has_punct_ents_warning:
              msg.text(
                  "Entity spans consisting of or starting/ending "
                  "with punctuation can not be trained with a noise level > 0."
              )
  
      if "textcat" in factory_names:
          msg.divider("Text Classification (Exclusive Classes)")
          labels = _get_labels_from_model(nlp, "textcat")
 
</s> remove             msg.text(
                "As of spaCy v2.1.0, entity spans consisting of or starting/ending "
                "with whitespace characters are considered invalid."
            )

        if has_punct_ents_warning:
 </s> add  </s> remove         if not has_punct_ents_warning:
            msg.good("No entities consisting of or starting/ending with punctuation")
 </s> add  </s> remove         if gold_train_data["punct_ents"]:
            msg.warn(f"{gold_train_data['punct_ents']} entity span(s) with punctuation")
            has_punct_ents_warning = True

 </s> add  </s> remove                 if label.startswith(("B-", "U-", "L-")) and doc[i].text in [
                    ".",
                    "'",
                    "!",
                    "?",
                    ",",
                ]:
                    # punctuation entity: could be replaced by whitespace when training with noise,
                    # so add a warning to alert the user to this unexpected side effect.
                    data["punct_ents"] += 1
 </s> add  </s> remove         has_punct_ents_warning = False
 </s> add 
                "with whitespace characters are considered invalid."
  
          if has_punct_ents_warning:
              msg.text(
                  "Entity spans consisting of or starting/ending "
                "with whitespace characters are considered invalid."
              )
  
      if "textcat" in factory_names:
          msg.divider("Text Classification (Exclusive Classes)")
          labels = _get_labels_from_model(nlp, "textcat")
keep keep keep keep replace keep keep keep keep keep
 Remove some old version refs in the docs (#9448)

* Remove some old version refs in the docs

* Remove warning

* Update spacy/matcher/matcher.pyx

* Remove all references to the punctuation warning

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com> 
spacy/cli/debug_data.py