undef @stopwords{ map decode("KOI8-R", $_), keys %{getStopWords("ru")} + };
That’s a really interesting hash slice trick. I like it. Haven’t learned a new Perl idiom in a long time. Thanks.
I don’t know anything about Cyrillic alphabets. Would fc be preferable to lc here or is it irrelevant given the character set?
In reply to Re^5: Problem getting Russian stopwords
by Your Mother
in thread Problem getting Russian stopwords
by cormanaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |