Production and judgment processes in a word problem