label
int64 0
4
| cleaned_text
stringlengths 5
368
|
---|---|
3 | The Rock is destined to be the st Century 's new Conan '' and that he 's going to make a splash even greater than Arnold Schwarzenegger JeanClaud Van Damme or Steven Segal |
4 | The gorgeously elaborate continuation of The Lord of the Rings '' trilogy is so huge that a column of words can not adequately describe cowriter\/director Peter Jackson 's expanded vision of JRR Tolkien 's Middleearth |
3 | Singer\/composer Bryan Adams contributes a slew of songs a few potential hits a few more simply intrusive to the story but the whole package certainly captures the intended er spirit of the piece |
2 | You 'd think by now America would have had enough of plucky British eccentrics with hearts of gold |
3 | Yet the act is still charming here |
4 | Whether or not you 're enlightened by any of Derrida 's lectures on the other '' and the self '' Derrida is an undeniably fascinating and playful fellow |
4 | Just the labour involved in creating the layered richness of the imagery in this chiaroscuro of madness and light is astonishing |
3 | Part of the charm of Satin Rouge is that it avoids the obvious with humour and lightness |
4 | a screenplay more ingeniously constructed than Memento '' |
3 | Extreme Ops '' exceeds expectations |
4 | Good fun good action good acting good dialogue good pace good cinematography |
2 | You Should Pay Nine Bucks for This Because you can hear about suffering Afghan refugees on the news and still be unaffected |
4 | Dramas like this make it human |
2 | A thunderous ride at first quiet cadences of pure finesse are few and far between their shortage dilutes the potency of otherwise respectable action |
4 | Still this flick is fun and host to some truly excellent sequences |
3 | Australian actor\/director John Polson and awardwinning English cinematographer Giles Nuttgens make a terrific effort at disguising the obvious with energy and innovation |
3 | You walk out of The Good Girl with mixed emotions disapproval of Justine combined with a tinge of understanding for her actions |
2 | Post \/ the philosophical message of Personal Freedom First '' might not be as palatable as intended |
4 | Absorbing character study by André Turpin |
3 | If you love reading and\/or poetry then by all means check it out |
4 | You 'll probably love it |
3 | Frailty '' has been written so well that even a simple Goddammit '' |
2 | near the end takes on a whole other meaning |
4 | Grenier is terrific bringing an unforced rapidfire delivery to Toback 's Heidegger and Nietzschereferencing dialogue |
2 | The Sundance Film Festival has become so buzzobsessed that fans and producers descend upon Utah each January to ferret out The Next Great Thing |
2 | Tadpole ' was one of the films so declared this year but it 's really more of The Next Pretty Good Thing |
4 | The actors are fantastic |
3 | They are what makes it worth the trip to the theatre |
4 | LRB Taymor RRB utilizes the idea of making Kahlo 's art a living breathing part of the movie often catapulting the artist into her own work |
1 | This is n't a new idea |
4 | It 's been done before but never so vividly or with so much passion |
3 | LRB Take Care of My Cat '' RRB is an honestly nice little film that takes us on an examination of young adult life in urban South Korea through the hearts and minds of the five principals |
2 | It 's not lifeaffirming its vulgar and mean but I liked it |
3 | What Empire '' lacks in depth it makes up for with its heart |
4 | Light silly photographed with colour and depth and rather a good time |
3 | But tongueincheek preposterousness has always been part of For the most part Wilde 's droll whimsy helps Being Earnest '' overcome its weaknesses and Parker 's creative interference |
3 | Much of the movie 's charm lies in the utter cuteness of Stuart and Margolo |
3 | Their computeranimated faces are very expressive |
2 | The path Ice Age follows most closely though is the one established by Warner Bros giant Chuck Jones who died a matter of weeks before the movie 's release |
3 | spiced with humor LRB ' I speak fluent flatula ' advises Denlopp after a rather er bubbly exchange with an alien deckhand RRB and witty updatings LRB Silver 's parrot has been replaced with Morph a cute alien creature who mimics everyone and everything around RRB |
3 | There 's an energy to Y Tu Mamá También |
4 | Much of it comes from the brave uninhibited performances by its lead actors |
2 | Conversations '' holds its goodwill close but is relatively slow to come to the point |
3 | Auto Focus '' works as an unusual biopic and document of male swingers in the Playboy era |
2 | If Mr Zhang 's subject matter is to some degree at least quintessentially American his approach to storytelling might be called Iranian |
0 | a sour little movie at its core an exploration of the emptiness that underlay the relentless gaiety of the 's The film 's ending has a What was it all for '' |
3 | feeling to it but like the 's the trip there is a great deal of fun |
3 | Cremaster '' should come with the warning For serious film buffs only '' |
1 | Made me unintentionally famous as the queasystomached critic who staggered from the theater and blacked out in the lobby |
4 | But believe it or not it 's one of the most beautiful evocative works I 've seen |
3 | García Bernal and Talancón are an immensely appealing couple and even though their story is predictable you 'll want things to work out |
4 | a spoof comedy that carries its share of laughs sometimes a chuckle sometimes a guffaw and to my great pleasure the occasional belly laugh |
3 | LRB City RRB reminds us how realistically nuanced a Robert De Niro performance can be when he is not more lucratively engaged in the shameless selfcaricature of Analyze This ' LRB RRB and Analyze That ' promised LRB or threatened RRB for later this year |
4 | The wanton slipperiness of \* Corpus and its amiable jerking and reshaping of physical time and space would make it a great piece to watch with kids and use to introduce video as art |
4 | Frailty '' starts out like a typical Bible killer story but it turns out to be significantly different LRB and better RRB than most films with this theme |
4 | For those who pride themselves on sophisticated discerning taste this might not seem like the proper cup of tea however it is almost guaranteed that even the stuffiest cinema goers will laugh their \*\*\* off for an hourandahalf |
4 | It cuts to the core of what it actually means to face your fears to be a girl in a world of boys to be a boy truly in love with a girl and to ride the big metaphorical wave that is life wherever it takes you |
3 | A welcome relief from baseball movies that try too hard to be mythic this one is a sweet and modest and ultimately winning story |
3 | A crisp psychological drama LRB and RRB a fascinating little thriller that would have been perfect for an old Twilight Zone '' episode |
3 | It has more than a few moments that are insightful enough to be fondly remembered in the endlessly challenging maze of moviegoing |
2 | Opening with some contrived banter cliches and some loose ends the screenplay only comes into its own in the second half |
3 | An uncluttered resonant gem that relays its universal points without lectures or confrontations ' |
3 | LRB The Cockettes RRB provides a window into a subculture hellbent on expressing itself in every way imaginable ' |
3 | A smart steamy mix of road movie comingofage story and political satire |
1 | The modernday royals have nothing on these guys when it comes to scandals |
1 | It 's only in fairy tales that princesses that are married for political reason live happily ever after |
4 | A terrific B movie in fact the best in recent memory |
3 | Birthday Girl '' is an actor 's movie first and foremost |
4 | I walked away from this new version of ET just as I hoped I would with moist eyes |
4 | For devotees of French cinema Safe Conduct is so rich with period minutiae it 's like dying and going to celluloid heaven |
3 | What 's really so appealing about the characters is their resemblance to everyday children |
2 | Shamelessly resorting to peerelated sight gags that might even cause Tom Green a grimace still Myer 's energy and the silliness of it all eventually prevail |
1 | An absurdist spider web |
3 | If you 're as happy listening to movies as you are watching them and the slow parade of human frailty fascinates you then you 're at the right film |
2 | This version moves beyond the original 's nostalgia for the communal film experiences of yesteryear to a deeper realization of cinema 's inability to stand in for true lived experience |
2 | Some movies blend together as they become distant memories |
3 | Mention Solaris '' five years from now and I 'm sure those who saw it will have an opinion to share |
4 | Allen 's funniest and most likeable movie in years |
4 | It 's a glorious spectacle like those DW Griffith made in the early days of silent film |
4 | This comic gem is as delightful as it is derivative |
4 | More timely than its director could ever have dreamed this quietly lyrical tale probes the ambiguous welcome extended by Iran to the Afghani refugees who streamed across its borders desperate for work and food |
3 | The leaping story line shaped by director Peter Kosminsky into sharp slivers and cutting impressions shows all the signs of rich detail condensed into a few evocative images and striking character traits |
2 | With three excellent principal singers a youthful and goodlooking diva and tenor and richly handsome locations it 's enough to make you wish Jacquot had left well enough alone and just filmed the opera without all these distortions of perspective |
4 | The production has been made with an enormous amount of affection so we believe these characters love each other |
3 | Certainly the performances are worthwhile |
3 | Winds up being both revelatory and narcissistic achieving some honest insight into relationships that most highconcept films candycoat with pat storylines precious circumstances and beautiful stars |
4 | Watching these eccentrics is both inspiring and pure joy |
4 | Steven Spielberg brings us another masterpiece |
3 | Finally the Frenchproduced Read My Lips '' is a movie that understands characters must come first |
4 | Ms Seigner and Mr Serrault bring fresh unforced naturalism to their characters |
3 | Allen shows he can outgag any of those young whippersnappers making moving pictures today |
3 | A good film with a solid pedigree both in front of and more specifically behind the camera |
1 | By no means a slamdunk and sure to ultimately disappoint the action fans who will be moved to the edge of their seats by the dynamic first act it still comes off as a touching transcendent love story |
4 | I encourage young and old alike to go see this unique and entertaining twist on the classic whale 's tale you wo n't be sorry |
3 | A literary detective story is still a detective story and aficionados of the whodunit wo n't be disappointed |
3 | High Crimes steals so freely from other movies and combines enough disparate types of films that it ca n't help but engage an audience |
4 | If you 're a fan of the series you 'll love it and probably want to see it twice |
3 | I will be |
3 | It celebrates the group 's playful spark of nonconformity glancing vividly back at what Hibiscus grandly called his angels of light ' |
4 | The story is inspiring ironic and revelatory of just how ridiculous and moneyoriented the record industry really is |
The text file contains the collection of short movie reviews. Each review is enclosed in parentheses and consists of a numerical rating followed by the review text. The numerical rating is on a scale of 0 to 4, where higher numbers indicate a more positive review.
Here are some additional observations:
Format: The reviews follow a consistent format with the rating at the beginning, making it easy to identify the sentiment of each review. Concise: The reviews are generally concise, focusing on key aspects of the movie. Variety of Movies: The reviews cover a wide range of movies, from dramas and comedies to documentaries and action films. Diverse Opinions: The ratings suggest a diversity of opinions on the movies.
The text file contains sentences that are hierarchically structured, likely using nested parentheses to represent some form of syntactic parsing. To convert this into a format suitable for sentiment analysis, we need to extract the sentences in a plain text format and load them into a DataFrame.
Follow the below code for the above process
import pandas as pd import re
labels = [] texts = []
with open("train.txt", "r") as file: for line in file: match = re.search(r'((\d+) ((.*)))', line) if match: labels.append(int(match.group(1))) texts.append(match.group(2))
df = pd.DataFrame({"label": labels, "text": texts}) df.to_csv("output.csv", index=False)
import pandas as pd import re
df = pd.read_csv("output.csv") pattern = r'[().,;:"!?0-9]' df['cleaned_text'] = df['text'].astype(str).apply(lambda x: re.sub(pattern, '', x)) df[['label', 'cleaned_text']].to_csv("cleaned_output.csv", index=False) df = df.drop('text' , axis=1) df.to_csv('sentence_train.csv' , index=False)
- Downloads last month
- 15