Line 1: |
Line 1: |
| + | [[Category:Recycling]] |
| = Introduction = | | = Introduction = |
| | | |
Line 47: |
Line 48: |
| <pre> | | <pre> |
| [ | | [ |
− | { number=>1, container=>"en:box", materials=>"en:cardboard", labels=>"en:fsc, en:fsc-mixed", size_values=>"20x35x15", size_unit="cm", recycling=>"en:to-be-recycled"}, | + | { number=>1, shape=>"en:box", material=>"en:cardboard", labels=>"en:fsc, en:fsc-mixed", size_values=>"20x35x15", size_unit="cm", recycling=>"en:recycle"}, |
− | { number=>6, container=>"en:bottle", materials=>"en:white-glass,en:glass", quantity_value=>25, quantity_unit=>"cl", recycling=>"en:reusable"} | + | { number=>6, shape=>"en:bottle", material=>"en:white-glass,en:glass", quantity_value=>25, quantity_unit=>"cl", recycling=>"en:reuse"} |
| ] | | ] |
| </pre> | | </pre> |
Line 98: |
Line 99: |
| | | |
| Use recycling instructions (sent by the producer or extracted by the OCR) to supplement the population of the new packagings array. | | Use recycling instructions (sent by the producer or extracted by the OCR) to supplement the population of the new packagings array. |
| + | |
| + | === Suggestions to improve parsing === |
| + | |
| + | * Remove boilerplate information ("consignedetri.fr") |
| + | * Autocompletion would be handy |
| + | * Inline edit to save time (inline image selection, and inline text extraction) |
| + | * Bad parsing |
| + | ** https://world.openfoodfacts.org/product/3270160866786/merlu-blanc-sauce-au-cidre-picard |
| + | ** https://world.openfoodfacts.org/product/3560070539260/garniture-3-legumes-carrefour |
| + | ** https://world.openfoodfacts.org/product/3092718619008/sirop-de-peche-teisseire |
| + | ** https://world.openfoodfacts.org/product/3263850313158/poivre-blanc-leader-price "boîte et couvercle plastique à jetër" |
| | | |
| == Phase 4 - Develop a data entry UI for the new format (at least for the web site, possibly for mobile) == | | == Phase 4 - Develop a data entry UI for the new format (at least for the web site, possibly for mobile) == |