Refactoring: PhraseExtractor