NZ Town names - avoiding repeating vowels
Posted: 03 Nov 2010 09:47
Hi everyone.
I've made a quick New Zealand town name NewGRF that uses a simple list pulled from Wikipedia, but my aim is to make all the town names automatically generated.
About 60% (but I was thinking 5/8 or 3/4) of our town names are in Maori. I thought this would be good to make random names from because, sort of like Japanese, it consists of a few 'consonant-vowel' syllables e.g. Ma-ta-ka-na, Wai-he-ke. Also included are vowels that stand alone (i.e. a,e,i,o,u). This is useful for a made-up name like O-wa-ka-nu-i.
I'd like to avoid producing the same vowel in a row, and make sure there's no more than 3 vowels in a row. (To avoid something like Oaaati).
Two ways I've thought of doing this:
1. Only allowing single vowels for the first syllable, and having a greater variety of parts (i.e. "nui", "tau", "noa" will all be pre generated).
2. Having 2 different IDs, each cleverly avoiding possible repeats (so the ID with the first part option "Ma", will not have "a" as an option in the second part. An alternative ID will not have "Ma" as a first part, but have "a" as a second part.)
Obviously option 1 is easiest, but greatly increases the number of needed parts to enable places like "Taie-ri" or "Paua-nui".
I'm just checking that there isn't a "filter" option or anything I'm missing!
I'd appreciate any other input people have. I will upload the completed NewGRF if I get it working satisfactorily. (I've got some things in mind for producing the "English" NZ names, but wanna get the Maori ones sorted first.)
In my attachment note the problem towns Raaaku and Uruupa.
I've made a quick New Zealand town name NewGRF that uses a simple list pulled from Wikipedia, but my aim is to make all the town names automatically generated.
About 60% (but I was thinking 5/8 or 3/4) of our town names are in Maori. I thought this would be good to make random names from because, sort of like Japanese, it consists of a few 'consonant-vowel' syllables e.g. Ma-ta-ka-na, Wai-he-ke. Also included are vowels that stand alone (i.e. a,e,i,o,u). This is useful for a made-up name like O-wa-ka-nu-i.
I'd like to avoid producing the same vowel in a row, and make sure there's no more than 3 vowels in a row. (To avoid something like Oaaati).
Two ways I've thought of doing this:
1. Only allowing single vowels for the first syllable, and having a greater variety of parts (i.e. "nui", "tau", "noa" will all be pre generated).
2. Having 2 different IDs, each cleverly avoiding possible repeats (so the ID with the first part option "Ma", will not have "a" as an option in the second part. An alternative ID will not have "Ma" as a first part, but have "a" as a second part.)
Obviously option 1 is easiest, but greatly increases the number of needed parts to enable places like "Taie-ri" or "Paua-nui".
I'm just checking that there isn't a "filter" option or anything I'm missing!
I'd appreciate any other input people have. I will upload the completed NewGRF if I get it working satisfactorily. (I've got some things in mind for producing the "English" NZ names, but wanna get the Maori ones sorted first.)
In my attachment note the problem towns Raaaku and Uruupa.