Example #1
0
 public void SaveTo(Stream output)
 {
     var builder = new DawgBuilder();
     var dawg = builder.Build(_wordBag);
     var encoder = new DawgEncoder(Dawg.FILEVERSION);
     encoder.Encode(output, dawg);
 }
Example #2
0
        public void SaveTo(Stream output)
        {
            var builder = new DawgBuilder();
            var dawg    = builder.Build(_wordBag);
            var encoder = new DawgEncoder(Dawg.FILEVERSION);

            encoder.Encode(output, dawg);
        }