Generated dicts file, and added replace_char function