<instructions>Your goal is to analyze the following comment and estimate how highly it will be upvoted by the Hacker News community.</instructions><comment><author>skipnup</author><text>Is it really necessary to have machine learning involved?&lt;p&gt;While a bit tricky, this seems to be solvable with a bunch of regular expressions&amp;#x2F;string searches. (At least that&amp;#x27;s what I&amp;#x27;m doing on my personal recipe app.) Filtering out numbers and number words is trivial (compared to training a ML model). The number of units is not that large and thus can be filtered. The rest is the name. This method is also easier to adapt to different languages, as we don&amp;#x27;t have to create a dataset for each language.&lt;p&gt;In the example &amp;quot;2 ounces of spicy melon&amp;quot;, information is gone missing after parsing (&amp;quot;spicy&amp;quot;) and depending on the context may very well be an important part of the ingredient name (&amp;quot;spicy chili peppers&amp;quot;&amp;#x2F;&amp;quot;mild chili peppers&amp;quot;) I would wan&amp;#x27;t to keep, e.g. for creating a shopping list.&lt;p&gt;If we&amp;#x27;re using machine learning for parsing ingredients and want to actually create an added value, I think the goal should be to identify the ingredients from the recipe instructions, generating the list of ingredients.&lt;p&gt;But please correct me if I&amp;#x27;m wrong, I&amp;#x27;d love to learn the reasoning for using something as complicated as ML in this case!</text><parent_chain></parent_chain></comment><story><title>Show HN: PyIng – Ingredient parser</title><text>For far to long ingredient parsers been unavailable to the public. Either due to obsene complexity:&lt;p&gt;&lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;nytimes&amp;#x2F;ingredient-phrase-tagger&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;nytimes&amp;#x2F;ingredient-phrase-tagger&lt;/a&gt;&lt;p&gt;Or because of the dreaded paywall:&lt;p&gt;&lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;mtlynch&amp;#x2F;zestful-client&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;mtlynch&amp;#x2F;zestful-client&lt;/a&gt;&lt;p&gt;Wait no longer, I introduce PyIng. An easy to use python package for changing this &amp;quot;2 ounces of spicy melon&amp;quot; into this {name: melon, unit: ounces, qty: 2.0}.&lt;p&gt;&lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;whitew1994WW&amp;#x2F;PyIng&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;whitew1994WW&amp;#x2F;PyIng&lt;/a&gt;</text></story>
<instructions>Your goal is to analyze the following comment and estimate how highly it will be upvoted by the Hacker News community.</instructions><comment><author>daenz</author><text>Cool! Do you plan on capturing modifiers like &amp;quot;spicy&amp;quot; or &amp;quot;large&amp;quot; ? Without those, I imagine a lot of dishes won&amp;#x27;t be quite the same.</text><parent_chain></parent_chain></comment><story><title>Show HN: PyIng – Ingredient parser</title><text>For far to long ingredient parsers been unavailable to the public. Either due to obsene complexity:&lt;p&gt;&lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;nytimes&amp;#x2F;ingredient-phrase-tagger&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;nytimes&amp;#x2F;ingredient-phrase-tagger&lt;/a&gt;&lt;p&gt;Or because of the dreaded paywall:&lt;p&gt;&lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;mtlynch&amp;#x2F;zestful-client&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;mtlynch&amp;#x2F;zestful-client&lt;/a&gt;&lt;p&gt;Wait no longer, I introduce PyIng. An easy to use python package for changing this &amp;quot;2 ounces of spicy melon&amp;quot; into this {name: melon, unit: ounces, qty: 2.0}.&lt;p&gt;&lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;whitew1994WW&amp;#x2F;PyIng&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;whitew1994WW&amp;#x2F;PyIng&lt;/a&gt;</text></story>