Allow argument for strip_diff
Speed up remove_ambiguous_dictionary
update dictionary