static public void WordCLD(List <string> wordc, List <int> fre, string filename) { wordcloud wc = new wordcloud(1000, 720); var ima = wc.Draw(wordc, fre); var newFilename = filename; ima.Save(newFilename, ImageFormat.Jpeg); }
public static WordCloudModel Map(wordcloud wordCloud, IUrlHelper url) { return(new WordCloudModel { text = wordCloud.word, weight = wordCloud.wordrank }); }