def slowComplete(prefix, list_of_words, top):
	"""
	For a given prefix, provide top suggestions from this list of words.

	Parameters
	----------
	prefix: Signal word used here
	list_of_words: a file that has the example format
	top: top many suggestions as output

	Return
	------
	the top k recommendations with given prefix and list


	"""
	file = open(list_of_words, 'r')
	data = file.readlines()
	data_list = []
	for i in range(len(data)):
		if i != 0:
			data_list.append(data[i])
	num_list = []
	word_list = []
	for l in data_list:
		if l != '\n':
			entry = l.split('\t')
			num_list.append(int(entry[0]))
			word_list.append(entry[1][:-1])
	candidate_list = []
	for i in range(len(word_list)):
		if word_list[i].startswith(prefix):
			candidate_list.append((word_list[i],num_list[i]))
	sorted(candidate_list, key=lambda x: x[1])
	final_list = candidate_list[0:top]
	return(final_list)