Thanks for those leads, we'll follow up on this.<br>I actually spent this week switching a bunch of things around yet again, so it's a matter of waiting for it to cool into a stable shape. It's still lava right now....<br>
<br><div class="gmail_quote">On Sat, Apr 28, 2012 at 9:36 AM, Jonathan Foote <span dir="ltr"><<a href="mailto:jtfoote@ieee.org" target="_blank">jtfoote@ieee.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The Natural Language Toolkit might be a good place to start:<br>
<a href="http://www.nltk.org/" target="_blank">http://www.nltk.org/</a><br>
<br>
In particular, it has the CMU English pronunciation dictionary baked in.<br>
<a href="https://nltk.googlecode.com/svn/trunk/doc/howto/corpus.html#word-lists-and-lexicons" target="_blank">https://nltk.googlecode.com/svn/trunk/doc/howto/corpus.html#word-lists-and-lexicons</a><br>
<br>
If your mapping is 1:1 phonemes to codes your problem is pretty much<br>
solved with a Python dict lookup supplemented with some rules for<br>
non-dictionary entries (e.g.<br>
<a href="http://rhdunn.github.com/cainteoir/rules.html" target="_blank">http://rhdunn.github.com/cainteoir/rules.html</a>)<br>
<div class="HOEnZb"><div class="h5"><br>
On Sat, Apr 28, 2012 at 2:19 AM,  <<a href="mailto:glamortramp@riseup.net">glamortramp@riseup.net</a>> wrote:<br>
> I've invented a new code language called ZLang and I want to be able to<br>
> convert English into ZLang with the click of a button.<br>
><br>
> Can someone help or point me to some links, or possibly provide the sort<br>
> of algorithm (or logarithm? I'm over my head) I would need to make that<br>
> conversion possible?<br>
><br>
> It's complicated, I suppose, by the fact that it's not always an easy,<br>
> letter-for-letter conversion; some English sounds (notably th, sh, ch) are<br>
> represented by a single letter in ZLang, and vice versa. Here's the<br>
> decryption key link if anyone's interested.<br>
><br>
> <a href="http://zine.noisebridge.net/zlang" target="_blank">http://zine.noisebridge.net/zlang</a><br>
><br>
> It's already gone through a great deal of permutation and will probably go<br>
> through more. There's a fluidity to it: most of the time, there is more<br>
> than one letter or sound in ZLang that can be used to answer the English<br>
> sound. That leaves a certain amount of room for bending the rules or<br>
> choosing between different alternatives according to one's own aesthetic<br>
> sense of how a word should look, or what's necessary in order to allow<br>
> smooth pronunciation. I arrived at that after early version of ZLang that<br>
> were too rigid & resulted in unpronounceable or aesthetically deficient<br>
> words & sentences.<br>
><br>
> You could say it's an experiment in linguistic fluidity, or a less<br>
> "autocratic" form of language. I'm not sure I would say that.....but you<br>
> could.<br>
><br>
><br>
> Tony/Glam<br>
><br>
> _______________________________________<br>
><br>
> Glam......or tramp?<br>
><br>
> _______________________________________________<br>
> Noisebridge-discuss mailing list<br>
> <a href="mailto:Noisebridge-discuss@lists.noisebridge.net">Noisebridge-discuss@lists.noisebridge.net</a><br>
> <a href="https://www.noisebridge.net/mailman/listinfo/noisebridge-discuss" target="_blank">https://www.noisebridge.net/mailman/listinfo/noisebridge-discuss</a><br>
_______________________________________________<br>
Noisebridge-discuss mailing list<br>
<a href="mailto:Noisebridge-discuss@lists.noisebridge.net">Noisebridge-discuss@lists.noisebridge.net</a><br>
<a href="https://www.noisebridge.net/mailman/listinfo/noisebridge-discuss" target="_blank">https://www.noisebridge.net/mailman/listinfo/noisebridge-discuss</a><br>
</div></div></blockquote></div><br>