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

Allergen markup in ingredients lists breaks identification of compound words #10678

Open
Freso opened this issue Aug 12, 2024 · 0 comments
Open
Labels
🥗🔍 Ingredients analysis https://wiki.openfoodfacts.org/Ingredients_Extraction_and_Analysis

Comments

@Freso
Copy link
Contributor

Freso commented Aug 12, 2024

What

  • Using _…_ breaks identification of compound ingredients.
  • E.g., sv:sojaproteinkoncentrat (sojaprotein+koncentrat) is recognised, but _sojaproteinkoncentrat_ isn’t.

Steps to reproduce the behavior

  1. Go to https://se.openfoodfacts.org/cgi/test_ingredients_analysis.pl?ingredients_text=_sojaproteinkoncentrat_&type=add&action=process
  2. _sojaproteinkoncentrat_ isn’t recognised

Expected behavior

Why

  • We are asked to surround allergens in ingredient lists with _’s, yet this breaks identification of some ingredients.

Number of products impacted

At least one: https://se.openfoodfacts.org/product/7340024185417/filet-pieces-h%C3%A4lsans-k%C3%B6k

Time per product

🤷

@github-project-automation github-project-automation bot moved this to To discuss and validate in 🍊 Open Food Facts Server issues Aug 12, 2024
@teolemon teolemon added 🐛 bug This is a bug, not a feature request. 🥗🔍 Ingredients analysis https://wiki.openfoodfacts.org/Ingredients_Extraction_and_Analysis labels Aug 14, 2024
@teolemon teolemon removed the 🐛 bug This is a bug, not a feature request. label Oct 18, 2024
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
Projects
Status: To do
Status: To discuss and validate
Development

No branches or pull requests

2 participants