protected internal virtual int GetCount(string word, string tag) { TagCount count = dict[word]; if (count == null) { return(0); } else { return(count.Get(tag)); } }