- Recognize coloned lists ending with a semicolon
- Recognize "and" in coloned lists as separator
- Support names with multiple parts in loose parser
- Support slash as separator with E-numbers
- Add abbreviation "half om half"
- Recognize "ingredient list" as ingredient prefix
- Recognize "and" after brackets as separator
- Fix amount after nesting colon
- Add HTML output to CLI tool
- Improve E-number matching
- Improve E-number matching
- Improve E-number matching
- Keep chemical ingredient names together
- Support more variates of amount
- Small parsing and cleaning improvements
- Parsing improvements
- Small parsing improvements
- Fix alphabetic mark detection
- Recognize percentage followed by name without space
- Improve e-number handling
- Parsing improvements
- Parsing improvements (split E-numbers when separated by dashes)
- Parsing improvements
- Parsing improvements
- Add
to_html
to the loose parser - Include loose parser in example
- Small parsing improvements
- Some small parsing improvements for both parsers
- The loose parser doesn't return empty names anymore (unless you use the
normalize: true
option) - Prepare for returning multiple marks
- Allow colon before a bracket
This version is not fully backwards compatible, as marks are now returned as an array in to_h
.
- Only recognize 'and' as separator when required for parsing
- Improve note parsing and recognition
- Fix colon nesting
- Add a loose parser
This version is not fully backwards compatible: the strict parser has been
renamed from FoodIngredientParser::Parser
to FoodIngredientParser::Strict::Parser
.
- Add depth to HTML output
- Interactive editor example
- Add method to generate HTML output of original text
- Pass parse options to Treetop (unstable interface)
- Parsing improvements for amount and mark
- Parsing improvements
- Fix test tool when text cannot be parsed
- Initial release