Data-driven transaction terminal item code corrector
An unrecognized item code is identified during a transaction at a transaction terminal. When the unrecognized code is determined to be associated with a typographical error, alternative corrected item codes are supplied to the transaction terminal to replace the unrecognized code. When the unrecognized code is determined to be missing from a product catalogue, an ordered list of most likely corrected item codes for the unrecognized code is provided to the transaction terminal for selection of one of the corrected item codes by an operator.
1. A method, comprising:
detecting an unrecognized item code during a transaction at a transaction terminal,
wherein detecting further includes determining whether the unrecognized item code is a typographical error or is a particular item code missing from an item catalogue,
wherein determining further includes passing the unrecognized item code to a trained machine-learning model as input and receiving as output a confidence score for the typographical error that is above a threshold value along with the corrected item code,
wherein passing further includes processing a modified pairwise sequence alignment algorithm for the trained machine-learning model that was enhanced to account for character position swapping in the unrecognized item code when determining the confidence score for the typographical error; and
providing at least one replacement item code to the transaction terminal as a replacement for the unrecognized item code.
2. The method of claim 1 , wherein providing further includes automatically providing alternative replacement item codes to a transaction manager of the transaction terminal when the unrecognized item code is identified as a typographical error made by an operator of the transaction terminal when entering the unrecognized item code during the transaction.
3. The method of claim 1 , wherein providing further includes providing a list of replacement item codes to a transaction manager of the transaction terminal for a selection by an operator of the transaction terminal when the unrecognized item code is determined to be missing from an item catalogue.
4. The method of claim 1 , wherein providing further includes rendering the at least one replacement item code within a transaction interface of the transaction terminal for selection by an operator of the transaction terminal to replace the unrecognized item code during the transaction.
5. The method of claim 1 further comprising, processing the method as a Software-as-a-Service (SaaS) to a retailer associated with the transaction terminal.
6. A method comprising:
detecting an unrecognized item code during a transaction at a transaction terminal,
wherein detecting further includes determining whether the unrecognized item code is a typographical error or is a particular item code missing from an item catalogue,
wherein determining further includes matching the unrecognized item code to the particular item code based on a frequency level that the particular item code was previously encountered for other transactions,
wherein matching further includes obtaining a list of candidate replacement item codes, wherein each candidate replacement item code linked to an occurrence level indicating a total number of times the corresponding candidate replacement item code was provided as a particular replacement item code for the unrecognized item code;
providing at least one replacement item code to the transaction terminal as a replacement for the unrecognized item code.
7. The method of claim 5 , wherein obtaining further includes ordering the list as an ordered list of replacement item codes from highest occurrence level to a lowest occurrence level.
8. The method of claim 7 , wherein providing further includes providing the ordered list of replacement item codes to the transaction terminal for selection of a specific one of the replacement item codes by an operator of the transaction terminal to replace the unrecognized item code.