Skip to content

2.4.0

Latest

Choose a tag to compare

@strangetom strangetom released this 27 Oct 13:04

2.4.0

General

Warning

This release drops support for Python 3.10.

  • Drop support for Python 3.10.
  • Add support for Python 3.14.
  • Require pint >= 0.25.0

Processing

  • Improve the part of speech tagging accuracy by extending the built-in tagdict in NLTK's part of speech tagger with ingredient specific entries.
  • Add name_index field to FoundationFood objects. This field refers to the index of the matching name in the ParsedIngredient.name list.
    • The list of names and foundation foods are also guaranteed to be in the same order (although be aware that a name may not have a matching foundation food).
  • Improve processing of names, particularly related to handling of punctuation at the beginning or end of the name.