Question: C++ For this project, to make the task easier, your program should ignore all words that contain non-alphabetic characters, and also ignore all alternative pronunciations,

C++

For this project, to make the task easier, your program should ignore all words that contain non-alphabetic characters, and also ignore all alternative pronunciations, The only non-letter character that is allowed in a word is apostrophe '.

We are going to use The CMU Pronouncing Dictionary( http://www.speech.cs.cmu.edu/cgi-bin/cmudict ) as our reference. It is available as a simply formatted plain text file, a direct link to it .0.7a (http://svn.code.sf.net/p/cmusphinx/code/trunk/cmudict/cmudict.0.7a). It is required to utilize this file in the program (open, read it )

So, your program should ignore entries like:

PROGRESS(1) P R AH0 G R EH1 S < ignore PROGRESS(2) P R OW0 G R EH1 S < ignore PUSH-UP P UH1 SH AH2 P < ignore PUSH-UPS P UH1 SH AH2 P S < ignore %PERCENT P ER0 S EH1 N T < ignore &ERSAND AE1 M P ER0 S AE2 N D < ignore 

However, the following entries are considered good:

PROGRAM P R OW1 G R AE2 M < good PROGRAM'S P R OW1 G R AE2 M Z < good PROGRAMS' P R OW1 G R AE2 M Z < good 'BOUT B AW1 T < good

Please use basic constructs. Nothing complex should be used.

Thank you

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!