Changed Phrase extraction function