Question: IN SCALA In RhymingDictionary write a method/function named isRhymeSounds that takes two Lists of Strings representing the sounds for two different words and returns a

IN SCALA

In RhymingDictionary write a method/function named isRhymeSounds that takes two Lists of Strings representing the sounds for two different words and returns a Boolean indicating whether or not the two words rhyme (ie. Return true if the words rhyme, false otherwise). In the tests package create an object/file named TestIsRhymeSounds that is set up as a test suite that tests the isRhymeSounds method/function.

In RhymingDictionary write a method/function named getSounds that takes 2 Strings, the pronunciation dictionary filename, then a word and returns a List of Strings that are the sounds for that word from the pronunciation dictionary. If the word is not in the dictionary, return an empty List. In the tests package create an object/file named TestGetSounds that is set up as a test suite that tests the getSounds method/function.

what I have is not working please help.

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!