Skip to content

Commit

Permalink
[german] Don't remove -em if preceded by -syst
Browse files Browse the repository at this point in the history
Previously we would overstem words ending -system.  This change means
we now conflate e.g. "system" and "systemen".

See #161
  • Loading branch information
ojwb committed Nov 9, 2023
1 parent 66db104 commit 867c4ec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion algorithms/german.sbl
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,11 @@ backwardmode (
define standard_suffix as (
do (
[substring] R1 among(
'em' 'ern' 'er'
'em'
( not 'syst'
delete
)
'ern' 'er'
( delete
)
'e' 'en' 'es'
Expand Down

0 comments on commit 867c4ec

Please sign in to comment.