def ASCII_encoding(self):
        """Returns the ASCII encoding of a string"""

        w = unicodedata.normalize('NFKD', self.word).encode('ASCII',
                                                            'ignore')  # Encode into ASCII, returns a bytestring
        w = w.decode('utf-8')  # Convert back to string

        return w
def ASCII_encoding ( self ) : w = unicodedata . normalize ( 'NFKD' , self . word ) . encode ( 'ASCII' , 'ignore' ) w = w . decode ( 'utf-8' ) return w
Returns the ASCII encoding of a string