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 display company payroll report in list box

Write a program that display a company payroll report in a list box. the program should read each employees name, hourly rate and hours worked from a file and produce a report.

  Determine if a word is a palindrome

Determine if a word is a palindrome. Using a doubly link list read in a word character by character Store each character in its own node. Keep a counter of the number of characters that make up the word.

  Write program which comprises function to compute calories

Write down program which comprises function calories() that is to accept long integer number total and address of integer variables pizza, chips apples and mustard.

  Initialize elements of array with even integers

declare an array called values of type unsigned int with 5 elements. Initialize the elements of the array with the even integers from 2 to 10.

  Creating form which analyzes poker hand entered by user

To observe behavior of Sub Procedures, draw a Form which analyzes a poker hand entered by user and displays the type of hand.

  Program to read list up to hundred addresses

efine a class called address_t with members for the four integers. Your program should read a list up to 100 addresses and nicknames terminated by a sentinel address of all zeros and nickname.

  Write pseudocode for the function of nonplayercharacter

Identify two additional classes needed for a more detailed class model. Their names should be descriptive enough to indicate their overall responsibilities.

  Program to calculate the electricity bill

Write a program to calculate the electricity bill. The rates of electricity per unit are as follows: If the units consumed are equal or less than 100, then the cost is Rs 8/- per unit.

  Create an abstract representation of a generic animal

Create an abstract representation of a generic Animal that has the at least two polymorphic methods for making a sound and showing the image of the animal.

  What is access control

What is access control? What is a data classification model? How is data classification different from a clearance leve?

  Creating printstream object using dos

Create a PrintStream object using dos and assign the resulting reference to ps, a PrintStream variable that has already been declared.

  Program to read the records until end of file

Zip code, county and number of boxes. The program should read the records until end of file is encountered and produce enough mailing labels for each order.

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