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 a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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