public static void assign_position(Vector<AlignmentTriplet> triplets) {
	for (AlignmentTriplet triplet : triplets) {
	    FlaggableCharacterString stream = triplet.getInputstream();

	    int pos = 0;
	    for (int i = 0; i < stream.size(); i++) {
		FlaggableCharacter c = stream.charAt(i);
		if (c.isFlagged()) {
		    c.setPosition(0);
		    pos = 0;
		} else {
		    if (c.getSymbol() == '<' && pos > 0) {
			pos--;
		    }
		    c.setPosition(pos);
		    if (new IsLetterCondition().applies(c)) {
			pos++;
		    }
		}
	    }
	}
    }