Better HN
topnewbestaskshowjobs
Log inSign up

callorico

17 karma · joined Jun 15, 2010 (16y ago) · 4 submissions

Submissions

1.

What happens when on-premise HPC ends?(blog.rescale.com ↗)

3 points · by callorico · 11y ago · discuss

comment 16y ago · link · parent

To expand slightly on the above: I'm using BeautifulSoup to parse out the text fragments in the html doc. Then, for each fragment, a set of features are extracted. This is really the secret sauce part of things. The features are looking at things like, how many words are in the text fragment (ingredients tend to be fairly short). The features are fed into a classifier (I'm using the NLTK library for this) which outputs a yes/no label on whether or not this is an ingredient.

Let me know if you've got any NLP or machine learning experience. I'd love to bounce some ideas off of you.

comment 16y ago · link · parent

Thanks! The ingredient parsing is definitely not 100% accurate (it falls down completely on several sites). That ingredient screen that appears after submitting a url was supposed to be used for error correction. Users can quickly delete and edit ingredients before adding it to their list. You are right though, it does add an extra step before you can add another recipe url.

I'm currently using a naive bayes classifier for the ingredient extraction with some hand-crafted features. There's also an augmenting step that tries to exploit ingredient locality in the recipe doc to pick out ones that might have been initially missed.

4.

Ask HN: Review my app, recipedistiller

15 points · by callorico · 16y ago · 8 comments