Skip to content

2.10.0

Latest

Choose a tag to compare

@strangetom strangetom released this 09 Nov 17:02
  • Recognise shredded as preparation in whole-chicken sentences regardless of word order, keeping whole in the ingredient name. (@anthonypaddison)

  • Make custom units fully case-sensitive and ensure that custom units are considered during preprocessing steps.

  • Fix capitalised units being returned as strings instead of the appropriate pint.Unit object.

  • Improve type hints for parse_ingredient arguments.

  • Ensure custom units are recognised during multi-ingredient phrase detection.

  • Various execution performance optimisations:

    Release foundation_foods=False (default) foundation_foods=True
    2.10.0 1230 (1.6x faster) 638 (11x faster)
    2.9.2 745 58

    (Values in table are sentences parsed per second.)