milosen / arc

ARC: A tool for creating artificial languages with rhythmicity control
MIT License
2 stars 0 forks source link

Write __iter__ magic method for all types #1

Closed milosen closed 11 months ago

milosen commented 1 year ago

... to make them iterate over their constituents:

E.g. [syllble.id for word in lexicon for syllable in word] should give us a complete list of syllable-strings in the lexicon.