improved cleaning function by adding stemmer and word analysis