wordfrequency of the documents

This code creates a .csv file which contains the word frequency of words in the documents.