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

taxonomy: More german ingredient #9094

Merged
merged 7 commits into from
Oct 5, 2023
Merged

Conversation

moon-rabbitOFF
Copy link
Contributor

What

Screenshot

Related issue(s) and discussion

  • Fixes #[ISSUE NUMBER]

@github-actions github-actions bot added 🧬 Taxonomies https://wiki.openfoodfacts.org/Global_taxonomies 🥗 Ingredients labels Oct 1, 2023
@codecov-commenter
Copy link

codecov-commenter commented Oct 1, 2023

Codecov Report

Merging #9094 (d9ec094) into main (d1481ab) will increase coverage by 0.05%.
Report is 7 commits behind head on main.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #9094      +/-   ##
==========================================
+ Coverage   47.85%   47.91%   +0.05%     
==========================================
  Files          64       64              
  Lines       19965    20003      +38     
  Branches     4833     4843      +10     
==========================================
+ Hits         9554     9584      +30     
- Misses       9163     9168       +5     
- Partials     1248     1251       +3     

see 6 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@teolemon teolemon added the German https://wiki.openfoodfacts.org/Local_Communities/GermanTeam label Oct 2, 2023
@@ -43538,6 +43543,11 @@ fr:Framboises entières
nl:hele frambozen
# 10@2019-06-07

<en:raspberry
en:raspberry pieces
de:Himbeerstücke
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should try not to add entries like "something pieces", and use the ingredients_processing.txt instead.
Here it doesn't work because in ingredients.txt we have
de:Himbeeren, Himbeere

If we add "Himbeer" as a synonym in ingredients.txt, then we will recognize Himbeerstücke automatically because we have a processing for it:

en:pieces
bg:парчета, парченца, парченца от
ca:peça, peces, trossos de, trossos d', guarnició
af:stukkies
de:stücke, stücken, stückchen, gestückelt, stück

I don't know German unfortunately, so I'm hoping it's fine to put "Himbeer" without an "e" in the synonyms?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay I removed it from the pull request. Himbeer without "e" doesn't exist as a word in itself, but in compound words the "e" is removed to attached both words together

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, let's merge this PR as is, I filed a bug to try to improve the compound words issue: #9115

@stephanegigandet stephanegigandet changed the title More german ingredient taxonomy: More german ingredient Oct 3, 2023
@sonarcloud
Copy link

sonarcloud bot commented Oct 3, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@stephanegigandet stephanegigandet merged commit 4a16c8b into main Oct 5, 2023
13 checks passed
@stephanegigandet stephanegigandet deleted the more-german-ingredient branch October 5, 2023 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
German https://wiki.openfoodfacts.org/Local_Communities/GermanTeam 🥗 Ingredients 🧬 Taxonomies https://wiki.openfoodfacts.org/Global_taxonomies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants