stem words from training and testing dataset