Calling textcat scores after production

Hello, I've trained several textcat classifiers and they are all performing well. However, I'm not sure how to call the textcat scores individually in a script. For instance, if category1 score > .95: do something

I'm not 100% sure I've understood your question correctly, but if you're looking for how to use the information at runtime, perhaps you need the doc.cats attribute? For instance, if doc.cats["category1"] >= 0.95

Thank you! This is exactly what I was looking for.