pruned input text