def find_non_sep_position(text, norm_position, norm_sep="|", morph_sep="-"):
	"""
	Finds the actual position of character n in a string, such that n is the
	number of characters traversed excluding separator characters

	:param text: the text to search for a position in
	:param norm_position: position ignoring separators
	:param norm_sep: clean separator to ignore when counting, default '|'
	:param norm_sep: morph separator to ignore when counting, default '-'
	:return: position in string not ignoring separators
	"""

	cursor = -1
	position = -1
	for c in text:
		position +=1
		if c != norm_sep and c != morph_sep:
			cursor +=1
			if cursor == norm_position:
				break
	return position