Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello! I need helps on this question. Please concern all the reqiurements and the question are asking about. And also, please make sure it works.

Hello! I need helps on this question. Please concern all the reqiurements and the question are asking about. And also, please make sure it works.

Thank you so much!

image text in transcribed

image text in transcribed

1. Task Write a file named spel1check.py that checks user-entered text for misspelled words Do this by reading a list of correctly spelled words from http://cs 1110.cs.virginia.edu/files/words.txt - the file has one word per line Then read lines of user-entered text; list any misspelled words in what they entered; and keep reading lines until they enter a blank line. Strip off any leading or trailing punctuation before checking the word (the built-in string method strip can do this easily: s.strip("). Only list a word as misspelled if it is not in the ist of workds, but ignore case; "tHe" is not misspelled for this assignment. Your program should read the list of words from the web only once per run of the program, no matter how many lines of text the user types in a given run. 1.1.Style matters In addition to functional correctness, some points will be reserved for 1, having good variable names 2. having meaningful docstrings for any function you write (no functions are required, but if you create one, add a docstring) 2. Example Invocations An example run of the program might look like: Type text; enter a blank line to end. But oh, beamish nephew, bware of the day, MISSPELLED: beamish If your Snark be a Boojum! For then MISSPELLED: Snark MTSSPELLED: Boojum You will softly and suddenly vanish away And never be met with again

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Records And Database Management

Authors: Jeffrey R Stewart Ed D, Judith S Greene, Judith A Hickey

4th Edition

0070614741, 9780070614741

More Books

Students also viewed these Databases questions

Question

1 . Television News channels importantance of our Life pattern ?

Answered: 1 week ago

Question

What is the difference between Needs and GAP Analyses?

Answered: 1 week ago

Question

What are ERP suites? Are HCMSs part of ERPs?

Answered: 1 week ago