Example #1
0
        private static Lib.Dawg BuildDawg()
        {
            var db   = new Data.Database();
            var dawg = new Lib.Dawg();

            foreach (var w in db.GetWords())
            {
                dawg.Insert(w.ToUpper());
            }

            dawg.Finish();
            return(dawg);
        }