Write a program that counts the number of lines characters

Assignment Help Programming Languages
Reference no: EM132397984

Assignment : Movie scripts

The year is 1994. You are the agent of Tom Cruise. Tom is offered the part of "Ethan" in the movie Mission Impossible. However, Tom only wants the part if his role is so big that he has more than 2.5x as many lines as the second-most prominent character.

Unfortunately, you don't have the time to read the script (it is in the attached file mi. txt ), so you will have to write a program that counts the number of lines each character has. Fortunately, movie scripts are formatted in a very particular way, with a certain number of spaces for each type of line. Recall the exercise in week 3 about Romeo & Juliet which solved a related problem.

a: Your mission, should you choose to accept it, is to plot the top 20 characters with the most lines of dialogue in the script in a bar plot. The plot should have names on the y-axis and the number of lines for each character on the x-axis. Note that 'ETHAN (CONT'D)" is not a name, the part in parentheses should be stripped off; for simplicity, count it as a separate line of dialogue even though it indicates a continuation of a previous line.

Attachment:- Assignment Details.rar

Reference no: EM132397984

Questions Cloud

Write a short paragraph on each articles relevance : You will then write a short paragraph on each article's relevance to your paper (see sections on "Discussion" and "Conclusion" in previous Article Critique.
Evaluate the quality of the article by considering recency : Of your 10 sources, you will choose 5 of your sources and will write 5 Annotated Bibliographies. Before selecting the article as a source for your annotated.
Explain the rationale behind your suggestions : Post a description of efforts currently in place to address poverty in the area where you live. Suggest two strategies for enhancing the current antipoverty.
Describe the needs of the population groups : Sometimes, during heated discussions and debates about social policy, the underlying reasons for the policy go unnoticed. Advocates and policymakers may become.
Write a program that counts the number of lines characters : Your mission, should you choose to accept it, is to plot the top 20 characters with the most lines of dialogue in the script in a bar plot.
Create a mini-monograph for gama hidroksibütrik asit drug : Create a mini-monograph for Gama Hidroksibütrik Asit drug. A drug monograph is a summary about the clinical aspects of a drug or pharmaceutical agent.
Describe how disability can be defined as a social construct : An analysis of the implications of the social construction of disability. Describe how disability can be defined as a social construct.
How evolution of health care policy has influenced programs : Give an explanation of how the evolution of health care policy has influenced programs such as Medicaid and Medicare. Describe a specific Medicaid policy.
Explain results in terms of differences in sampling error : Explain your results in terms of differences in sampling error, sample representativeness, descriptive statistical estimates with related confidence interval.

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