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

[Feature]: Implement a parser to avoid duplicates. #33

Open
Jajaho opened this issue Sep 13, 2022 · 0 comments
Open

[Feature]: Implement a parser to avoid duplicates. #33

Jajaho opened this issue Sep 13, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request priority-3 Low priority

Comments

@Jajaho
Copy link

Jajaho commented Sep 13, 2022

Is your feature request related to a problem? Please describe.

Whenever two similar ingredients with unequal names are collected, they aren't merged together but listed separately.

Describe the solution you'd like

A parser could be implemented to associate multiple spellings, conceivably also in multiple languages, of the same ingredient to a single ingredient object stored in a list. Such an object could also have a priority property to sort the list by priority e.g. the order by which the products are typically encountered in the supermarket.

Describe alternatives you've considered

Additional context

Example:

300 g Champignons
200 g braune Champingnons
@Slartibartfass2 Slartibartfass2 added the enhancement New feature or request label Sep 20, 2022
@Slartibartfass2 Slartibartfass2 transferred this issue from Slartibartfass2/IngredientGatherer Sep 25, 2022
@Slartibartfass2 Slartibartfass2 added the priority-3 Low priority label Sep 25, 2022
@Slartibartfass2 Slartibartfass2 self-assigned this Sep 29, 2022
@Slartibartfass2 Slartibartfass2 transferred this issue from another repository Feb 1, 2023
@Slartibartfass2 Slartibartfass2 changed the title Implement a parser to avoid duplicates. [Feature]: Implement a parser to avoid duplicates. Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority-3 Low priority
Projects
None yet
Development

No branches or pull requests

2 participants