Skip to content

Commit

Permalink
fix unwanted changes
Browse files Browse the repository at this point in the history
  • Loading branch information
benbenben2 committed Oct 26, 2023
1 parent 75fde60 commit 6893413
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/ProductOpener/Ingredients.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4558,7 +4558,6 @@ my %ignore_phrases = (
de => [
'\d\d?\s?%\sFett\si(\.|,)\s?Tr(\.|,)?', # 45 % Fett i.Tr.
'inklusive',
'anderen',
],
en => ['not applicable',],
fr => ['non applicable|non concerné',],
Expand Down Expand Up @@ -5685,7 +5684,6 @@ sub preparse_ingredients_text ($ingredients_lc, $text) {
if (defined $allergens_stopwords{$ingredients_lc}) {
$stopwords = $allergens_stopwords{$ingredients_lc};
}
$log->debug("benbenbenlog - stopwords: $stopwords") if $log->is_debug();

# $contains_or_may_contain_regexp may be the end of a sentence, remove the beginning
# e.g. this product has been manufactured in a factory that also uses...
Expand Down

0 comments on commit 6893413

Please sign in to comment.