Skip to main content

Parsing English and Swedish language ingredients into name and measure of the ingredient.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ingredient-parser, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size ingredient_parser-1.0.1-py2.py3-none-any.whl (6.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size ingredient_parser-1.0.1.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page