public WordOccurrence AddWord(Word tempWord) { var ret = new WordOccurrence(tempWord, this); Words.Add(ret); return(ret); }
public NextWordOccurrence(Word word, WordOccurrence parent) { Word = word; Parent = parent; Occurrence = 1; }