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

From Open Food Facts wiki
Jump to navigation Jump to search
(Created page with "== Finding opportunities == # Download the OCR JSONL # <pre>grep -o '\<WORD\>' | wc -l</pre> == Using REGEXes == == Using Flashtext ==")
 
Line 2: Line 2:
 
# Download the OCR JSONL
 
# Download the OCR JSONL
 
# <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
 +
 
 
== Using Flashtext ==
 
== Using Flashtext ==

Revision as of 13:24, 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/data/ocr

Using Flashtext