Open ItzShiney opened 2 years ago
For clarification, is this in the word generation section?
Yes
I am going to have to give this some thought. This module is a direct adaptation of the Zompist word generator, and a lot of users have expressed that they want to be able to copy/paste the patterns they use on that site into PolyGlot. This is absolutely one that I'm going to let stew in my brain for a bit though, it is a good idea, and if I'm careful about implementing it, I think I could add syntax that leaves Zompist functionality intact.
Yeah, maybe two different tabs? One is current Word Generator
, left unchanged, and one is Advanced Word Generator
working like I described. The tabs share the Categories
, Illegal Clusters
and Rewrite Rules
fields, but Advanced Word Generator
has Word Types
field instead of Syllable Types
, and has none of these↓ settings
The suggestion is to allow regex-like notation in syllable types field and rename it words structure. For example, if all words in a conlang:
(C)VCV(C)
, then writeC?VCVC?
instead ofVCV CVCV VCVC CVCVC
(C)V(N)
, then write(C?VN?){1:4}
instead ofV CV VN CVN VV CVV CVC
and so on(C)VCV(C)
, then write[AN]?[VL]NVF? N?V[AN][VL]F?
(where N is a non-aspirated consonant, A is an aspirated one, V is a short vowel and L is a long vowel)Maybe the functionality can be imitated with rewrite rules & illegal clusters, but it is obviously a bad approach