Comments (4)
I saw this article about someone who took on a similar problem (scraping recipes from HTML), but it focuses specifically on ingredients. Those are, of course, only part of a recipe.
https://schollz.com/blog/ingredients/
from thespicerack.
The NYT also has a library focuses on ingredient parsing, which may be useful for structuring extracted information.
https://github.com/nytimes/ingredient-phrase-tagger
from thespicerack.
Additional NLP will be needed to structure extracted "recipe content" from HTML.
I already mentioned the NYT ingredient parser, but we may also need to make a classifier that can take a blob of text containing a recipe name
, ingredients
and instructions
and classify it into those parts, line by line.
An example of such an exercise (found by looking up "multi-class text classification") is detailed in this article.
from thespicerack.
I'll also jot down some thoughts on parsing JavaScript-dependent sites like Allrecipes.
We may need to execute the JS and then read the HTML when creating our gold standard files. For consistency's sake, we'd probably need to do so for the whole database, and then double check "corrected" files still work.
A library that may help with this task is scrapy, which has plugins that would allow us to execute the JS and get the HTML we need for our dataset.
from thespicerack.
Related Issues (17)
- Investigate methods of parsing websites for specific data
- Investigate optical character recognition (OCR) techniques and implementations
- Design Recipe Model for Database
- Identify programming language, frameworks (if any), etc. to implement server
- Create Database
- Research and prototype parsing strategies identified in language of choice
- Research and prototype OCR parsing functionality investigated previously
- Develop REST API to pass data between server and client applications
- Develop user-management functionality
- Define web-development framework to create application
- Define CSS and other design principles
- Create "user-management" page(s) for signing up, logging in, etc
- Create "home" webpage
- Create "recipe viewer" webpage
- Create form to upload recipe source to be parsed and stored
- Create page(s) to manually create, edit, and delete recipes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thespicerack.