Files
mealie/mealie
RealFoxie e686fa671c Better bruteforce parsing for units (#3066)
* try to match units when brute parsing and no amount is matched

* brute parser: better handle multiple word food items

Also checks the case when a food might have been split in a unit + ingredient

* fix formatting

* add test cases for ingredient parsing that don't start with an amount

* parametrized tests and added ingredient data fixture

* fixed group_id ref in tests

* fixed test inputs

* add extra tests for units as third token

---------

Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
2024-02-07 09:16:20 -06:00
..
2021-12-18 19:04:36 -09:00
2024-01-27 15:11:54 -06:00
2024-01-27 15:11:54 -06:00
2024-02-04 22:24:02 -06:00
2024-01-27 15:11:54 -06:00
2024-02-03 22:44:30 +00:00
2024-01-27 15:11:54 -06:00
2023-12-14 17:26:43 -09:00
2024-01-11 23:11:42 +00:00
2024-01-10 17:20:22 +00:00