private void GenerateWordRank(WordLibraryList wordLibraryList) { countWord = wordLibraryList.Count; currentStatus = 0; foreach (WordLibrary wordLibrary in wordLibraryList) { if (wordLibrary.Rank == 0) { wordLibrary.Rank = wordRankGenerater.GetRank(wordLibrary.Word); } currentStatus++; processMessage = "生成词频:" + currentStatus + "/" + countWord; } }