def parseTopicwise(word_topic_number, num):
	"""
	Parse the list

	Arguments
	---------
	word_topic_number: list of list of word and its frequency in a topic
	num: number of topics

	Return
	---------
	list of dictionary for each topic with frequency of each word.
	Output in this format: [{'word':count, ...}, ...]
	"""

	# Create empty dictionary to store the word counts
	topics = []
	for i in range(num):
		topics.append(dict())

	# Iterate over every word
	for i in range(len(word_topic_number)):
		for j in range(1, len(word_topic_number[i])):
			topic_count = word_topic_number[i][j].split(':')
			topics[int(topic_count[0])][word_topic_number[i][0]] = topic_count[1]

	return topics