1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Lana71 [14]
3 years ago
7

The new gym trainer is killing me with his new program what kind of figurative language is it

English
1 answer:
d1i1m1o1n [39]3 years ago
4 0

Answer:

hyperbole??

Explanation:

You might be interested in
For months, Robert had been taunting Saul, using words like
never [62]

Answer

For this week's lab, you will use two of the classes in the Java Collection Framework:  and . You will use these classes to implement a spell checker.

this lab, you will need to use some of the methods that are defined in the Set interface. Recall that if set is a Set, then the following methods are defined:

-- Returns the number of items in the set.

-- Adds the item to the set, if it is not already there.

-- Check whether the set contains the item.-- Check whether the set is empty.

You will also need to be able to traverse a set, using either an iterator or a for-each loop.

Reading a Dictionary

The file words.txt (in the code directory) contains a list of English words, with one word on each line. You will look up words in this list to check whether they are correctly spelled. To make the list easy to use, you can store the words in a set. Since there is no need to have the words stored in order, you can use a HashSet for maximum efficiency.

Use a Scanner to read the file. You can create scanner, filein, for reading from a file with a statement such as:

                    filein = new Scanner

(new File("/classes/s09/cs225/words.txt"));

and that a file can be processed, token by token, in a loop such as:

while (filein.hasNext()) {

    String tk = filein.next();

    process(tk); // do something with the token

}

(For the wordlist file, a token is simply a word.)

Start your main program by reading the words from words.txt and storing them in a HashSet. For the purposes of this program, convert all words to lower case before putting them in the set. To make sure that you've read all the words, check the size of the set. (It should be 72875.) You could also use the contains method to check for the presence of some common word in the set.

Checking the Words in a File

Once you have the list of words in a set, it's easy to read the words from a file and check whether each word is in the set. Start by letting the user select a file. You can either let the user type the name of the file or you can use the following metho

       }

Use a Scanner to read the words from the selected file. In order to skip over any non-letter characters in the file, you can use the following command just after creating the scanner (where in is the variable name f

(In this statement, "[^a-zA-Z]+" is a regular expression that matches any sequence of one or more non-letter characters. This essentially makes the scanner treat any non-letter the way it would ordinarily treat a space.)

You can then go through the file, read each word (converting it to lower case) and check whether the set contains the word. At this point, just print out any word that you find that is not in the dictionary.

Providing a List of Possible Correct Spellings

A spell checker shouldn't just tell you what words are misspelled -- it should also give you a list of possible correct spellings for that word. Write  method

static TreeSet corrections(String badWord, HashSet dictionary)

that creates and returns a TreeSet containing variations on badWord that are contained in the dictionary. In your main program, when you find a word that is not in the set of legal words, pass that word to this method (along with the set). Take the return value and output any words that it contains; these are the suggested correct spellings of the misspelled word. Here, for example, is part of the output from a sample program when it was run with the HTML source of this page as inp

Explanation:

3 0
3 years ago
The vocal folds are located in the<br> larynx<br> mouth<br> lungs<br><br> PLZ HELP ASAP
slega [8]

Answer:

larynx

Explanation:

top side the trachea

7 0
3 years ago
Read 2 more answers
(help asap) Write a story about anything using all of these 20 vocabulary words
Delvig [45]

Answer:Two years ago, one “Jeopardy!” contestant, James Holzhauer, captured the imaginations of game-show fans who watched nightly to see his lightning-fast buzzer reflexes and risky bets.

Holzhauer’s 32-game run put his face (with his trademark strained smile) all over the “Jeopardy!” hall of fame. But on Friday, another contestant, Matt Amodio, a Ph.D. student at Yale, won his 33rd game, smashing through Holzhauer’s streak and taking his place as No. 2 in the record book for most games won in a row. The first spot is held by Ken Jennings, who won 74 games and ultimately became a consulting producer on the show.

Amodio’s victory brought him to $1.27 million in total winnings, and he has a long way to go to beat Holzhauer’s $2.46 million. With such an extraordinary total, Holzhauer was poised during his 33rd episode to possibly surpass Jennings’s record of $2.52 million won during the regular season, but he was bested by Emma Boettcher, a librarian who wrote her master’s paper on “Jeopardy!”

Explanation:

3 0
2 years ago
Read the passage. Which sentence indicates the passage is written in first-person point of view? The key turned, and the door op
gregori [183]

The sentence that indicates the passage is written in first-person point of view is option D) “I was awestruck until I saw my cat, a feather from one of the pillows hanging out of her mouth.” Here, the author uses the personal pronoun “I” to show the story is told in first person.

In the previous sentences, passive voice is used since the focus is not on the person or object that performs the actions. In the example “The drapes were shredded” the emphasis is placed on the object.

7 0
3 years ago
Using context clues, how would you define the meaning of the word probity in the passage?
Allisa [31]

Answer:

it is integrity

Explanation:

8 0
3 years ago
Other questions:
  • In contrast to the final 1857 edition, most of the tales in the first edition are shorter and sparser. They have a rawness that
    15·1 answer
  • Why does the theft of the Tai-me represent the decline of the Kiowa people?
    7·2 answers
  • Which of these is an analogy found in the passage? A. A judge is warm and comforting like a baby's blanket. B. A contestant is j
    5·1 answer
  • Does anyone know if i am right ?
    7·2 answers
  • Who would you prefer to work with a serious person or an easy going person give your reasons
    11·1 answer
  • S.
    10·1 answer
  • Which of the following describes the purpose of satire? Select all that apply.
    10·2 answers
  • The actor was told to improve his ___________________.
    12·2 answers
  • Can someone pls help
    13·1 answer
  • SUMMER READING GRAPHIC ORGANIZERS/GRADE 8
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!