<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Hello,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
I was trying to understand the recent changes to the Norwegian stemmer, in particular step 1 for "<b><i>ers</i></b>".  The rule states:</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<dt class="elementToProof"><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">(<i>b</i>)
<b><i>ers</i></b> </span></dt><dd class="elementToProof"><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">find the longest suffix preceding
<b><i>ers</i></b>, and perform the action indicated. </span>
<dl><dt><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">(<i>i</i>>
<b><i>amm   ast   ind   kap   kk   lt   nk   omm   pp   v   øst</i></b> </span></dt><dd><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">do nothing
</span></dd><dt><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">(<i>ii</i>>
<b><i>giv   hav   skap</i></b> </span></dt><dd><span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">delete
<b><i>ers</i></b> suffix </span></dd></dl>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Something I'm confused by is that "balders" gets stemmed to "bald", according to the output files. Why is the "ers" removed in this case? It isn't proceeded by "giv", "hav", or "skap", so it shouldn't be deleted. And nothing in step 2 or 3 is looking at "ers",
 so it shouldn't be getting removed there.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; color: rgb(0, 0, 0);" class="elementToProof">
<span style="font-size: 12pt;">Also, I'm confused by where it says for "<b><i>amm   ast   ind   kap   kk   lt   nk   omm   pp   v   øst</i></b>" to "do nothing"? Why are these explicitly mentioned? If it isn't "</span><span style="font-size: 16px; background-color: rgb(255, 255, 255);"><b><i>giv
   hav   skap</i></b></span><span style="font-size: 12pt;">", then nothing should happen anyway, right? If "ers" is proceeded by "bald", I would expect for it to not delete anything.</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
I tried looking at the Snowball code and I noticed this:</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
  'giv' 'hav' 'skap' ''<br>
    (delete)</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
There is a blank '' included in the list of values in front of the suffix that would trigger a delete. What does that imply, it's not explained in the docs.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Thank you for any clarification,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Blake</div>
</dd></body>
</html>