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

Extract Category Finder for Ingredients to separate API #159

Open
wp99cp opened this issue Jan 24, 2022 · 0 comments
Open

Extract Category Finder for Ingredients to separate API #159

wp99cp opened this issue Jan 24, 2022 · 0 comments
Labels
enhancement New feature or request scalability Problem with Scalability

Comments

@wp99cp
Copy link
Owner

wp99cp commented Jan 24, 2022

The export function uses an algorithm to find a food category of a given ingredient name, e.g. "Peperoni" gets categorized as "Früchte & Gemüse". This algorithm gets quite complicated, as it should work reliable also for combined or misspelt words, e.g. "Walliserbrot" should be classified as "Backwaren" even if the algorithm only knows "Brot" and not "Walliserbrot".

As spelling correction and classification could also be of interest for the frontend or other backend services (e.g. for classifying recipes), we should encapsulate these steps away from the export of the camp, by creating a separate API.

@wp99cp wp99cp added enhancement New feature or request scalability Problem with Scalability labels Jan 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request scalability Problem with Scalability
Projects
None yet
Development

No branches or pull requests

1 participant