Changes

Jump to navigation Jump to search
no edit summary
Line 1: Line 1:  +
[[Category:Recycling]]
 
= Introduction =
 
= Introduction =
  −
'''Work in progress, please do not change this page for now. Thank you!'''
      
Open Food Facts has a very open, organic and iterative approach to data: most fields are initially not strictly defined and are often free text fields, and once we have enough data, we analyze it to determine how we can bring more structure to it, so that we can support more uses.
 
Open Food Facts has a very open, organic and iterative approach to data: most fields are initially not strictly defined and are often free text fields, and once we have enough data, we analyze it to determine how we can bring more structure to it, so that we can support more uses.
Line 49: 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 100: 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) ==

Navigation menu