Skip to content

Commit

Permalink
Added an irregular word to Russian stemmer.
Browse files Browse the repository at this point in the history
  • Loading branch information
parpalak committed Apr 28, 2024
1 parent aefda89 commit b4ce01a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/S2/Rose/Stemmer/PorterStemmerRussian.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ class PorterStemmerRussian extends AbstractStemmer implements StemmerInterface
'кое-кем' => 'кое-кто',
'кое-ком' => 'кое-кто',

'печать' => 'печат', // стеммер считает, что это глагол

'шея' => '',
'шеи' => 'шея',
Expand Down

0 comments on commit b4ce01a

Please sign in to comment.