Hello,
This may be slightly OT. I was wondering about text cababilites PD has. I was wondering if PD could recognize words somehow, so that say I gave it three letters A, B, and T, it would result to me BAT, or TAB, but not BTA, ATB or ABT. As the latter are not words in the english language. Also maybe It could do something like a spell check where letters that are close to forming words, would be corrected and output. I am looking to have some kind of perfomance with the text. I like the structure and organizational design in PD so that is why I thought PD. Eventually I may want sound to react to specific words. I am not an experienced programer, and PD is all I really know at the moment. I think there is nothing in PD that will do this text function, but is there anyway for me to use it in conjuction with a spellcheck aplication or dictionary application. maybe I could write to a text file and have a spellcheck check the document and save document and read back into PD. The whole structure should be somewhat autonomous, meaning I don't want to have to manually pull up the files check them and save them. I am on either Win XP or Linux.
thanks for any help, bradon
Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html
im no PD expert, but maybe one avenue worth investigating is finding the appropriate software (hopefully something open-source) that does the word recognition and spell checking then getting that to send control data to PD via netsend / netreceive.
Perl seems to be the obvious candidate for its text munging capabilities, and theres some simple code on the pure-data.org site for a perl client that can talk to PD.
http://www.pure-data.org/Members/kogger/netperlpd/view
just an idea.
:)
martin
Bradon Webb wrote:
Hello,
This may be slightly OT. I was wondering about text cababilites PD has. I was wondering if PD could recognize words somehow, so that say I gave it three letters A, B, and T, it would result to me BAT, or TAB, but not BTA, ATB or ABT. As the latter are not words in the english language. Also maybe It could do something like a spell check where letters that are close to forming words, would be corrected and output. I am looking to have some kind of perfomance with the text. I like the structure and organizational design in PD so that is why I thought PD. Eventually I may want sound to react to specific words. I am not an experienced programer, and PD is all I really know at the moment. I think there is nothing in PD that will do this text function, but is there anyway for me to use it in conjuction with a spellcheck aplication or dictionary application. maybe I could write to a text file and have a spellcheck check the document and save document and read back into PD. The whole structure should be somewhat autonomous, meaning I don't want to have to manually pull up the files check them and save them. I am on either Win XP or Linux.
thanks for any help, bradon
Hallo, mdk hat gesagt: // mdk wrote:
im no PD expert, but maybe one avenue worth investigating is finding the appropriate software (hopefully something open-source) that does the word recognition and spell checking then getting that to send control data to PD via netsend / netreceive.
Perl seems to be the obvious candidate for its text munging capabilities, and theres some simple code on the pure-data.org site for a perl client that can talk to PD.
http://www.pure-data.org/Members/kogger/netperlpd/view
just an idea.
A good idea IMO - although I would prefer Python as in http://www.pure-data.org/Members/fbar/tools/pdsender.py/view which I find easier to learn as well and you could even run it inside Pd. I would run it outside, though.
Pd's own string handling capabilities are *very* limited. In a more text oriented full programming language like Python you get a lot of support for string handling, maybe you'll even find a binding directly to (i)spell.
Frank Barknecht _ ______footils.org__
Hallo,
http://www.pure-data.org/Members/fbar/tools/pdsender.py/view which I
not to forget the possibility of using regex capabilities of the tcl/tk runtime which is already running for the GUI.. http://suita.chopin.edu.pl/~czaja/miXed/externs/tot.html
c
On Thu, 12 Feb 2004, carmen wrote:
http://www.pure-data.org/Members/fbar/tools/pdsender.py/view which I
not to forget the possibility of using regex capabilities of the tcl/tk runtime which is already running for the GUI..
http://suita.chopin.edu.pl/~czaja/miXed/externs/tot.html
ok, since three scripting languages have been suggested, I may as well add my grain of salt. Ruby is also a language that has plenty of functions for strings, regexps, hashtables and such. Ruby support in Pd is provided by the GridFlow library.
Mathieu Bouchard http://artengine.ca/matju
http://www.cs.cornell.edu/Info/People/raman/emacspeak/emacspeak.html http://www.cstr.ed.ac.uk/projects/festival/manual/festival_toc.html http://citeseer.nj.nec.com/context/59014/0 http://cvs.sourceforge.net/viewcvs.py/emu/emu/README?rev=1.12 http://commonmusic.sourceforge.net/doc/
On Thu, 12 Feb 2004 18:46:42 +0100 Frank Barknecht fbar@footils.org wrote:
Hallo, mdk hat gesagt: // mdk wrote:
im no PD expert, but maybe one avenue worth investigating is finding the appropriate software (hopefully something open-source) that does the word recognition and spell checking then getting that to send control data to PD via netsend / netreceive.
Perl seems to be the obvious candidate for its text munging capabilities, and theres some simple code on the pure-data.org site for a perl client that can talk to PD.
http://www.pure-data.org/Members/kogger/netperlpd/view
just an idea.
A good idea IMO - although I would prefer Python as in http://www.pure-data.org/Members/fbar/tools/pdsender.py/view which I find easier to learn as well and you could even run it inside Pd. I would run it outside, though.
Pd's own string handling capabilities are *very* limited. In a more text oriented full programming language like Python you get a lot of support for string handling, maybe you'll even find a binding directly to (i)spell.
ciao
Frank Barknecht _ ______footils.org__
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list
On Thu, Feb 12, 2004 at 06:46:42PM +0100, Frank Barknecht wrote:
A good idea IMO - although I would prefer Python as in http://www.pure-data.org/Members/fbar/tools/pdsender.py/view which I find easier to learn as well and you could even run it inside Pd. I would run it outside, though.
Why would you prefer to run python scripts outside with netsend instead of inside with pyext? Is it because it'd be easier?
-- Marc