Question

IF YOU ZOOM IN ON THE PICTURES ON YOUR COMPUTER YOU SHOULD BE ABLE TO SEE THEM.

The project is based on TripAdvisor content and reviews the goal is to modify the code so that it uses sets to find out which negative words were used throughout the whole 20 reviews

please adjust your code for the following changes --

The data file for this project (attached) contains 20 reviews rather than 3 reviews

Each review occupies 13 lines rather than 14 lines.

The master list of negative keywords needs to be the following: ['awful','bad','beware','careless','decline','depressing','deteriorated','difficult','dirty','disappointing','disinterested','frightening','horrible', 'hostile','incompetent','inconsistent','indifferent','inferior','infuriating','lesson','mediocre','miscommunication','poor','rough','scary','suck', 'sullen','terrible','unclean','uncomfortable','uneven','unfriendly','unhygienic','unimpressive','uninterested','worst']

Here's your task. Using sets, add a single functionality to your code. After printing the number of reviewers who had something negative to say about the hotel, your code should also print the sorted full set of all negative keywords they used, as follows.

Prac - Q Practice P. I 1: Project | 2 Prac.py Prac.py count = 1 full_list = [] current_list = [] Enegative_fixed_list = [awf

- O X C. Command Prompt Microsoft Windows [Version 10.0.17134.1006] c) 2018 Microsoft Corporation. All rights reserved. C:\Us

Pic of the Input file

kAuthorjessica redmond, <Content> Perfect Honeymoon!!!! We had the most wonderful time at the Excellence. We opted for the Ex

0 0
Add a comment Improve this question Transcribed image text
Answer #1

# after the writing the entire code, just the below lines of code to sort the set and print them.

set_content = set(contents_list.sort())

print("The negative keywords they used were:",set_content)

Add a comment
Know the answer?
Add Answer to:
IF YOU ZOOM IN ON THE PICTURES ON YOUR COMPUTER YOU SHOULD BE ABLE TO SEE...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • You said it would be interesting, but I didn’t realize just how interesting it was going...

    You said it would be interesting, but I didn’t realize just how interesting it was going to be,” said Damario. “Well,” replied Sofia, “This resort is not unique. In a lot of properties I’ve worked, there is an ongoing conflict between managers in charge of covering costs and those directly responsible for getting and satisfying guests.” “Like Mark and Pam,” interrupted Damario. “Yes, like Mark and Pam. That’s why things got a little animated. I’m convinced they both have the...

  • Scenario “What’s wrong with being first? We should be proactive, not reactive,” said Jenny Richard, the...

    Scenario “What’s wrong with being first? We should be proactive, not reactive,” said Jenny Richard, the controller at the Brookshire Hotel.               “I’m telling you, it’s simply a bad idea, at this time, in this market,” replied Margie Jackson Director of Sales and Marketing. “No one else is doing it.”               The idea Ms. Richard had was to change hotel policy from that of allowing day-of-arrival room reservation cancellations to one that required a 24-hour notification of cancellation. The controller...

  • 1. Prepare a cash budget for the period February through August. See Exhibit C1. 1 for...

    1. Prepare a cash budget for the period February through August. See Exhibit C1. 1 for necessary data. Eleazar 2. Is there any advantage to extending the forecast through September, October, and November? Explain. --- Eleazar/Jennifer 3. Sarah, in essence, may be asking the firm's vendors for a loan if she requests a deferral on payables. From the hotel's point of view, the size of the loan is your answer to question 3. From the supplier's point of view, however,...

  • It is Monday morning, and as you set your coffee on your desk and open your...

    It is Monday morning, and as you set your coffee on your desk and open your email, the first message catches your eye. The subject line is “Your invoice is unacceptable!” “Uh-oh,” you think to yourself, “this is not a good start to the week!” You are the business manager for Catapult Construction Company. The owner, Thrace, is a talented builder who takes great pride in his work, but has trouble communicating with clients. On a recent job, he had...

  • 140 Part 3 LIFE: Feedback Consider this Case Fear of Feedback magazine article on customer service...

    140 Part 3 LIFE: Feedback Consider this Case Fear of Feedback magazine article on customer service began to customers--and this had caused a lot of positive word with a quote that ing what customers really think about us is fear. We fear said, "The biggest obstacle to know- of mouth for that company le described a toy retailer that million cus- Another examp tell us our product or service stinks, that we're sends out weekly surveys to its database of...

  • perty of a national nal director of gets. However, otels in the area, the uch higher...

    perty of a national nal director of gets. However, otels in the area, the uch higher occupancy ates. The Chris al should be to Case Study Sales Underperforms Even While Meeting Budget The Christopher Hotel is a 180-room economy/business property of chain located in a booming suburb of a major city. Tony, the regional di operations, is orienting the property's new general manager, Janice. Generally, the hotel is close to meeting most of its budgeted targets, when Tony compares the...

  • Based on the information provided in the case study, create an integrated marketing communication (IMC) for...

    Based on the information provided in the case study, create an integrated marketing communication (IMC) for NOBU Hotels. Please include at least 4 promotional mix tools and describe the promotion/activity with sufficient details for each. Traveling in Nobu Style: Converting Restaurant Patrons to Hotel Guests The name “Nobu” is synonymous with an exceptional Japanese dining experience, perfected by chef Nobu Matsuhisa over a more than 30-year career. Matsuhisa, together with actor Robert De Niro and restaurateur Drew Nieporent, opened the...

  • What are your top 3 takaways from this article? It’s always tempting to see the present...

    What are your top 3 takaways from this article? It’s always tempting to see the present moment as the peak of chaos and disruption, whether we’re talking about politics or just how those teenagers behave today. The same is true in marketing, because in many ways that profession is always in a state of chaos and disruption. But I don’t think it’s hyperbole to apply “peak chaos and disruption” to social media marketing in the first quarter of 2018. Let’s...

  • Barcelona Restaurant Group Summary: Barcelona Restaurant Group is always trying to attract and retain only those...

    Barcelona Restaurant Group Summary: Barcelona Restaurant Group is always trying to attract and retain only those employees who reinforce its service-oriented culture and provide top quality customer service. The manager being interviewed in the video is constantly recruiting and hiring new employees and letting low performers and poor fits go. He also tries to provide job candidates with a realistic description of the company's expectations to ensure that they know what they would be getting into if they took a...

  • CLARK FAUCET COMPANY BACKGROUND By 1999, Clark Faucet Company had grown into the third largest supplier...

    CLARK FAUCET COMPANY BACKGROUND By 1999, Clark Faucet Company had grown into the third largest supplier of faucets for both commercial and home use. Competition was fierce. Consumers would evaluate faucets on artistic design and quality. Each faucet had to be available in at least twenty-five different colors. Commercial buyers seemed more interested in the cost than the average consumer, who viewed the faucet as an object of art, irrespective of price. Clark Faucet Company did not spend a great...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT