intficpy/tokenizer.py
def cleanInput(input_string, record=True):
    """
    Used on player commands to remove punctuation and convert to lowercase
    Takes the raw user input (string)
    Returns a string
    """
    input_string = input_string.lower()
    exclude = set(string.punctuation)
    return "".join(ch for ch in input_string if ch not in exclude)

    Used on player commands to remove punctuation and convert to lowercase
    Takes the raw user input (string)
    Returns a string
    
Used on player commands to remove punctuation and convert to lowercase
Takes the raw user input (string)
Returns a string
Used on player commands to remove punctuation and convert to lowercase Takes the raw user input ( string ) Returns a string
def cleanInput(input_string, record=True):
    input_string = input_string.lower()
    exclude = set(string.punctuation)
    return "".join(ch for ch in input_string if ch not in exclude)
def cleanInput ( input_string , record = True ) : input_string = input_string . lower ( ) exclude = set ( string . punctuation ) return "" . join ( ch for ch in input_string if ch not in exclude )
Used on player commands to remove punctuation and convert to lowercase
Takes the raw user input (string)
Returns a string
Used on player commands to remove punctuation and convert to lowercase Takes the raw user input ( string ) Returns a string
"""
    Used on player commands to remove punctuation and convert to lowercase
    Takes the raw user input (string)
    Returns a string
    """
input_string
record