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
tagdictin NLTK's part of speech tagger with ingredient specific entries. - Add
name_indexfield toFoundationFoodobjects. This field refers to the index of the matching name in theParsedIngredient.namelist.- 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.