improved get_words with postprocessor