Idea: smarter OCR for inline multilingual ingredient lists (feedback welcome)
THE PROBLEM
Many labels list ingredients in several languages on the same line, for example WATER/EAU/WASSER SALT/SEL/SALZ. One example is Elephant Green Jackfruit in Brine (barcode 8851011221265). Horizontal OCR reads this as one line, so the languages run together. This seems to produce "unknown ingredients" and language mismatch flags such as en-contains-fr.
THE IDEA
Add a smarter OCR step that separates the languages before the text reaches the ingredients taxonomy. It could use layout segmentation (word positions) or split the text into pieces and check the language of each piece.
WHY IT MATTERS
- Fewer unknown ingredients and fewer manual corrections.
- Cleaner ingredient data for everything built on it.
- Useful for Canada, where bilingual labels are common, and for any multilingual label.
HOW IT COULD BE TESTED
1. Collect a sample of products with inline multilingual ingredient lists.
2. Try two or three splitting approaches (layout-based and separator-based).
3. Compare unknown ingredients and language flags before and after.
QUESTIONS
1. Has the team already looked at this, on the server side or in the mobile app? Is there an existing issue?
2. Would it fit better as a server-side step or as app-side preprocessing?
3. Is there a list of affected products I could use?
4. Any pitfalls, for example slashes that are not language separators?
