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
aleksandrvk [35]
3 years ago
12

In electronic messaging, the use of punctuation is deemed inappropriate by some experts. Since texting is a major form of commun

ication these days, many students tend to exclude punctuation from their academic writings as well. As a language teacher, what are the TWO activities that you can suggest to your students to help them eliminate this practice?
English
1 answer:
Nitella [24]3 years ago
4 0

Answer:

1. We have to help the students practice filling punctuation into a document in their after-hours lessons

2. Tell them the use of punctuation in writing essays or doing homework or even in competitions in order not to make misunderstand for examiner

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
Why does shirley start to go home during the middle of the stickball game?​
irakobra [83]
Maybe because she got injured.
8 0
3 years ago
Read the excerpt from "On Becoming an Inventor" by
Oksana_A [137]

Answer:

When he retired I bought not only all his big equipment but all his little toolboxes as well—they were treasures!

Explanation:

I took this quiz. This shows his interest and being willing to invest in it.

3 0
3 years ago
Four out of five dentists agree that Crest toothpaste is
jeka57 [31]
Answer:
False

It’s was four out of five, meaning that one didn’t agree and saying that Crest is ‘superior’ does not rule out other brands because a comparison must be done to justify this statement and the statement does not specify Crest superiority.

:)
4 0
4 years ago
Which sense does this passage appeal to
Ket [755]

It’s ok it only a little bit
4 0
4 years ago
Read 2 more answers
Other questions:
  • The reader can infer that the Hit Man is?
    7·1 answer
  • Rewrite each sentence, correcting the error(s) in each.
    8·2 answers
  • What is the comprehensive definition for "Subjective" (the opposite of "Objective")
    12·1 answer
  • What metaphor is used to describe Slim?
    12·1 answer
  • What are the persuasive techniques Ghandi used in his speech "quit India"?
    11·1 answer
  • Which one of the following is correct example of a plural possessive case
    9·2 answers
  • Please help will mark brainliest!!!
    13·2 answers
  • Why does Ponyboy feel this would be the worst time for him and Sodapop to be separated from Darry and the gang? The book is call
    5·1 answer
  • Who reached the line first
    14·1 answer
  • A TALE OF TWO CITIES
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!