Parsing English and Swedish language ingredients into name and measure of the ingredient.
Project description
Description
Ingredient Parser is a simple utility to parse ingredients and return their name and measure. It currently supports Swedish and English language ingredients.
Installation
pip install ingredient_parser
Usage for English
python from ingredient_parser.en import parse print(parse(‘2 liters of milk’))
Usage for Swedish
python from ingredient_parser.sw import parse print(parse(‘4 Port fisk’))
Contributing
Fork it!
Create your feature branch: git checkout -b my-new-feature
Commit your changes: git commit -am ‘Add some feature’
Push to the branch: git push origin my-new-feature
Submit a pull request :D
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for ingredient_parser-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f963be097fd39d0159b28d719f2c31cbd7148c71f0b6c6cee0312817cfbc0f1a |
|
MD5 | e709fca4d59b011d47118356c6704418 |
|
BLAKE2b-256 | 6600633b14689779d7f3c35155119392df375cd60a20a1b331eba41ed97edcb7 |