Skip to content

Commit

Permalink
vær grinch, ikke ugrammatisk
Browse files Browse the repository at this point in the history
  • Loading branch information
sshine committed Nov 27, 2024
1 parent 1c2ce23 commit 01070c2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions concieggs/filters/grinch
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ while (my $line = <>) {
$line =~ s/\bpakker\b/stykker kul/gi;
$line =~ s/\bhygge\b/arbejde hårdt/gi;
$line =~ s/hygge\b//gi;
$line =~ s/fugle-//gi;
$line =~ s/familier/virksomheder/gi;
$line =~ s/familie\b/virksomheds/gi;
$line =~ s/stjerner/fugle/gi;
Expand Down Expand Up @@ -88,7 +87,7 @@ while (my $line = <>) {
$line =~ s/Maria/Marlene/gi;
$line =~ s/Josef/Jens/gi;
$line =~ s/hyrde/fodermester/gi;
$line =~ s/Bethlehem/Slagelse/gi;
$line =~ s/Beth?lehem/Slagelse/gi;
$line =~ s/\blam/kalv/gi;
$line =~ s/hjerte/lunge/gi;
$line =~ s/\bløn/salær/gi;
Expand All @@ -100,8 +99,12 @@ while (my $line = <>) {
$line =~ s/glæden/følelsen/gi;
$line =~ s/glæde/følelser/gi;
$line =~ s/\bhåb/aspiration/gi;
$line =~ s/\bbarnet/personen/gi;
$line =~ s/\bbarn/person/gi;
$line =~ s/krybbe/hængekøje/gi;
$line =~ s/\bblid/sensitiv/gi;
$line =~ s/\bføde/søsætte/gi;
$line =~ s/jord/planet/gi;

# Ban bad foods
my $food_pattern = '(\b' . join('\b|\b', @bad_foods) . '\b)';
Expand Down

0 comments on commit 01070c2

Please sign in to comment.