#!/usr/bin/env ruby -i
require_relative 'marky-markov/markov-dictionary'
require_relative 'marky-markov/persistent-dictionary'

if __FILE__ == $0
  unless ARGV[0].nil?
    pers_dict = PersistentDictionary.new(ARGV[0], 'dictionary')
    pers_dict.save_dictionary!
  end
end

Add To Dict creates/adds to PersistentDictionary
Add To Dict creates/adds to PersistentDictionary

When run and given a source and dictionary, add-to-dict will open the
dictionary(if it already exists) and add the source files words.
