vocabulary_ Mapping all the words with integers. text=["Don't be fooled by the dark sounding name, Mr. Jone's Orphanage is as cheery as cheery goes for a pastry-shop."] vector=CountVectorizer() # Or TfidfVectorizer() print(vector.vocabulary_) >>> {'don': 5, 'be': 1, 'fooled': 6, 'by': 2, 'the': 17, 'dark': 4, 'sounding': 16, 'name': 12, 'mr': 11, 'jone': 10, 'orphanage': 13, 'is': 9, 'as': 0, 'c..