preprocessing.py
def generate_int_to_char_dictionary(self, data):
        """Creates the mapping of unique integers to unique characters
        """
        # Sets are unordered collections of unique elements
        charSet = set(data)
        # Put the set into a list and sort it
        chars = list(charSet)
        vocab = sorted(chars)
        return dict((index, character) for index, character in enumerate(vocab))
Creates the mapping of unique integers to unique characters
        
Creates the mapping of unique integers to unique characters
Creates the mapping of unique integers to unique characters
def generate_int_to_char_dictionary(self, data):
        charSet = set(data)
        chars = list(charSet)
        vocab = sorted(chars)
        return dict((index, character) for index, character in enumerate(vocab))
def generate_int_to_char_dictionary ( self , data ) : charSet = set ( data ) chars = list ( charSet ) vocab = sorted ( chars ) return dict ( ( index , character ) for index , character in enumerate ( vocab ) )
Creates the mapping of unique integers to unique characters
Creates the mapping of unique integers to unique characters
"""Creates the mapping of unique integers to unique characters
        """ # Sets are unordered collections of unique elements # Put the set into a list and sort it
self
data