Do you need this or any other assignment done for you from scratch?
We have qualified writers to help you.
We assure you a quality paper that is 100% free from plagiarism and AI.
You can choose either format of your choice ( Apa, Mla, Havard, Chicago, or any other)
NB: We do not resell your papers. Upon ordering, we do an original paper exclusively for you.
NB: All your data is kept safe from the public.
You are to write a program that will countthe words and occurrences of words in thebookWar
and Peace by Leo Tolstoy. In addition to counting words, you must spell check the document
and report how many words are not found in the provided dictionary. You will also match
occurrences of the word War with Peace and find the average distance between the closest set
of each pair of these words.
You must use a class called BookWord (provided as UML below) to store each word for the
words in the novel and for the words in the provided dictionary. The words must be stored
without concern for case sensitivity (all characters must be converted to lowercase).
A word is considered to be one or more characters in length separated by white space (space
character, tab, new line character), a comma, period, exclamation point, question mark, double
quote mark, either round bracket, underscore, hyphen, colon or semicolon. The regex
expression below can be used to implement this functionality with the .useDelimiter method of
the scanner object. Other punctuation marks such as single quote, apostrophe, forward slash
and backslash should not be included in words, however, for the purpose of this assignment it
is sufficient to only exclude words containing the single quote character. For example, the
word it’s should not be considered a word, and should be discarded from the input.
String regEx = “\.|\?|\!|\s|”|\(|\)|\
Do you need this or any other assignment done for you from scratch?
We have qualified writers to help you.
We assure you a quality paper that is 100% free from plagiarism and AI.
You can choose either format of your choice ( Apa, Mla, Havard, Chicago, or any other)
NB: We do not resell your papers. Upon ordering, we do an original paper exclusively for you.
NB: All your data is kept safe from the public.
Place this order or similar order and get an amazing discount. USE Discount code “GET20” for 20% discount