MarkFromPhrasesGen