def decode(self, enc):
return '<STR_LIT>'.join(self._rev_index[c] for c in enc)<EOL>
Encode a text string by replacing characters with alphabet index.

        Parameters
        ----------
        classes : list of int
            A sequence of alphabet index values to convert to text.

        Returns
        -------
        txt : str
            A string containing corresponding characters from the alphabet.