Skip to content
Discussion options

You must be logged in to vote

Hello,
the error is thrown because the added textcat component is not initialized (https://spacy.io/api/textcategorizer#initialize). However, to be able to use the textcat component you need to train it first (https://spacy.io/usage/training).

If you're new to spaCy, I'd recommend the free spaCy online course which covers all the fundamentals of using spaCy and training your own ML components.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by riZZZhik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usage General spaCy usage feat / textcat Feature: Text Classifier
2 participants