1. Learn
  2. /
  3. Cursuri
  4. /
  5. Advanced NLP with spaCy

Connected

exercițiu

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.

Instrucțiuni 1/2

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