Difference between revisions of "Artificial Intelligence/Robotoff/Adding new detections"

From Open Food Facts wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
# <pre>grep -o '\<WORD\>' | wc -l</pre>
 
# <pre>grep -o '\<WORD\>' | wc -l</pre>
 
== Using REGEXes ==
 
== Using REGEXes ==
https://github.com/openfoodfacts/robotoff/tree/master/data/ocr
+
https://github.com/openfoodfacts/robotoff/tree/master/robotoff/insights/ocr
 +
 
  
 
== Using Flashtext ==
 
== Using Flashtext ==
 +
https://github.com/openfoodfacts/robotoff/tree/master/data/ocr

Revision as of 13:31, 3 August 2020

Finding opportunities

  1. Download the OCR JSONL
  2. grep -o '\<WORD\>' | wc -l

Using REGEXes

https://github.com/openfoodfacts/robotoff/tree/master/robotoff/insights/ocr


Using Flashtext

https://github.com/openfoodfacts/robotoff/tree/master/data/ocr