Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

will this extract ingredients? #5

Open
ralyodio opened this issue Dec 27, 2020 · 4 comments
Open

will this extract ingredients? #5

ralyodio opened this issue Dec 27, 2020 · 4 comments

Comments

@ralyodio
Copy link

I'm thinking of building a recipe database and am looking for a tool that will extract ingredients and measurements.

The docs aren't clear if that's what this library does.

I won't know ahead of time what the ingredients are. I will only have the text.

@Charlie85270
Copy link
Owner

Hi Chovy, this library extract the unit, the quantity and the ingredient text of a recipe instructions.
Ex : 12 cl of cold water -> unit 'cl' , quantity '12' and ingredients 'cold water'.
The lib can return key for unit (12 cl of water and 12 centilitre of cold water will both return unit = 'cl') but not modify the ingredient text (the first return ingredient = 'water' and the second = 'cold water'.

@ralyodio
Copy link
Author

will it work on a block of text or html or does the input need to be formatted somehow?

@Charlie85270
Copy link
Owner

It's work with simple string

@ralyodio
Copy link
Author

so it assumes the input is an ingredient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants