def transform(self, text):
        """
        :param unicode|str text: input text
        :type text: unicode|str

        :return: transformed text
        :rtype: unicode
        """
        if type(text) is not unicode:
            text = unicode(text, 'utf-8')
        return text