-
-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Infer packaging from related products in the category #55
Comments
@CloCkWeRX this is a topic I'd like to get moving asap, can you create a list of categories with strong correlations ? |
en:eggs associated_packagings:en en:Cardboard to recycle or perhaps easier, a collaborative spreadsheet that we can iterate on ? |
Pipeline I'm setting up for this:
which is a bit easier than doing it all manually. What's best, ruby/python/perl/node; assuming this would run periodically? |
https://github.com/CloCkWeRX/openfoodfacts-packaging-from-category - python 2.7 version, simple command line tool that spits out JSON. It only goes into the first page of results right now. |
@raphael0202 - python isn't my default language, if you have some time would you mind looking over https://github.com/CloCkWeRX/openfoodfacts-packaging-from-category and suggesting if there are better or more idiomatic ways to structure this? In my head, this is somewhat of a static JSON generator (just push all the results to git/easy to expose via a static web server for openfoodfacts-server to do browser queries to; or curl into elasticsearch); though could probably also publish things into an sqlite DB or other datastore (more like robotoff) |
What
Examples
A lot of this can probably be guessed from looking at the most common packaging for a given (specific) category.
We'd also want a way to exclude some categories, where the category is really broad like "Fruits"
Part of
The text was updated successfully, but these errors were encountered: