def generate_transition_bigram_counts(file_path):
	"""Reads the file with the given file_path.
	Creates dictionary containing the transition bigram counts
	in the following format:
	{(tag[i-1], tag[i]) : count}
	"""
	transition_bigram_counts = dict()
	with open(file_path) as f:
		line_count = 0
		for line in f:
			line_count+=1
			if line_count%3 != 0:
				continue
			tag_set = ["<START>"] + line.lower().split()
			i = 1
			while(i<len(tag_set)):
				tag_tuple = (tag_set[i-1], tag_set[i])
				if tag_tuple not in transition_bigram_counts:
					transition_bigram_counts[tag_tuple] = 1
				else:
					transition_bigram_counts[tag_tuple]+=1
				i+=1
	return transition_bigram_counts