Groups by paragraphs when collecting embedding