thank you for your prompt response, basically after finishing the annotation I can run:
prodigy db-out dfobsv02 /annotations
if I want to classify them by myself, would it be easy to extract the annotation and put them as a data frame in column y?
I guess if I do not want to do that I should use:
textcat.batch-train
textcat.eval
to see the result?
any idea how can I connect this to my NER model? I mean it should be way to use NER to improve classification since the sentences including "LONG", "DATE", "TIME" are more likely to be an observation. any idea would be appreciated. many thanks
So it should be easy to load that into a dataframe or any other format you need. Typically you want to use the text and the label(s).
If you're training a spaCy model, both components will be independent. However, they will still process and work on the same text – so even if you're not using the NER labels as features in the text classifier, it will still see the same tokens. And the fact that there are dates or times in the text can impact its predictions. So I wouldn't worry too much about incorporating the NER predictions as features and just treat it as an independent text classification task. Just see how you go.