Question: Use JAVA Coding on this: Implementing PirateTranslator Within your Eclipse/IntelliJ project, create a new Class called PirateTrans1ator. This class should have one public method with
Use JAVA


Coding on this:

Implementing PirateTranslator Within your Eclipse/IntelliJ project, create a new Class called PirateTrans1ator. This class should have one public method with the following signature: public String translate(String input) blaggart". Below is a list of normal english words/phrases and their Pirate-speech counter parts. leagues", "barnacle-covered", "grog-filled", "be" Your translate method should accept strings with arbitrary capitalization, however, it can return translated strings that are all in lower case. three possibilities for affect: positive, negative, and none. negative, or none. end of the translation. Thus an input sentence "I adore you" would translate to "I adore ye 'tis like me pirate treasure!". Thus, for full credit: 1. Translate english phrases into their pirate-speech counterparts 2. Translate arbitrary capitalization on input, but return all lower case output 3. Detect the affect of input sentences and append metaphor appropriately Beyond the Basics For 0-7 points of extra credit, consider adding one or more of the following features: actual translation. 'me me me'). To make this simpler, you can assume that all inputs use a single space to separate words
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
