Open teolemon opened 5 years ago
Which product is this? How common is this pattern?
We currently do not support identifying organic ingredients marked with a *.
https://world.openfoodfacts.org/product/3770008009417/l-apero-boules-tomate-basilic-bio-funky-veggie It would be just a replace at OCR time
if "ingredients issus de l'agriculture biologique" in string: REPLACE(/word", >> /word*,)
Note that not all * indicates bio, I identified already two other uses.
There are also products that use more than one symbol (e.g. organic + fair trade), sometimes they use a small upper 1, which can look like a ' from an ocr point of view.
Before doing anything, we should look at many OCR results samples to see how common this is and what we should do exactly in which case.
from @teolemon :
https://fr.openfoodfacts.org/produit/26017341/muesli-chocolat-amarante-aldi-bon-et-bio
flocons d'avoine complet' 39%, amarante soufflée' 12%, chocolat au lait' 12% (sucre de canne', poudre de lait entier', beurre de cacao', pâte de cacao'), sucre de canne', farine d'avoine complet', semoule de maiïs', huile de tournesol', flocons de blé complet' 5%, farine d'épeautre complet', poudre de cacao maigre', flocons de noix de coco', miel', noisettes concassées', sel de mer. 'Ingrédients issus de l'agriculture biologique.
Autoreplace " by * when "ingredients issus de l'agriculture biologique" is detected
Farine de pois chiche (26%), farine de mais, semoule de mais, farine de riz", tomates/basie 8% (farine de mais, tomate", basilic", oignon', sel), huile de tournesol".