1. 学习
  2. /
  3. 课程
  4. /
  5. Advanced NLP with spaCy

Connected

练习

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.

说明 1 / 共 2 个

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