drift -- a game of language generation
|From:||Boudewijn Rempt <boud@...>|
|Date:||Sunday, April 28, 2002, 21:57|
I've just put up the first version of a lexicon generator written in Python
(version 2.2.1). It's quite flexible: you can define groups of phonemes,
group those in syllables, group the syllables in words, and then apply sound
changes to those words.
It doesn't have historical sound changes yet (although that would be easy
enough: the phonological rule engine is done, I've just not added another
input file), and there are a few bugs and other TODO's. But it's a nice game,
and it generates genuine utf-8 encoded lexica, using a nice and useful
wordlist with 250 items I found somewhere else.
I'm not going to maintain this script: it's crummy (I should brush up on
algorithms one of these days), and it has suited my current purposes well
enough: that is, it tided me over while I was contemplating the revision
of the novel of Murxao, of which the first draft is done.
But people have asked for it, so here:
Share and enjoy.
Boudewijn Rempt | http://www.valdyas.org