(self, word)
return word
Transliterate a Russian word back into the Cyrillic alphabet.

        A Russian word formerly transliterated into the Roman alphabet
        in order to ease the stemming process, is transliterated back
        into the Cyrillic alphabet, its original form.

        :param word: The word that is transliterated.
        :type word: str or unicode
        :return: word, the transliterated word.
        :rtype: unicode
        :note: This helper method is invoked by the stem method of the subclass
               RussianStemmer. It is not to be invoked directly!
Transliterate a Russian word back into the Cyrillic alphabet.
Transliterate a Russian word back into the Cyrillic alphabet .
def __roman_to_cyrillic(self, word):
        """
        Transliterate a Russian word back into the Cyrillic alphabet.

        A Russian word formerly transliterated into the Roman alphabet
        in order to ease the stemming process, is transliterated back
        into the Cyrillic alphabet, its original form.

        :param word: The word that is transliterated.
        :type word: str or unicode
        :return: word, the transliterated word.
        :rtype: unicode
        :note: This helper method is invoked by the stem method of the subclass
               RussianStemmer. It is not to be invoked directly!

        """
        word = (word.replace("i^u", u("\u044E")).replace("i^a", u("\u044F"))
                    .replace("shch", u("\u0449")).replace("kh", u("\u0445"))
                    .replace("t^s", u("\u0446")).replace("ch", u("\u0447"))
                    .replace("e`", u("\u044D")).replace("i`", u("\u0439"))
                    .replace("sh", u("\u0448")).replace("k", u("\u043A"))
                    .replace("e", u("\u0435")).replace("zh", u("\u0436"))
                    .replace("a", u("\u0430")).replace("b", u("\u0431"))
                    .replace("v", u("\u0432")).replace("g", u("\u0433"))
                    .replace("d", u("\u0434")).replace("e", u("\u0435"))
                    .replace("z", u("\u0437")).replace("i", u("\u0438"))
                    .replace("l", u("\u043B")).replace("m", u("\u043C"))
                    .replace("n", u("\u043D")).replace("o", u("\u043E"))
                    .replace("p", u("\u043F")).replace("r", u("\u0440"))
                    .replace("s", u("\u0441")).replace("t", u("\u0442"))
                    .replace("u", u("\u0443")).replace("f", u("\u0444"))
                    .replace("''", u("\u044A")).replace("y", u("\u044B"))
                    .replace("'", u("\u044C")))
        return word
def __roman_to_cyrillic ( self , word ) : word = ( word . replace ( "i^u" , u ( "\u044E" ) ) . replace ( "i^a" , u ( "\u044F" ) ) . replace ( "shch" , u ( "\u0449" ) ) . replace ( "kh" , u ( "\u0445" ) ) . replace ( "t^s" , u ( "\u0446" ) ) . replace ( "ch" , u ( "\u0447" ) ) . replace ( "e`" , u ( "\u044D" ) ) . replace ( "i`" , u ( "\u0439" ) ) . replace ( "sh" , u ( "\u0448" ) ) . replace ( "k" , u ( "\u043A" ) ) . replace ( "e" , u ( "\u0435" ) ) . replace ( "zh" , u ( "\u0436" ) ) . replace ( "a" , u ( "\u0430" ) ) . replace ( "b" , u ( "\u0431" ) ) . replace ( "v" , u ( "\u0432" ) ) . replace ( "g" , u ( "\u0433" ) ) . replace ( "d" , u ( "\u0434" ) ) . replace ( "e" , u ( "\u0435" ) ) . replace ( "z" , u ( "\u0437" ) ) . replace ( "i" , u ( "\u0438" ) ) . replace ( "l" , u ( "\u043B" ) ) . replace ( "m" , u ( "\u043C" ) ) . replace ( "n" , u ( "\u043D" ) ) . replace ( "o" , u ( "\u043E" ) ) . replace ( "p" , u ( "\u043F" ) ) . replace ( "r" , u ( "\u0440" ) ) . replace ( "s" , u ( "\u0441" ) ) . replace ( "t" , u ( "\u0442" ) ) . replace ( "u" , u ( "\u0443" ) ) . replace ( "f" , u ( "\u0444" ) ) . replace ( "''" , u ( "\u044A" ) ) . replace ( "y" , u ( "\u044B" ) ) . replace ( "'" , u ( "\u044C" ) ) ) return word