Skip to content

Commit 69e9680

Browse files
committed
Update Norwegian stemmer algorithm description
Algorithm is the same, just incorporating recent extended explainations of how it works.
1 parent a967f55 commit 69e9680

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

docs/manual/norwegian.qmd

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,17 @@ Step 1:
3030

3131
    (_b_) **_ers_**
3232

33-
      find the longest suffix preceding **_ers_**, and perform the action indicated.
33+
      check the suffix preceding **_ers_** and perform the action indicated for the first match found:
3434

35-
        (_i_\> **_amm   ast   ind   kap   kk   lt   nk   omm   pp   v   øst_**
35+
        (_i_) **_giv   hav   skap_**
36+
37+
          delete **_ers_** suffix
38+
39+
        (_ii_) **_amm   ast   ind   kap   kk   lt   nk   omm   pp   v   øst_**
3640

3741
          do nothing
3842

39-
        (_ii_\> **_giv   hav   skap_**
43+
        (_iii_) if none of these suffixes are present
4044

4145
          delete **_ers_** suffix
4246

0 commit comments

Comments
 (0)