Analyze a paragraph for readability using the coleman-liau

Assignment Help Computer Engineering
Reference no: EM132200503

Question :

Write a Java console application that analyzes a paragraph for readability using the Coleman-Liau index.

Prompt the user for a paragraph, and then calculate and show the following:

Number of characters.

Number of whitespace characters.

Number of non-whitespace characters.

Number of sentences - these are delimited by periods (.).

Number of words - these are delimited by one or more spaces, commas, and periods.

Number of word letters.

Coleman-Liau index - this is calculated as follows:

1) Count the number of sentences.

2) Count the number of words.

3) Count the number of letters in words.

4) Calculate L = Letters ÷ Words × 100.

5) Calculate S = Sentences ÷ Words × 100.

6) Calculate CLI = 0.0588L - 0.296S - 15.8.

Reference no: EM132200503

Questions Cloud

Convert molarity to mass percentage : How do you calculate/what formula(s) do you use when calculating the mass of solute/solvent in a given solution, determine final molarity after several dilution
What is an isotope : What is an isotope? Does it mean there is a different number of protons or neutrons?
Write a client class to test all the methods in your class : Write a java class encapsulating the concept of daily temperatures for a week. A constructor accepting an array of seven temperatures as a parameter.
Represents the reaction that takes place : A mixture containing 9 mol of F2 and 4 mol of S is allowed to react. This equation represents the reaction that takes place.
Analyze a paragraph for readability using the coleman-liau : Write a Java console application that analyzes a paragraph for readability using the Coleman-Liau index.
Write a java class using generics : You are to write a Java Class using Generics. This class is to be a Double Linked List container for holding other objects which are comparable.
What is the mac of fluoride in drinking water : What is the MAC of fluoride in drinking water? How does fluoride gets into drinking water?What are the health effects of overexposure to fluoride?
Extremely hot flame when it burns in pure oxygen : Acetylene gas (C2H2) used in welding, produces an extremely hot flame when it burns in pure oxygen according to the reaction
Display the name and current balance for this object : Write a Java class called BankAccount (Parts of the code is given below), which has two fields name (String) and balance (double).

Reviews

Write a Review

Computer Engineering Questions & Answers

  Implement the solution for tracking the number of subscribe

In a social media news feed, users are required to subscribe to the news feed before receiving any news or updates. Users can only subscribe to each news feed only once up to five different feeds.

  Implement needham-schroeder symmetric key protocol both

implement needham-schroeder symmetric key protocol both original version and fixed version using python.the term

  Discussion of what your team learned from the exercise

As a term, write a comprehensive summary of the articles. Present a discussion of what your team learned from this exercise.

  Define a list comprehension to generate are infinite list

A positive integer is perfect if it equals the sum of all of its factors, excluding the number itself. For example, 6, 28, 496, and so on.

  Why has shared virtual memory become a necessity

Why has shared virtual memory become a necessity in building a scalable system with memories physically distributed over a large number of processing nodes?

  Estimaitng the cost of ordering and management

If company utilizing the best inventory policy, what would be the total cost of ordering and management?

  Suppose that you are the database developer for a local

suppose that you are the database developer for a local college. the chief information officer has asked you to

  Print the maturity amount after specified tenure

Print the maturity amount after specified tenure in the format - Provide an estimation of amount of time required to complete the project - identify two groups of people such that a person in one group must not be a friend to any other in the same g..

  Figure out how opening multiple simultaneous connections

I know the processor deals with each request either by LIFO or FIFO and never gets confused about what to do and I am sure it could handle such pressures like opening multiple pages all at one time well.

  In a 5 bit crc error detecting scheme suppose that we

in a 5 bit crc error detecting scheme assume we choose the generating bit sequence as 11011.a encode the bit stream

  List the advantages of computerization of the medical office

Assignment cs205- List the advantages of computerization of the medical office. List the disadvantages of computerization of the medical office. What is a covered entity under HIPAA?

  Define an sql statement that changes address of amy stevens

Define an SQL statement that changes the address of Amy Stevens in the 9E=h-O table. Define an SQL statement that deletes the customer with a Customer Id.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd