def add_end_character(text):
	"""Adds a period to the end of the text. This could be useful when concatentating
	text while still retaining the sentence or phrase boundaries taken into account by
	other processing steps such as part-of-speech analysis. Accounts for text that 
	already ends in periods or semicolons or is an empty string.
	
	Args:
	    text (str): Any piece of text.
	
	Returns:
	    str: That text with a period added to the end.
	"""
	if len(text) > 0:
		last_character = text[len(text)-1]
		end_tokens = [".", ";"]
		if not last_character in end_tokens:
			text = text+"."
	return(text)