String restore(String text) { Map<String, String> purposeDict = {}; backupDict.forEach((key, value) { purposeDict[value] = key; }); return process(text, purposeDict); }