LID/resources/lidtrainer.py
def cleanPBIG(self):
		"""Eliminate tri-grams that contain punctuation marks."""
		for i in self.trigrams.keys():
			for a in punctuation:
				if a in i:
					value = self.trigrams[i]
					del self.trigrams[i]
					self.num -= value
					break
Eliminate tri-grams that contain punctuation marks.
Eliminate tri-grams that contain punctuation marks.
Eliminate tri - grams that contain punctuation marks .
def cleanPBIG(self):
		for i in self.trigrams.keys():
			for a in punctuation:
				if a in i:
					value = self.trigrams[i]
					del self.trigrams[i]
					self.num -= value
					break
def cleanPBIG ( self ) : for i in self . trigrams . keys ( ) : for a in punctuation : if a in i : value = self . trigrams [ i ] del self . trigrams [ i ] self . num -= value break
Eliminate tri-grams that contain punctuation marks.
Eliminate tri - grams that contain punctuation marks .
"""Eliminate tri-grams that contain punctuation marks."""
self