import string


def load_phrases(filename):
	"""Load phrases from file and strip punctuation characters."""
	f = open(filename, 'r')
	punctuation_table = str.maketrans({key: None for key in string.punctuation})
	phrases = [line.lower().rstrip("\r\n").translate(punctuation_table) for line in f]
	f.close()
	return phrases