(Thank goodness for school computers!)
Alfar wrote:I was thinking of letting WB grab what it needs from the native CD xml file. It looked reasonably simple when I checked last, but there's probably a bunch of things I haven't tried out in there.
Cool - go for it! I should point out, though, that the text representing the phonemes in the phonotactics tag is actually the name of the phoneme, which might be IPA and thus not what you want (the parsing algorithms in CD won't expect to see phoneme
names). The orthographic representations are in the phonemeDef tags further up, and there can be multiple values - you probably want the first one.
I think I'd have to make more or less the opposite of the code you have that picks out syllables and onset, peak and coda and such, and generate a script from that.
Actually, generating should be much easier than parsing, because you don't have to backtrack.
It works disturbingly like the linux counterpart, but IIRC there are slight differences - hence the disturbance...
Seems like everything works a little differently in Windows.

My knowledge of all this is kind of sketchy though, so I'll look things up over the weekend. OTOH, if simply saving things to disk and reading them with the other program works, maybe with some script/batch file mediation, it might not be necessary.