Create a glossary generator

Assignment Help Programming Languages
Reference no: EM13337422

Basic Tasks (finish all)

1. Prompt the user to enter a word, return its definition and scrabble score (or output "not valid in scrabble")

2. Find the word(s) with more than three ‘z''s

3. List the words that have a 'q' without a following 'u' eg 'Iraqi'

4. List all words that are a noun and a verb e.g. "Phone"

o Use isVerb() and isNoun() to do this

5. List all words that are palindromes. e.g .'civic'

6. Find the word(s) with the highest scrabble score

7. Find the word with the highest scrabble score to length ratio. (scrabble score divided by length of word)

Intermediate tasks (finish any 2)

8. Let the user enter a string of letters, return the word with the highest scrabble score which can be made using (not necessarily all) of the letters.

9. Prompt the user for a word, and report all words that rhyme (by checking if the last 3 letters are the same)

10. Prompt the user for a word, and report all words that are anagrams of the word (e.g. "admirer" and "married")

Advanced tasks (finish 1)

11. Let the user play a game of hangman (random chosen word). Hyphenated words should have the hyphen indicated. Show the words definition after the game finishes. (it's ok to say x guesses remaining, if you don't want to draw an ascii art graphic)

12. From the dataset calculate the probability of any letter occurring next to any other letter; and use this to generate 10 random words which sound like English words, but do not exist in the dictionary;

13. Create a glossary generator:

1. Parse the file "many_english_works.txt" one word at a time. Every time a word is found that is in the dictionary increment the words usageFrequency .

2. Parse the text "new_work.txt" one word at a time, for every word that is also in the dictionary and isRareWord() returns true print the word and its definition. Careful not to print the same word twice!

Reference no: EM13337422

Questions Cloud

Determine the maximum torque on the wire : A wire is formed into a circle having a diameter of 10.3 cm and is placed in a uniform magnetic field of 3.25 mT. The wire carries a current of 5.00 A. Find the maximum torque on the wire.
Compute the speed of the waves on the string : A standing wave on a string that is fixed at both ends has frequency 80.0 Hz. What is the speed of the waves on the string
Calculate and compare the energy released by fusion : calculate and compare the energy released by (a) fusion of 1 kg of hydrogen deep within the sun and (b) the fisision of 1 kg U235 in a fission reactor
Determine the decay constant and half life of the sample : A count rate meter is used to measure the activity of a given sample. At one instant, the meter shows 4.750 counts/min. Five minutes later, it shows 2700 counts/min.
Create a glossary generator : Prompt the user to enter a word, return its definition and scrabble score (or output "not valid in scrabble")
How much work is done on the object by force accelerating : An initially stationary 2.3 kg object accelerates horizontally and uniformly to a speed of 22 m/s in 3.2 s. (a) In that 3.2 s interval, how much work is done on the object by the force accelerating it
Should the government subsidize college education so that : Should the government subsidize college education so that it can be provided with very low tuition?
How much work does the force from the hose do on the balloon : A balloon filled with dyed water is placed in a pouch attached to the hose, which is then stretched through the width of the room. Assume that the stretching of the hose obeys Hooke's law with a spring constant of 53.0 N/m.
Explain what is the rate constant : what is the rate order with respect to (C12H12O11) b)what is the rate constant. Using the rate constant calculate the concentration of sucrose at 39, 80, 140, 210 minutes if the initial sucrose concentration was 0.316M and the reaction was zero or..

Reviews

Write a Review

Programming Languages Questions & Answers

  Write program to calculate miles per gallon for automobile

Write down the program which calculates miles per gallon for automobile. The program must ask for beginning milage reading on odometer at first.

  Write a code to locate and rank keywords

You are working on the custom Web application to design document library for client. Write code to locate and rank the keywords. You have been given sample document to use for testing.

  Function to retrieve each of the private data members

Write a class called "Date" with month, day and year as private members. Have constructor that sets default date to 1st January 2000. Have accessor function which retrieves each of the private data members.

  Write program to find smallest-largest value from n numbers

Write down program which will determine the smallest, largest and average values in collection of N numbers. Get value of N before scanning each value in collection of N numbers.

  Invoke method to tell air conditioner object to turn on

Assume there is a reference variable myAC to an object of this class, which has already been created. Using the reference variable, invoke a method to tell the air conditioner object to turn on.

  Create set-list of enumerated constants called week

Create set/list of enumerated constants called week which contains days of week. Have variable called today that is of kind week. Allot a value to today.

  Write a subroutine named as count_monomers

In a similar way, write a subroutine named as "count_codons" to count and print the frequency of each codon, sorted by codons. Your codon counts should be the same as those produced by the listed code.

  Write liberty basic to make payment of current balance

Makes a payment equal to 5 percent of current balance suppose the customer makes no new purchases. Must be written in Liberty Basic.

  Advantages of contemporary languages allow kinds of comments

Many contemporary languages allow two kinds of comments, one in which delimiters are used on both ends (for multiple line comments), and one in which a delimiter marks only the beginning of the comment.

  Explain and identify object-oriented concepts

Explain and identify object-oriented concepts and identify object-oriented classes and also the attributes and methods they contain.

  Write program to give functionality to process movie rentals

Your first procedure is to be named MOVIE_RENTAL_SP and is going to give functionality to process movie rentals. Based on data which will represent movie id, member id and payment method.

  Example on substitution model

Use the substitution model to illustrate what the result of calling (add1-iter '(1 2 3)) will be.  Why is the list reversed?

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