public static void createBagOfWordsARFF(List<Tweet> tweets, String desiredOutputFileLocation) throws Exception{
    	if(tweets.size() > 0 && desiredOutputFileLocation != null && !desiredOutputFileLocation.trim().isEmpty()){
    		Instances rawDataset = createDataset(tweets); //pass the input file, delimiter, and number of desired entries
       		Instances wordVectorSet = convertToWordVector(rawDataset);
       		saveToArff(wordVectorSet, desiredOutputFileLocation);
    	}
    }