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

fix: NLP Ingredient Parser Misses Some Fractions #3618

Conversation

michael-genson
Copy link
Collaborator

What type of PR is this?

(REQUIRED)

  • bug

What this PR does / why we need it:

(REQUIRED)

Sometimes the NLP Parser misses fractions. We actually already fixed this using a Pydantic validator, but the upgrade to Pydantic 2 broke it (because of course it did).

Which issue(s) this PR fixes:

(REQUIRED)

Fixes #3318

Special notes for your reviewer:

(fill-in or delete this section)

Testing

(fill-in or delete this section)

Installed CRFPP locally and verified the test case in #3318 parses correctly

@boc-the-git boc-the-git enabled auto-merge (squash) May 20, 2024 10:11
@boc-the-git boc-the-git merged commit a4c3b0d into mealie-recipes:mealie-next May 20, 2024
10 checks passed
boc-the-git pushed a commit to boc-the-git/mealie that referenced this pull request May 23, 2024
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.

[BUG] - 1/3rd not recognized as quantity by parser
2 participants