Question: Please help me complete this JAVA assignment. Make sure that the output is the same as the expected output that I provide below. ----------------------Expected Output--------------------

Please help me complete this JAVA assignment. Make sure that the output is the same as the expected output that I provide below.

Please help me complete this JAVA assignment.

----------------------Expected Output--------------------

Please help me complete this JAVA assignment.Please help me complete this JAVA assignment.Please help me complete this JAVA assignment.Please help me complete this JAVA assignment.Please help me complete this JAVA assignment.

We are hired to implement an interactive dictionary. Our dictionary takes input from users and uses the input as a search key to look up values associated with the key. Requirements: Coding: No hard coding, https://en.wikipedia.org/wiki/Hard_coding. Please think about Dynamic and Scalable. Data Source: Store the original data in a set of enum objects. Each keyword, each part of speech, and each definition must be stored in a separate data field. Do not combine them such as storing three parts in one String. Data Structure: Use existing data structures or creating new data structures to store our dictionary's data. Data Loading: When our program starts, it loads all the original data from the Data Source into our dictionary's data structure. Data Loading must finish before our program starts interacting with users. User Interface: A program interface allows users to put search keys. This interface then displays returned results. Our program searches the dictionary's data (not the Data Source) for values associated with the search keys. ! Loading data... ! Loading completed... ===== DICTIONARY 340 JAVA ===== Keywords: 19 Definitions: 61 Search (1): !help PARAMETER HOW-TO, please enter: 1. A search key -then 2. An optional part of speech - then 3. An optional 'distinct' -then 4. An optional 'reverse 1 Search [2]: 1 PARAMETER HOW-TO, please enter: 1. A search key -then 2. An optional part of speech - then 3. An optional 'distinct' - then 4. An optional reverse 1 Search [3]: aRrow Arrow [noun] : Here is one arrow: -=>> Search [4] : book Book [noun] : A set of pages. Book [noun] : A written work published in printed or electronic form. Book (verb) : To arrange for someone to have a seat on a plane. Book [verb] : To arrange something on a particular date. Search [5] : book noun Book [noun] : A set of pages. Book [noun] : A written work published in printed or electronic form. 1 Search [6]: book noun distinct Book [noun] : A set of pages. Book [noun] : A written work published in printed or electronic form. Search [7]: book noun DIStinct reverse Book [noun] : A written work published in printed or electronic form. Book [noun] : A set of pages. 1 Search [8]: distinct Distinct [adjective) : Familiar. Worked in Java. Distinct [adjective] : Unique. No duplicates. Clearly different or of a different kind. Distinct [adverb] : Uniquely. Written "distinctly". Distinct [noun] A keyword in this assignment. Distinct [noun] : A keyword in this assignment. Distinct [noun] : A keyword in this assignment. Distinct (noun) : An advanced search option. Distinct [noun] : Distinct is a parameter in this assignment. 1 Search [9]: distiNCT DISTinct Distinct [adjective] : Familiar. Worked in Java Distinct [adjective] Unique. No duplicates. Clearly different or of a different kind. Distinct (adverb] : Uniquely. Written "distinctly". Distinct (noun) : A keyword in this assignment. Distinct [noun] : An advanced search option Distinct [noun] : Distinct is a parameter in this assignment. Search [10]: distinct noun distinct Distinct [noun] : A keyword in this assignment. Distinct (noun) : An advanced search option. Distinct [noun] : Distinct is a parameter in this assignment. Search [11]: distinct noun distinct REVERSE 1 Distinct [noun] : Distinct is a parameter in this assignment. Distinct [noun] : An advanced search option. Distinct [noun] : A keyword in this assignment. Search [12]: placeHOLDER Placeholder (adjective) : To be updated... Placeholder (adjective) : To be updated... Placeholder (adverb) To be updated... Placeholder (conjunction] : To be updated... Placeholder (interjection) : To be updated... Placeholder [noun] : To be updated. Placeholder [noun] : To be updated... Placeholder [noun] : To be updated... Placeholder (preposition] : To be updated... Placeholder (pronoun] : To be updated... Placeholder (verb) : To be updated... Search [13] : placeholder adjective reverse 1 Placeholder [adjective) : To be updated... Placeholder (adjective) : To be updated... Search [14]: reverse Reverse [adjective] : On back side. Reverse [adjective) : Opposite to usual or previous arrangement. Reverse (noun) : A dictionary program's parameter. Reverse [noun] : Change to opposite direction. Reverse (noun) : The opposite. Reverse [noun] : To be updated. Reverse [noun] : To be updated... Reverse (noun) : To be updated... Reverse [noun] : To be updated.. Reverse (verb) : Change something to opposite. Reverse (verb) : Go back Reverse (verb] : Revoke ruling. Reverse (verb] : To be updated... Reverse [verb] : To be updated... Reverse (verb] Turn something inside out. Search [15] : reverse reverse Reverse [verb] : Turn something inside out. Reverse (verb) : To be updated... Reverse [verb] : To be updated... Reverse [verb] : Revoke ruling. Reverse (verb) : Go back Reverse (verb) : Change something to opposite. Reverse [noun] : To be updated... Reverse [noun ) : To be updated... Reverse (noun) : To be updated... Reverse [noun] : To be updated... Reverse [noun] The opposite. Reverse [noun] : Change to opposite direction. Reverse [noun] : A dictionary program's parameter. Reverse [adjective) : Opposite to usual or previous arrangement. Reverse [adjective] : On back side. Search [16] : reverse distinct Reverse [adjective) : On back side. Reverse [adjective] : Opposite to usual or previous arrangement. Reverse (noun) : A dictionary program's parameter. Reverse [noun] : Change to opposite direction. Reverse (noun) : The opposite. Reverse [noun ) : To be updated... Reverse (verb] : Change something to opposite. Reverse [verb] : Go back Reverse [verb] : Revoke ruling. Reverse (verb) : To be updated... Reverse [verb] : Turn something inside out. I Search [17] : reverse distinct reVERSE Reverse (verb] : Turn something inside out. Reverse [verb] : To be updated... Reverse [verb] : Revoke ruling. Reverse [verb] : Go back Reverse [verb] : Change something to opposite Reverse (noun) : To be updated... Reverse [noun] : The opposite. Reverse [noun] : Change to opposite direction. Reverse [noun] : A dictionary program's parameter. Reverse (adjective) : Opposite to usual or previous arrangement. Reverse [adjective] : on back side. 1 Search [18] : reverse ok 1 Reverse (adjective] : On back side. Reverse [adjective] : Opposite to usual or previous arrangement. Reverse [noun ) : A dictionary program's parameter. Reverse [noun] : Change to opposite direction. Reverse (noun) : The opposite. Reverse [noun] : To be updated... Reverse [noun] : To be updated... Reverse [noun] : To be updated... Reverse [noun] : To be updated... Reverse [verb] : Change something to opposite Reverse (verb) : Go back Reverse [verb] : Revoke ruling. Reverse (verb) : To be updated... Reverse (verb] : To be updated... Reverse [verb] : Turn something inside out. Search [19] : reverse noun ok Reverse [noun] : A dictionary program's parameter. Reverse [noun] : Change to opposite direction. Reverse (noun) : The opposite. Reverse (noun) : To be updated... Reverse (noun) : To be updated... Reverse [noun] : To be updated... Reverse [noun] : To be updated... Search [20] : reverse noun ok distinct Reverse (noun) : A dictionary program's parameter. Reverse [noun] : Change to opposite direction. Reverse (noun) : The opposite. Reverse (noun) : To be updated... Reverse [noun] : To be updated... Reverse (noun) To be updated... Reverse [noun] : To be updated... Search [21] : reverse noun distinct ok Reverse [noun] : A dictionary program's parameter. Reverse [noun] : Change to opposite direction. Reverse [noun] : The opposite. Reverse (noun) : To be updated... 1 Search [22] : reverse ok ok ok I Reverse [adjective) : On back side Reverse [adjective] : Opposite to usual or previous arrangement. Reverse [noun] : A dictionary program's parameter. Reverse [noun] : Change to opposite direction. Reverse [noun] : The opposite. Reverse (noun) : To be updated... Reverse [noun] : To be updated... Reverse (noun) : To be updated... Reverse [noun ) : To be updated... Reverse (verb] : Change something to opposite. Reverse (verb) : Go back Reverse [verb] : Revoke ruling. Reverse (verb) : To be updated... Reverse [verb] : To be updated... Reverse [verb] : Turn something inside out. Search [23] : reverse reverse ok ok 1 Reverse [verb] : Turn something inside out. Reverse (verb) : To be updated... Reverse (verb) To be updated. .. Reverse (verb) : Revoke ruling. Reverse [verb] : Go back Reverse [verb] : Change something to opposite Reverse (noun) : To be updated... Reverse (noun) : To be updated... Reverse [noun] : To be updated... Reverse [noun] : To be updated... Reverse [noun] : The opposite. Reverse [noun] : Change to opposite direction. Reverse [noun] : A dictionary program's parameter. Reverse [adjective) : Opposite to usual or previous arrangement. Reverse [adjective] : On back side. 1 Search [24] : reverse distinct reverse ok Reverse (verb] : Turn something inside out. Reverse (verb] : To be updated... Reverse [verb] : Revoke ruling. Reverse [verb] : Go back Reverse (verb) : : Change something to opposite. Reverse [noun] : To be updated... Reverse (noun) : The opposite. Reverse [noun] : : Change to opposite direction. Reverse [noun] : A dictionary program's parameter. Reverse [adjective] : Opposite to usual or previous arrangement. Reverse (adjective] : On back side. 1 Search [25] : reverse distinct reverse ok ok PARAMETER HOW-TO, please enter: 1. A search key -then 2. An optional part of speech -then 3. An optional 'distinct' -then 4. An optional 'reverse 1 Search [26] : reverse adverb To be considered for the next release. Thank you. 1 PARAMETER HOW-TO, please enter: 1. A search key - then 2. An optional part of speech - then 3. An optional 'distinct' -then 4. An optional 'reverse 1 Search [27]: facebook To be considered for the next release. Thank you. PARAMETER HOW-TO, please enter: 1. A search key -then 2. An optional part of speech - then 3. An optional 'distinct' -then 4. An optional 'reverse 1 Search [28] : ! -----THANK YOU----- We are hired to implement an interactive dictionary. Our dictionary takes input from users and uses the input as a search key to look up values associated with the key. Requirements: Coding: No hard coding, https://en.wikipedia.org/wiki/Hard_coding. Please think about Dynamic and Scalable. Data Source: Store the original data in a set of enum objects. Each keyword, each part of speech, and each definition must be stored in a separate data field. Do not combine them such as storing three parts in one String. Data Structure: Use existing data structures or creating new data structures to store our dictionary's data. Data Loading: When our program starts, it loads all the original data from the Data Source into our dictionary's data structure. Data Loading must finish before our program starts interacting with users. User Interface: A program interface allows users to put search keys. This interface then displays returned results. Our program searches the dictionary's data (not the Data Source) for values associated with the search keys. ! Loading data... ! Loading completed... ===== DICTIONARY 340 JAVA ===== Keywords: 19 Definitions: 61 Search (1): !help PARAMETER HOW-TO, please enter: 1. A search key -then 2. An optional part of speech - then 3. An optional 'distinct' -then 4. An optional 'reverse 1 Search [2]: 1 PARAMETER HOW-TO, please enter: 1. A search key -then 2. An optional part of speech - then 3. An optional 'distinct' - then 4. An optional reverse 1 Search [3]: aRrow Arrow [noun] : Here is one arrow:  Please help me complete this JAVA assignment. Make sure that the -=>> Search [4] : book Book [noun] : A set of pages. Book [noun] : A written work published in printed or electronic form. Book (verb) : To arrange for someone to have a seat on a plane. Book [verb] : To arrange something on a particular date. Search [5] : book noun Book [noun] : A set of pages. Book [noun] : A written work published in printed or electronic form. 1 Search [6]: book noun distinct Book [noun] : A set of pages. Book [noun] : A written work published in printed or electronic form. Search [7]: book noun DIStinct reverse Book [noun] : A written work published in printed or electronic form. Book [noun] : A set of pages. 1 Search [8]: distinct Distinct [adjective) : Familiar. Worked in Java. Distinct [adjective] : Unique. No duplicates. Clearly different or of a different kind. Distinct [adverb] : Uniquely. Written "distinctly". Distinct [noun] A keyword in this assignment. Distinct [noun] : A keyword in this assignment. Distinct [noun] : A keyword in this assignment. Distinct (noun) : An advanced search option. Distinct [noun] : Distinct is a parameter in this assignment. 1 Search [9]: distiNCT DISTinct Distinct [adjective] : Familiar. Worked in Java Distinct [adjective] Unique. No duplicates. Clearly different or of a different kind. Distinct (adverb] : Uniquely. Written "distinctly". Distinct (noun) : A keyword in this assignment. Distinct [noun] : An advanced search option Distinct [noun] : Distinct is a parameter in this assignment. Search [10]: distinct noun distinct Distinct [noun] : A keyword in this assignment. Distinct (noun) : An advanced search option. Distinct [noun] : Distinct is a parameter in this assignment. Search [11]: distinct noun distinct REVERSE 1 Distinct [noun] : Distinct is a parameter in this assignment. Distinct [noun] : An advanced search option. Distinct [noun] : A keyword in this assignment. Search [12]: placeHOLDER Placeholder (adjective) : To be updated... Placeholder (adjective) : To be updated... Placeholder (adverb) To be updated... Placeholder (conjunction] : To be updated... Placeholder (interjection) : To be updated... Placeholder [noun] : To be updated. Placeholder [noun] : To be updated... Placeholder [noun] : To be updated... Placeholder (preposition] : To be updated... Placeholder (pronoun] : To be updated... Placeholder (verb) : To be updated... Search [13] : placeholder adjective reverse 1 Placeholder [adjective) : To be updated... Placeholder (adjective) : To be updated... Search [14]: reverse Reverse [adjective] : On back side. Reverse [adjective) : Opposite to usual or previous arrangement. Reverse (noun) : A dictionary program's parameter. Reverse [noun] : Change to opposite direction. Reverse (noun) : The opposite. Reverse [noun] : To be updated. Reverse [noun] : To be updated... Reverse (noun) : To be updated... Reverse [noun] : To be updated.. Reverse (verb) : Change something to opposite. Reverse (verb) : Go back Reverse (verb] : Revoke ruling. Reverse (verb] : To be updated... Reverse [verb] : To be updated... Reverse (verb] Turn something inside out. Search [15] : reverse reverse Reverse [verb] : Turn something inside out. Reverse (verb) : To be updated... Reverse [verb] : To be updated... Reverse [verb] : Revoke ruling. Reverse (verb) : Go back Reverse (verb) : Change something to opposite. Reverse [noun] : To be updated... Reverse [noun ) : To be updated... Reverse (noun) : To be updated... Reverse [noun] : To be updated... Reverse [noun] The opposite. Reverse [noun] : Change to opposite direction. Reverse [noun] : A dictionary program's parameter. Reverse [adjective) : Opposite to usual or previous arrangement. Reverse [adjective] : On back side. Search [16] : reverse distinct Reverse [adjective) : On back side. Reverse [adjective] : Opposite to usual or previous arrangement. Reverse (noun) : A dictionary program's parameter. Reverse [noun] : Change to opposite direction. Reverse (noun) : The opposite. Reverse [noun ) : To be updated... Reverse (verb] : Change something to opposite. Reverse [verb] : Go back Reverse [verb] : Revoke ruling. Reverse (verb) : To be updated... Reverse [verb] : Turn something inside out. I Search [17] : reverse distinct reVERSE Reverse (verb] : Turn something inside out. Reverse [verb] : To be updated... Reverse [verb] : Revoke ruling. Reverse [verb] : Go back Reverse [verb] : Change something to opposite Reverse (noun) : To be updated... Reverse [noun] : The opposite. Reverse [noun] : Change to opposite direction. Reverse [noun] : A dictionary program's parameter. Reverse (adjective) : Opposite to usual or previous arrangement. Reverse [adjective] : on back side. 1 Search [18] : reverse ok 1 Reverse (adjective] : On back side. Reverse [adjective] : Opposite to usual or previous arrangement. Reverse [noun ) : A dictionary program's parameter. Reverse [noun] : Change to opposite direction. Reverse (noun) : The opposite. Reverse [noun] : To be updated... Reverse [noun] : To be updated... Reverse [noun] : To be updated... Reverse [noun] : To be updated... Reverse [verb] : Change something to opposite Reverse (verb) : Go back Reverse [verb] : Revoke ruling. Reverse (verb) : To be updated... Reverse (verb] : To be updated... Reverse [verb] : Turn something inside out. Search [19] : reverse noun ok Reverse [noun] : A dictionary program's parameter. Reverse [noun] : Change to opposite direction. Reverse (noun) : The opposite. Reverse (noun) : To be updated... Reverse (noun) : To be updated... Reverse [noun] : To be updated... Reverse [noun] : To be updated... Search [20] : reverse noun ok distinct Reverse (noun) : A dictionary program's parameter. Reverse [noun] : Change to opposite direction. Reverse (noun) : The opposite. Reverse (noun) : To be updated... Reverse [noun] : To be updated... Reverse (noun) To be updated... Reverse [noun] : To be updated... Search [21] : reverse noun distinct ok Reverse [noun] : A dictionary program's parameter. Reverse [noun] : Change to opposite direction. Reverse [noun] : The opposite. Reverse (noun) : To be updated... 1 Search [22] : reverse ok ok ok I Reverse [adjective) : On back side Reverse [adjective] : Opposite to usual or previous arrangement. Reverse [noun] : A dictionary program's parameter. Reverse [noun] : Change to opposite direction. Reverse [noun] : The opposite. Reverse (noun) : To be updated... Reverse [noun] : To be updated... Reverse (noun) : To be updated... Reverse [noun ) : To be updated... Reverse (verb] : Change something to opposite. Reverse (verb) : Go back Reverse [verb] : Revoke ruling. Reverse (verb) : To be updated... Reverse [verb] : To be updated... Reverse [verb] : Turn something inside out. Search [23] : reverse reverse ok ok 1 Reverse [verb] : Turn something inside out. Reverse (verb) : To be updated... Reverse (verb) To be updated. .. Reverse (verb) : Revoke ruling. Reverse [verb] : Go back Reverse [verb] : Change something to opposite Reverse (noun) : To be updated... Reverse (noun) : To be updated... Reverse [noun] : To be updated... Reverse [noun] : To be updated... Reverse [noun] : The opposite. Reverse [noun] : Change to opposite direction. Reverse [noun] : A dictionary program's parameter. Reverse [adjective) : Opposite to usual or previous arrangement. Reverse [adjective] : On back side. 1 Search [24] : reverse distinct reverse ok Reverse (verb] : Turn something inside out. Reverse (verb] : To be updated... Reverse [verb] : Revoke ruling. Reverse [verb] : Go back Reverse (verb) : : Change something to opposite. Reverse [noun] : To be updated... Reverse (noun) : The opposite. Reverse [noun] : : Change to opposite direction. Reverse [noun] : A dictionary program's parameter. Reverse [adjective] : Opposite to usual or previous arrangement. Reverse (adjective] : On back side. 1 Search [25] : reverse distinct reverse ok ok PARAMETER HOW-TO, please enter: 1. A search key -then 2. An optional part of speech -then 3. An optional 'distinct' -then 4. An optional 'reverse 1 Search [26] : reverse adverb To be considered for the next release. Thank you. 1 PARAMETER HOW-TO, please enter: 1. A search key - then 2. An optional part of speech - then 3. An optional 'distinct' -then 4. An optional 'reverse 1 Search [27]: facebook To be considered for the next release. Thank you. PARAMETER HOW-TO, please enter: 1. A search key -then 2. An optional part of speech - then 3. An optional 'distinct' -then 4. An optional 'reverse 1 Search [28] : ! -----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!