void AddKeywordList(string keywordString)
{
string[] seplist = keywordString.Split(new string[] { "\r\n", "\n" }, StringSplitOptions.RemoveEmptyEntries);
int j = seplist.Length;
for (int i = 0; i < j; ++i)
{
string sepWord = seplist[i];
if (sepWord.StartsWith("'"))
{
sepWord = sepWord.Substring(1, sepWord.Length - 2);
}
char firstChar = sepWord[0];
List<string> list;
if (!words.TryGetValue(firstChar, out list))
{
list = new List<string>();
words.Add(firstChar, list);
}
list.Add(sepWord);
list.Sort();
}
}
}