Update text.py

fix bug in matrix creation for CountVectorizer