Exemple #1
0
        public void AddEntry(LexiconEntry entry)
        {
            var           firstLetter = entry.Root[0];
            LexiconLetter letter;

            if (!LettersByAlphabet.TryGetValue(firstLetter, out letter))
            {
                letter = new LexiconLetter(firstLetter);
                LettersByAlphabet.Add(firstLetter, letter);
            }
            letter.AddEntry(entry);
        }
Exemple #2
0
 protected virtual void VisitEntry(LexiconEntry entry)
 {
 }
Exemple #3
0
 public void AddEntry(LexiconEntry entry)
 {
     EntriesByRoot[entry.Root] = entry;
 }