Skip to content

Commit

Permalink
[de] disallow 'Internetkaffee'
Browse files Browse the repository at this point in the history
  • Loading branch information
janschreiber committed Aug 26, 2017
1 parent 2b483fc commit 5ee6b55
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,9 @@ protected List<String> getAdditionalTopSuggestions(List<String> suggestions, Str
} else if (word.matches("[wW]ikich(e[nmrs]?)?")) {
suggestion = word.replaceFirst("k", "rkl");
return Collections.singletonList(suggestion);
} else if (word.matches("Internetkaffees?")) {
suggestion = word.replaceFirst("kaffee", "café");
return Collections.singletonList(suggestion);
} else if (word.matches("[kK]ongratulier(en?|t(en?)?|st)")) {
suggestion = word.replaceFirst("[kK]on", "");
return Collections.singletonList(suggestion);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6978,3 +6978,4 @@ Endgeldwirtschaft
Endgeldwirtschaften
Endgeldzahlung
Endgeldzahlungen
Internetkaffee/S

0 comments on commit 5ee6b55

Please sign in to comment.