#perl - Thu 17 May 2007 between 20:46 and 20:55



spx2Jmax, s/foof/food
hobbsf00f
stuuf0xb00bf00d
Jmaxspx2: well, then I recommend implementing somethings you'd like to implement, play with some tools you'd like to play with, etc.
max_coolJmax: ok, thank you for help anyway
Jmaxmax_cool: you're trying to seperate english words by syllables?
max_coolJmax: yes
Jmax: this is exactly what I need
Jmax: but my main goal is to get the sonority of a word. I mean whether a word (may be not a real one) sounds good or not.
Jmaxmax_cool: sorry, i've never had to do that :( nothing on cpan seems to be appropriate
spx2max_cool, you may want to check out what phonetics means
max_coolf.e. word "dfriedfh" sounds bad while "tyelnol" sounds better
spx2max_cool, ive done that in high school
max_coolso I want to develope a universal CPAN module for that purpose
free module
drazakWhat is cpan anyways?
Jmaxperlbot cpan
perlbotComprehensive Perl Archive Network (where to download perl modules) is at http://www.cpan.org/, and can be searched with http://search.cpan.org/
drazakahhh
max_coolspx2: can you help me with a right way to do it?
spx2max_cool, either you have to build up a small database with phoenems wich are the building blocks of words
max_cool, and then use some regexes to decompose words into phoenems
hobbs(which won't work...)
max_coolspx2: the difficult is I need to work mostly with unexisting words.
spx2hobbs, we learned in high school at that class that it does work so i think you are wrong
max_cool, i was talking about existing words
hobbsspx2: reality tends to disagree with you
spx2max_cool, if you really need to do that you should get into Computational Linguistics http://www.google.ro/search?hl=ro&q=Computational+Linguistics+pdf&meta=
actionCPAN upload: Class-Data-Accessor-0.04001 by CLACO
CPANupload: Class-Data-Accessor-0.04001 by CLACO
spx2hobbs, its your reality that is disagreeing with me,and ofcourse on the case that he's using words from a dictionary you are wrong
damogIs it valid to do something like this? my ($a, $b) = $string =~ /^(\d){2}$/; # Just an example.
if $string is '23', $a = 2, $b = 3 ?
hobbsspx2: regexes aren't a powerful enough tool to decompose words into phonemes. That's basic theory :)
mstmax_cool: the soundex stuff may help
hobbsdamog: no
damog: $a will be '3' and $b will be undef
Caelumthere are some Lingua modules on CPAN
spx2hobbs, you wanna bet ?
pkruminseval: $string = "23"; ($a, $b) = $string =~ /^(\d){2}$/; [$a,$b]
damoghobbs: Should I do... = $string =~ /^(

Page: 4 11 18 25 32 39 46 53 60 67 74 

IrcArchive