I think you are missing some values in your is_diphthong and is_valid_consonant_cluster to give better results.
Edit: I just realized this is for ancient Greek and my use case is modern Greek, so I am not sure my changes will apply.
I also wrote a bad test to make sure I follow the consensus on syllabifying.
Let me know if you want a pull request, or I can just paste them here.
I think you are missing some values in your
is_diphthongandis_valid_consonant_clusterto give better results.Edit: I just realized this is for ancient Greek and my use case is modern Greek, so I am not sure my changes will apply.
I also wrote a bad test to make sure I follow the consensus on syllabifying.
Let me know if you want a pull request, or I can just paste them here.