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
Get step-by-step solutions from verified subject matter experts
