Skip to content
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

Address common parsing errors #28

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ascott1
Copy link

@ascott1 ascott1 commented Nov 25, 2022

Though this library has not been updated in some time, it remains the best that I have seen for parsing recipe ingredients. This pull request addresses two common issues:

  • Units abbreviated with a period (such as tbspn.)
  • Case sensitivity

The last point may be controversial, as it seems to be intentional, but I've found very few instances of recipes using T for tablespoon and t for teaspoon. It is far more common for recipes to capitalize units.

If you are no longer interested in maintaining this project, please let me know. Thank you for your great project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant