Page 1 of 2

Displaying Phonetics of any Name in CICS

PostPosted: Tue Aug 14, 2012 6:44 pm
by saurabhgupta86
Hi,

How to display phonetics of any name in CICS.

e.g., robert should be displayed as 'rɑbərt'.

Peter should be displayed as 'pitər'.

Re: Displaying Phonetics of any Name in CICS

PostPosted: Tue Aug 14, 2012 7:07 pm
by dick scherrer
Hello and welcdome to the forum,

Your question is not actually related to CICS.

Suggest you look into "Soundex".

Re: Displaying Phonetics of any Name in CICS

PostPosted: Wed Aug 15, 2012 11:00 am
by saurabhgupta86
Hi Dick,

I tried with "Soundex" function, it works when the phonetics of the word/name are also saved in DB2 table.

e.g. If i want to use Soundex FUNCTION to find the phonetic sound for name "ROBERT" , i need to save "RAHbert" also in the table and use query like this:

SELECT NAME FROM EMPLOYEE
WHERE SOUNDEX(NAME) = SOUNDEX('ROBERT');

My requiremnt is if i just give the name, i should get the phonetic sound of the name automatically, i need not save the sound in table.

Please suggest on this.

Thanks & Regards
Saurabh Gupta

Re: Displaying Phonetics of any Name in CICS

PostPosted: Wed Aug 15, 2012 3:07 pm
by Akatsukami
  1. You'll need a reference table of some sort because of the irregularity of English orthography.
  2. Unless you're limiting your phonetic function to RSE (Received Standard English), its complexity jumps by an order or two of magnitude. I lived for a few decades in the lower Connecticut River valley -- the "Tobacco Valley" -- and have a noticeable Tobacco Valley accent...one feature of which is that I replace intervocalic dentals with glottals. Is your function going to tell you that my cat's name is pronounced "KAY-tee" or "KAY-ee"?

Re: Displaying Phonetics of any Name in CICS

PostPosted: Wed Aug 15, 2012 4:21 pm
by saurabhgupta86
Hi Akatsukami,

Thanks for the reply.

I want to limit my function to Received Standard English. Is there some standard reference table which contains the phonetic sounds which i can use in my program. So that, i need not enter the phonetic representation of each and every value i enter in to the table.

The exact requirement is - On CICS screen i have NAME field, if somebody enters some name there, Say "Peter", 'pitər' should be displayed as phonetic sound represenatation in the phonetic sound representation field.

Please advice.

Thanks & Regards,
Saurabh Gupta

Re: Displaying Phonetics of any Name in CICS

PostPosted: Wed Aug 15, 2012 5:06 pm
by Akatsukami
I recommend that you Google "phonetic database". Note that the usual warnings about downloading and installing unauthorized software on your employer's equipment apply.

Re: Displaying Phonetics of any Name in CICS

PostPosted: Wed Aug 15, 2012 5:19 pm
by enrico-sorichetti
unless I am blatantly wrong we are talking about different things around here :geek:

the <SOUNDEX> algorithm... given a <character string> will encode it to a four bytes string
so that misspelled words will with a certain degree of confidence encoded to the same <token>
for example the SOUNDEX
A500 will <match> ann, anne, anna, amy , amee , ...

seems that on the other side You are looking for the
Phonetic transcription (or phonetic notation), AKA visual representation of speech sounds
so that when somebody looks at an english word will know how to pronounce it
see for example
http://dictionary.cambridge.org/help/phonetics.html

if this is so, no algorithm will help
and... remember the phonetic convetion is not unique, there are at least a couple ( IIRC )

Re: Displaying Phonetics of any Name in CICS

PostPosted: Wed Aug 15, 2012 5:26 pm
by saurabhgupta86
Hi Akatsukami,

As we are not allowed to install unauthorized softwares here.

We have to devise something which will help in this. I am thinking, if we can use SOUNDEX algorithm to devise something.

Thanks & Regards
Saurabh Gupta

Re: Displaying Phonetics of any Name in CICS

PostPosted: Wed Aug 15, 2012 5:38 pm
by saurabhgupta86
Hi Enrico,

Thanks for the reply.

I am talking only about a person's name here.

The requirement is, i have a NAME field on CICS screen, say EMPLOYEE name, i have to add a new field PHONETIC REPRESENTATION for the field.
So that the person who is looking at the EMPLOYEE records, should be able to see - How to pronounce the employee's name.

Please advice.

Thanks & Regards
Saurabh Gupta

Re: Displaying Phonetics of any Name in CICS

PostPosted: Wed Aug 15, 2012 7:01 pm
by enrico-sorichetti
whatever <word> You are talking about, the Phonetic representation <todo> do not change full stop

reread and try to understand my previous reply :geek:

Please advice.


very little advice can be given ...
build/buy a dictionary with the proper phonetic representations

needs very strong linguistic skill to build one
needs a <terminal> capable to display the appropriate <compound>/<phonetics> special chars

not a problem that can be solved using forum replies