did a little work on extract_each_phrase method in sample_phrase model