IntroCModelingLA/Code/MIParser.py
def trim(self, words):
		"""Removes the tags and floats from an utterance.
		"""
		result = []
		for x in words:
			if isinstance(x, list):
				result.append(self.trim(x))
			elif not isinstance(x, float):
				brownsplit=compiled.match(x);
				word=[brownsplit.group(1), brownsplit.group(2)];
				result.append(word[0])
		return result
Removes the tags and floats from an utterance.
		
Removes the tags and floats from an utterance.
Removes the tags and floats from an utterance .
def trim(self, words):
		result = []
		for x in words:
			if isinstance(x, list):
				result.append(self.trim(x))
			elif not isinstance(x, float):
				brownsplit=compiled.match(x);
				word=[brownsplit.group(1), brownsplit.group(2)];
				result.append(word[0])
		return result
def trim ( self , words ) : result = [ ] for x in words : if isinstance ( x , list ) : result . append ( self . trim ( x ) ) elif not isinstance ( x , float ) : brownsplit = compiled . match ( x ) ; word = [ brownsplit . group ( 1 ) , brownsplit . group ( 2 ) ] ; result . append ( word [ 0 ] ) return result
Removes the tags and floats from an utterance.
Removes the tags and floats from an utterance .
"""Removes the tags and floats from an utterance.
		"""
self
words