danielMicallef / ingredient-parser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NOTE: Documentation needs a ton of work.


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
------------

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D

About

License:MIT License


Languages

Language:Python 100.0%