Let us worry about your assignment instead!

We Helped With This Python Programming Assignment: Have A Similar One?

More InfoPython Programming Help

Short Assignment Requirements

The course is called Computing in Context, and I'm in digital humanities track. The prompt is pretty clear in the assignment and please include the rubric and readme file if possible! Thank you!

Assignment Description



Digital Humanities Assignment 2


 Watch the videos associated with this assignment (Hint: watch them on youtube to expand the screen):

Week 1 Videos: DH-2-1.html

Week 2 Videos: DH-2-2.html


Part 1 (40 points): For Part 1 of this assignment, recreate a portion of the van Velzen, Nanetti, and de Deyn paper by calculating a normalized Type-Token Ratio of Agatha Christie's novel The Secret Adversary.


To do this, write a program that:

1. Accesses the Project Gutenberg html file that contains the book at http://www.gutenberg.org/files/1155/1155-h/1155-h.htm


2. Parses the HTML to isolate only the book contents (do not include the title, table of contents, metadata, etc). In your readme, be sure to explain why you chose the parsing technique you chose and how you confirmed it gives the text you expect.


3. Calculates and prints the Type-Token Ratio of the piece, using the block TTR method described in the Method section of the van Velzen and Garrard paper (http://www.maneyonline.com/doi/pdfplus/10.1179/174327908X392852). You only need to calculate the mean of the blocks, not the standard deviation.


You may use any of the libraries or materials used in the lecture videos or in class. Remember to break up your program into reasonable functions.


Part 2 (60 points): For Part 2, create a program that grades essays by giving a score based on Orwell's metrics for good writing.


1. Choose at least three metrics of "writing well" (on the level of word, sentence, or paragraph) based on Orwell's essay and write your own explicit rubric for grading a specific type of paper in your readme. Be sure to justify your rubric, describe its limitations, and suggest places for refinement.


For example, since students' philosophy papers often devolve into rambling personal musing, I could write a rubric where the score is:

40%: Ideal paragraph length, calculated by 1 - the average deviation from a six sentence paragraph divided by the number of sentences in that paragraph

35%: Thesis supported by evidence, calculated by the average number of quotes per paragraph, with a maximum average of 1

15%: Idea expressed in simplest terms, calculated by 1/(average length of word - 6), where negative/undefined values receive a score of 1

10%: Variety of language, calculated using a normalized TTR with a block size of 500 words


2. Create a program that cleans and grades a given text file according to your rubric and outputs a score out of 100 possible points. Run some of your own essays through your program to test it.


3. Modify your program to accept a variable number of file name inputs and writes every file name and its associated score to another text file. Your output should look as follows:

file1.txt 82

myessay.txt 65

apaper.txt 90



What to hand in:

part1.py - Your commented program submission for part 1

part2.py - Your commented program submission for part 2

README.txt - For each program, include information on how to run the program, a list of required libraries, explanations of decisions you made, and any known errors

Frequently Asked Questions

Is it free to get my assignment evaluated?

Yes. No hidden fees. You pay for the solution only, and all the explanations about how to run it are included in the price. It takes up to 24 hours to get a quote from an expert. In some cases, we can help you faster if an expert is available, but you should always order in advance to avoid the risks. You can place a new order here.

How much does it cost?

The cost depends on many factors: how far away the deadline is, how hard/big the task is, if it is code only or a report, etc. We try to give rough estimates here, but it is just for orientation (in USD):

Regular homework$20 - $150
Advanced homework$100 - $300
Group project or a report$200 - $500
Mid-term or final project$200 - $800
Live exam help$100 - $300
Full thesis$1000 - $3000

How do I pay?

Credit card or PayPal. You don't need to create/have a Payal account in order to pay by a credit card. Paypal offers you "buyer's protection" in case of any issues.

Why do I need to pay in advance?

We have no way to request money after we send you the solution. PayPal works as a middleman, which protects you in case of any disputes, so you should feel safe paying using PayPal.

Do you do essays?

No, unless it is a data analysis essay or report. This is because essays are very personal and it is easy to see when they are written by another person. This is not the case with math and programming.

Why there are no discounts?

It is because we don't want to lie - in such services no discount can be set in advance because we set the price knowing that there is a discount. For example, if we wanted to ask for $100, we could tell that the price is $200 and because you are special, we can do a 50% discount. It is the way all scam websites operate. We set honest prices instead, so there is no need for fake discounts.

Do you do live tutoring?

No, it is simply not how we operate. How often do you meet a great programmer who is also a great speaker? Rarely. It is why we encourage our experts to write down explanations instead of having a live call. It is often enough to get you started - analyzing and running the solutions is a big part of learning.

What happens if I am not satisfied with the solution?

Another expert will review the task, and if your claim is reasonable - we refund the payment and often block the freelancer from our platform. Because we are so harsh with our experts - the ones working with us are very trustworthy to deliver high-quality assignment solutions on time.

Customer Feedback

"Thanks for explanations after the assignment was already completed... Emily is such a nice tutor! "

Order #13073

Find Us On

soc fb soc insta

Paypal supported