Back | WordLists

BulgarianStemmer - bulgarianStemmer.txt

Download Complete Wordlist (4.07 K)
Download Complete Wordlist bzip2 Compressed (1.25 K)
Showing 32 Randomly Sampled Lines...
substr($word,$i-6,2) = "я";
if ($word =~ m/та$/) { # final -Ta (art for femi)
if ($line =~ m/ен$/) { # final -eH -> H
return(substr($word,0,$i-6));
return($word);
return(substr($word,0,$i-4));
my($word, $i); # use local var $word and $i
}
if (($i > 12) && ($word =~ m/ият$/)) { # final -H(R)T
}
return($word);
return(substr($word,0,$i-4));
if ($i > 12) { # for words having more than 6 characters
return(substr($word,0,$i-4));
return($line);
if ($word =~ m/ове$/) { # final -OBe
if ($word =~ m/е..и$/) { # rewritting rule
$word =~ s/овци$/о/;
# done by J. Savoy University of Neuchatel (www.unine.ch/info/clef/)
$line =~ s/^(\s)+//;
$i = length($line);
# Light stemmer for Bulgarian language (to be viewed by selecting UTF-8 e
# specific plural rules for some words (masc)
return(substr($word,0,$i-4));
$word =~ s/ци$/к/;
$word = $_[0];
};
$word =~ s/зи$/г/;
$line =~ s/ен$/н/;
if ($line =~ m/[аое]$/) { # final -[aoe]
$line = substr($line,0,$i-2);
# done by J. Savoy University of Neuchatel (www.unine.ch/


Back | WordLists