code: def dialect_compare(dialect1, dialect2):
      
      orig = set(dialect1.items())
      new = set(dialect2.items())
      return dict(
          added=dict(list(new.difference(orig))),
          removed=dict(list(orig.difference(new)))
      )
docs: Compares two dialects.