I have a corpus of documents and I'd like to extract the word frequencies in each document. I could use CountVectorizer() to get term counts per document, and I could use TfidfVectorizer() to get term frequency-inverse document frequency, but neither seems to give me term frequencies alone. How do I get term frequencies?
This related question seems to ask my question, but the question and answers there concern term counts, not term frequencies. Maybe I'm the one misunderstanding these terms, but my understanding is that term counts are the integer number of times each term appears in the document whereas term frequencies are the term counts divided by the document length.