Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing when ingredients are in brackets. Ex: "cacahuètes avec peau (arrachides)" #7243

Open
manon-corneille opened this issue Aug 24, 2022 · 2 comments
Labels
🥗🔍 Ingredients analysis https://wiki.openfoodfacts.org/Ingredients_Extraction_and_Analysis 🥗 Ingredients ⏰ Stale This issue hasn't seen activity in a while. You can try documenting more to unblock it. ✅ Task

Comments

@manon-corneille
Copy link
Contributor

From an email from a contributor :

"On the food "peanuts" bar code 3250391545025, the list of ingredients refers to "cacahuètes avec peau (arrachides)".
The algorithm seems to detect on one side "cacahuètes avec peau" and on the other side "arrachides" which is in brackets
This counts as 2 ingredients instead of 1 for regulatory purposes, so there is a problem. Arrachides is more official than "cacahuètes avec peau" but the information would not be exactly the same as on the label.

image

@manon-corneille manon-corneille added ✅ Task 🥗 Ingredients 🥗🔍 Ingredients analysis https://wiki.openfoodfacts.org/Ingredients_Extraction_and_Analysis labels Aug 24, 2022
@github-actions
Copy link
Contributor

This issue is stale because it has been open 90 days with no activity.

@github-actions github-actions bot added the ⏰ Stale This issue hasn't seen activity in a while. You can try documenting more to unblock it. label Nov 23, 2022
@bertrand-amaraggi
Copy link
Contributor

Hello, same example here

image

We count 2 ingredients and 2 Nova 4 markers, but it's the same one :
e 472c and emulsifier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🥗🔍 Ingredients analysis https://wiki.openfoodfacts.org/Ingredients_Extraction_and_Analysis 🥗 Ingredients ⏰ Stale This issue hasn't seen activity in a while. You can try documenting more to unblock it. ✅ Task
Projects
Status: To discuss and validate
Development

No branches or pull requests

2 participants