work on extract_each_phrase method