IntroCModelingLA/Code/ngram.py
def cleanFWords(self):
		"""Eliminate ngrams that contain function words."""
		for i in self.ngrams.keys():
			parts = split(i)
			for x in parts:
				if x in self.functionWords:
					del self.ngrams[i]
Eliminate ngrams that contain function words.
Eliminate ngrams that contain function words.
Eliminate ngrams that contain function words .
def cleanFWords(self):
		for i in self.ngrams.keys():
			parts = split(i)
			for x in parts:
				if x in self.functionWords:
					del self.ngrams[i]
def cleanFWords ( self ) : for i in self . ngrams . keys ( ) : parts = split ( i ) for x in parts : if x in self . functionWords : del self . ngrams [ i ]
Eliminate ngrams that contain function words.
Eliminate ngrams that contain function words .
"""Eliminate ngrams that contain function words."""
self