How can I estimate the item from the character position and sentence?

How can I estimate the item from the character position and sentence? I would like to estimate the category of the amount from the amount of money obtained by OCR and the position of the characters. What kind of model and process should I use?