private String extractPosition(String idref)
			throws IDrefNotInSentenceException, FeatureValueNotCalculatedException {

		String position = "";

		/*
		 * Possible cases:
		 * 0 - idref in front of the separated target 1 - idref
		 * inbetween of the separated target 2 - idref in front of a single
		 * target 
		 * 3 - idref behind the single / separated target
		 */
		int targetFirstPos = sentence.getTarget().getFirstWordPos();
		int targetLastPos = sentence.getTarget().getLastWordPos();
		int ownPos = Helper.getPosFromID(sentence.getNode(idref).getHeadIDref());


		if (targetFirstPos != targetLastPos && ownPos <= targetFirstPos)
			return "0";
		if (targetFirstPos != targetLastPos && ownPos <= targetLastPos)
			return "1";
		if (targetFirstPos == targetLastPos && ownPos <= targetLastPos)
			return "2";
		if (ownPos >= targetLastPos)
			return "3";

		if (position.isEmpty()) {
			throw new FeatureValueNotCalculatedException("The position could not be determined!");
		}
		return "";

	}