TandoorRecipes/cookbook/helper
Aaron 94e1fdfbff
Improve text to ingredient parsing
The previous implementation of parsing ingredients was very simple. I now wrote a parser
that I would consider good. It takes care of several edge cases and notations.

- Supports fraction unicode (½, ¼, ⅜, ...)
- Supports notations like `1½` and `1 1/2`
- Supports unit directly after the amount without space inbetween (`2g`, `2½g`)
- Supports notes (`5g onion (cubed)` -> amount: 5, unit: g, ingredient: onion, note: cubed)
- Supports notes (`5g onion, cubed` -> amount: 5, unit: g, ingredient: onion, note: cubed)
- Does not break when both commas and brackets exist
2020-12-21 20:00:46 +01:00
..
__init__.py refactored storage backend 2019-11-14 10:29:24 +01:00
dal.py renamed ingredient to food 2020-06-25 21:24:03 +02:00
ingredient_parser.py Improve text to ingredient parsing 2020-12-21 20:00:46 +01:00
mdx_attributes.py improved markdown rendering of tables and images 2020-02-28 21:53:27 +01:00
mdx_urlize.py fixed markdown urlize 2020-04-26 15:52:07 +02:00
permission_config.py further permission cleanup 2020-06-17 13:23:04 +02:00
permission_helper.py added sharing 2020-10-16 00:01:14 +02:00
recipe_url_import.py Improve text to ingredient parsing 2020-12-21 20:00:46 +01:00