text-preprocess-python
text-preprocess-python copied to clipboard
Using the vectors in a classifier
trafficstars
Hi Aman,
I used your code and the vectors come out as dictionary objects after the transform function. However when I see the dimensions of the csr matrix I do not see the vectors for each sentence built. Can you let know how to get a vector for each sentence so that I can pass in that vector to the classifier for the annotated label?