Code Python:
Refer to the attached reviews.txt file, scraped from online reviews of an actual Dominican Republic hotel on TripAdvisor. Write a Python script that counts and prints the number of times each of the following negative keywords appear at least once in that reviews file. Your output needs to be sorted in descending order by frequency (i.e., the word that occurs most often at the very top, and so on).
The negative keywords you need to look for are
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.
...
(Author>Good-Time-Hoy
A truly fantastic place Xmas we have just returned from a 2 week Xmas New Year break at the Excellence Punta Cana. The hotel is magnificent and we have never experienced such incredible service before. The restaurants are great, with plenty of choice. The whole complex is so good that we only did one trip and that was for my wife to swim with the dolphins! Great beaches and pools. The staff fall over each other to look after you! We stayed in a junior suite on ground level and it was spotlessly clean, great maid service and room service on tap 24/7. Overall I would say this is probably the best hotel we have ever stayed in on holidayand I am extremely fussy! The journey to the resort is a little uncomfortable, with the roads in a bad state. But once you are checked in the pace of life slows down and you forget about the outside world! Worthy of special mention and our sincere thanks are: Pedro from the Cielo bar/pool an absolute gentleman. Miguel the Bell Boy and also Carlos from the Skay bar. We will definately be booking again, probably for next Christmas! Jim Eileen (Telford UK) Jan 8, 2009 4 4 4 5 5 5 5 too sick to enjoy the ride to and form the airport is not good. Very bumpy road and you can really see the poor living conditions. When you get to the resort it is like another world, we were told not to drink the tap or shower water- keep your mouth shut in the shower etc. but we have since heard that not all properties in punta cana have a water problem. In some resorts they have a huge purification system and the tap water is safe. Both my husband and I were sick with diarrhea while we were there and put it down to the unclean water used to prepare food. We will not go on any more holidays where we have to worry about our health. Each night at about 10PM when we were settling down to sleep the music started up and we like fresh air but we had to close our patio doors to mute the sound. We really wanted a quieter resort. It was disappointing. It was partially our fault for not doing our research properly. Some people did not hear the bands play at night but we couldnt change our swim up room for a quieter one. We will not be returning to Dominican Republic. Jan 6, 2009 15 No. Helpful>1 2 2 3 2 CBusiness service>-1 AMLBK Relaxing and fun, BUT... I rang in the New Year at Excellence Punta Canal since New York was FREEZING at the time, I was just happy to be in the sun. My husband and I had a great time overall. However, I was a little surprised to see this hotel rating itself as a 5-star facility (more like a 4). All of the basics were covered, but some of the details that I would expect from a 5-star place were missing. The bed, although comfortable creaked loudly and I couldn tell whether or not the headboard was attached properly. The staff were friendly and helpful overall but in keening up with the island mentality. their sense of urgency was lacking We