How to divide a poem into one sentence

In ancient poetry, a period usually means the end of a sentence, so a period is also a sentence. Commas are usually used to separate juxtaposed components in poetry and do not indicate the end of a sentence. However, sometimes, the poet's style of writing may be different. In some places, commas may be used to express some special meanings, but this is rare. So generally speaking, ancient poetry always ends with a period.