pruning whole text vector