Skip to content

Commit

Permalink
Update for German -erin, -erinnen change
Browse files Browse the repository at this point in the history
  • Loading branch information
ojwb committed Oct 11, 2024
1 parent 78d4ca8 commit f49b981
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions algorithms/german/stemmer.tt
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,12 @@ Step 1:
(<I>b</I>) <B><I>ern &nbsp; er</I></B><BR>
(<I>c</I>) <B><I>e &nbsp; en &nbsp; es</I></B><BR>
(<I>d</I>) <B><I>s</I></B> (preceded by a valid <B><I>s</I></B>-ending)<BR>
(<I>e</I>) <B><I>ln &nbsp; lns</I></B> [added in Snowball 2.3.0]
(<I>e</I>) <B><I>erin &nbsp; erinnen</I></B> [added in Snowball 2.3.0]<BR>
(<I>f</I>) <B><I>ln &nbsp; lns</I></B> [added in Snowball 2.3.0]
</DL>
<p>
and if in <I>R</I>1 then delete (for (a) to (d)) or replace with <I>l</I> (for (e)). (Of course the letter of the valid <B><I>s</I></B>-ending is
and if in <I>R</I>1 then delete (for (a) to (e)) or replace with <I>l</I> (for (f)).
(Of course the letter of the valid <B><I>s</I></B>-ending is
not necessarily in <I>R</I>1.) If an ending of group (<I>c</I>) is deleted, and the ending
is preceded by <B><I>niss</I></B>, delete the final <B><I>s</I></B>.
</p>
Expand Down
1 change: 1 addition & 0 deletions code/german.sbl
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ backwardmode (
delete
)
'ern' 'er'
'erin' 'erinnen' // conflate female versions of nouns
( delete
)
'e' 'en' 'es'
Expand Down

0 comments on commit f49b981

Please sign in to comment.