cord
cord copied to clipboard
How do you guys match line items to its price?
Once you are done with NER, how to you guys match its line item and its corresponding price? A simple y coordinate matching will work in most cases, but there are cases where a line item is in two lines or the line item and its price are not in same line.
Sorry for the late reply. You can use group_id
for that purpose. The corresponding menu.name
and menu.price
have the same group_id
.