Processes text input using Porter Stemmer Algorithm