-
-
Notifications
You must be signed in to change notification settings - Fork 779
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
[BUG] - 1/3rd not recognized as quantity by parser #3318
Comments
Just a quick addition. Only fails in NLP (Natural Language Parser). Brute parser catches the 1/3rd no problem. |
Can confirm I noticed this as well when importing a recipe the other day |
Can I add that cup is recognised but not cups. It seems plurals are a blind spot. |
Have you added plurals to your units? The parser looks at those which usually solves that problem |
The recipe had plurals to being with. I'll play around more with the parser, I only used the first one. |
FYI, I'm doing work for Recipinned in this repo that greatly improved the parsing, but it uses a totally different model/strategy https://github.com/hay-kot/recipes-api It would be a pretty big lift to get it integrated into Mealie, but it's totally possible if someone wants to tackle it. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Still an issue. |
First Check
What is the issue you are experiencing?
Then trying to parse ingredients that contain 1/3rd of something (eg 1/3 cup), the parser lists 0 as quantity
Steps to Reproduce
From demo site, import recipe from URL: https://www.wellplated.com/slow-cooker-honey-garlic-chicken/#wprm-recipe-container-37253
Save, disable the Disable ingredient amounts, and then parse it.
Both 2nd and 3rd (soy sauce and honey) fail to get a proper quantity
I left https://demo.mealie.io/g/home/r/slow-cooker-honey-garlic-chicken unparsed for ease of reference. (just don't save and can be re-used)
Please provide relevant logs
Mealie Version
1.3.2 & nightly (issue occurs on demo.mealie.io)
Deployment
Docker (Linux)
Additional Deployment Details
No response
The text was updated successfully, but these errors were encountered: