Let's say I have multiple sentences(Not a paragraph) like Sentence A,B,C and so on in a csv file. And I want to calculate the matrix of words in each sentence using N-gram(Unigrams or Bigrams). So that I can get a calculated N-gram vector for each sentence from my Matrix easily. How do I do it?
PS:I have tried several methods but all of them calculate N-gram for either a sentence or a whole paragraph!