IntroCModelingLA/Code/ngram.py
def cleanText(self, text):
		"""Eliminates punctuation symbols from the submitted text."""
		for i in ":<>,./?\\';!()[]{}-" + '"': # punctuation:
			if i in text:
				text = replace(text, i, " ")
		return text
Eliminates punctuation symbols from the submitted text.
Eliminates punctuation symbols from the submitted text.
Eliminates punctuation symbols from the submitted text .
def cleanText(self, text):
		for i in ":<>,./?\\';!()[]{}-" + '"': 
			if i in text:
				text = replace(text, i, " ")
		return text
def cleanText ( self , text ) : for i in ":<>,./?\\';!()[]{}-" + '"' : if i in text : text = replace ( text , i , " " ) return text
Eliminates punctuation symbols from the submitted text.
Eliminates punctuation symbols from the submitted text .
"""Eliminates punctuation symbols from the submitted text.""" # punctuation:
self
text