Yeah, that's why we are trying to put the enum in there for what we are counting. http://www.freeswitch.org/eg/say_api.c in the say_type_t we would add SST_CHICKENS, SST_SPEAKERS, etc.... That way we have a hint how to generate the audio this finite list may be limiting but it's ok to submit patches adding more are more objects as we figure out all the differnt items that modify speech. Any elaboration on this? it seemed to be the only logical way to solve that issue but it may need more. Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com JABBER:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@66.250.68.194 iax:guest@66.250.68.194/888 googletalk:freeswitch@gmail.com pstn:213-799-1400 ----- Original Message ---- From: Yossi Neiman <iaxteling@cartissolutions.com> To: freeswitch-dev@lists.freeswitch.org Sent: Monday, December 18, 2006 12:23:23 PM Subject: Re: [Freeswitch-dev] [Freeswitch-users] C SAY API Gender can even be more complex in some languages than others. While to the best of my knowledge, Romance languages do not have a concept of numbers matching gender with the object they are modifying, at least Hebrew (and possibly other Semitic languages) do have this concept. So if I say the "7 cars" versus "7 speakers", it comes out different - "shevA michoniyot" versus "shivAh ramkolim". Additionally, some languages might handle the order of quantity to object differently based upon the amount. Again, citing an example from Hebrew, if you say "1 speaker" the order is reversed - "ramkol eHad" (if you catch it, "ramkol" means "speaker" as in the one hooked up to your stereo). -- Yossi Neiman Cartis Solutions, Inc. - http://www.cartissolutions.com Peter Nixon wrote: <snip snip>
Unfortunately that is not the only issue however. Turkish for example (the only language other than English that I am close to fluent in at present) has no concept of gender. (You don't specify someone as "he" or "she", simply as "that"). On the other hand French has a gender for every object, not just living things! The structure of pronouncing numbers also varies of course... Do you pronounce "13" as "thirteen" or as "ten three". What about "113" and "1113"? (Actually English probably has the most insane rules for pronouncing numbers of all the languages I have come across) Many languages also (Turkish included) require that both pronunciation and/or spelling be changed depending on the preceeding or following word to make the pronunciation more "musical" or smoother. ("K" gets changed to "soft G" for example to avoid "harshness" in the middle of a sentence).
All of these little difference can crop up in surprisingly short, simple phrases making the job of such an API more complex that you might initially imagine :-)
Cheers
------------------------------------------------------------------------
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
participants (1)
-
Anthony Minessale