1. A computer-implemented method comprising: receiving both (a) device identification data that identifies a scanning device and (b) first processed scan data that was generated by performing one or more of (i) optical character recognition on initial scan data that was generated by the scanning device and (ii) natural language translation on data produced by performing optical character recognition on the initial scan data; and determining a set of rules that is mapped to a context to which the device identification data is mapped and that defines, for a set of one or more characters, a set of one or more replacement characters; and generating second processed scan data by applying the set of rules to the first processed scan data.