def compute_unigram(input, unigram_count, total_word):
	"""
	compute_unigram - function to compute unigram probability
	Inputs:
		input : str
			Word
		unigram_count : defaultdict(int)
			Occurence hasmap of words/tokens
		total_word : int
			Total number of words/tokens
	Outputs:
		output : float
			unigram probability
	"""
	return unigram_count[input] / total_word