Exercise

Selective processing

In this exercise, you'll use the nlp.make_doc and nlp.disable_pipes methods to only run selected components when processing a text. The small English model is already loaded in as the nlp object.

Instructions 1/2

undefined XP
    1
    2
  • Rewrite the code to only tokenize the text using nlp.make_doc.