Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [jalal@goku sentiment]$ python entity_sentiment.py sentiment-entities-file gs://monajalalbucket/10tweets.txt
- Name: "Trump"
- Begin Offset : 0
- Content : Trump
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 2
- Salience: 0.20629267394542694
- Sentiment:
- Name: "hand"
- Begin Offset : 19
- Content : hand
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 2
- Salience: 0.09872353076934814
- Sentiment:
- Name: "water boarding"
- Begin Offset : 39
- Content : water boarding
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 2
- Salience: 0.09872353076934814
- Sentiment:
- Name: "some"
- Begin Offset : 58
- Content : some
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 2
- Salience: 0.09872353076934814
- Sentiment:
- Name: "Trump @realDonaldTrump"
- Begin Offset : 87
- Content : Donald Trump
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 1
- Begin Offset : 426
- Content : Trump @realDonaldTrump
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 1
- Begin Offset : 422
- Content : Mr.
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 2
- Begin Offset : 541
- Content : Fighter
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 2
- Salience: 0.08471054583787918
- Sentiment:
- Name: "GOPDebate RT @wpjenna"
- Begin Offset : 65
- Content : GOPDebate
- RT @wpjenna
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 1
- Salience: 0.028360756114125252
- Sentiment:
- Name: "Ted Cruz"
- Begin Offset : 381
- Content : Cruz
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 1
- Begin Offset : 1018
- Content : Ted Cruz
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 1
- Salience: 0.026429520919919014
- Sentiment:
- Name: "amendment"
- Begin Offset : 140
- Content : amendment
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 2
- Salience: 0.018328476697206497
- Sentiment:
- Name: "President"
- Begin Offset : 509
- Content : President
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 2
- Salience: 0.017341533675789833
- Sentiment:
- Name: "Sanders & Clinton"
- Begin Offset : 357
- Content : Sanders & Clinton
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 1
- Begin Offset : 603
- Content : Clinton
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 1
- Begin Offset : 902
- Content : Hillary
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 1
- Salience: 0.014142620377242565
- Sentiment:
- Name: "vulger language"
- Begin Offset : 321
- Content : vulger language
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 2
- Salience: 0.01232724916189909
- Sentiment:
- Name: "VP"
- Begin Offset : 389
- Content : VP
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 2
- Salience: 0.012247905135154724
- Sentiment:
- Name: "votes"
- Begin Offset : 401
- Content : votes
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 2
- Salience: 0.01221970934420824
- Sentiment:
- Name: "NHPrimary @realDonaldTrump"
- Begin Offset : 259
- Content : NHPrimary
- @realDonaldTrump
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 1
- Salience: 0.011816016398370266
- Sentiment:
- Name: "Worker"
- Begin Offset : 555
- Content : Worker
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 2
- Salience: 0.011127510108053684
- Sentiment:
- Name: "Bernie #DemDebate Sanders"
- Begin Offset : 567
- Content : Bernie #DemDebate
- Sanders
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 1
- Begin Offset : 844
- Content : Bernie Sanders
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 1
- Salience: 0.010856932029128075
- Sentiment:
- Name: "Kasich"
- Begin Offset : 217
- Content : Kasich
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 1
- Salience: 0.010815095156431198
- Sentiment:
- Name: "Rubio 19"
- Begin Offset : 206
- Content : Rubio 19
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 1
- Salience: 0.010815095156431198
- Sentiment:
- Name: "Bush"
- Begin Offset : 226
- Content : Bush
- Magnitude : 0.20000000298023224
- Sentiment : -0.20000000298023224
- Type : 1
- Salience: 0.010815095156431198
- Sentiment: magnitude: 0.20000000298023224
- score: -0.20000000298023224
- Name: "foreign policy"
- Begin Offset : 872
- Content : foreign policy
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 2
- Salience: 0.010434628464281559
- Sentiment:
- Name: "Henry Kissinger https://t.co/xT5J4uh4m4"
- Begin Offset : 658
- Content : Henry Kissinger https://t.co/xT5J4uh4m4
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 1
- Begin Offset : 648
- Content : Warmonger
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 2
- Salience: 0.010315259918570518
- Sentiment:
- Name: "RT @SurfPHX"
- Begin Offset : 410
- Content : RT @SurfPHX
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 1
- Salience: 0.00907976645976305
- Sentiment:
- Name: "question"
- Begin Offset : 893
- Content : question
- Magnitude : 0.10000000149011612
- Sentiment : -0.10000000149011612
- Type : 2
- Salience: 0.00829707458615303
- Sentiment: magnitude: 0.10000000149011612
- score: -0.10000000149011612
- Name: "b/c"
- Begin Offset : 923
- Content : b/c
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 2
- Salience: 0.00829707458615303
- Sentiment:
- Name: "@NRO RT"
- Begin Offset : 810
- Content : @NRO
- RT
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 1
- Salience: 0.007767416071146727
- Sentiment:
- Name: "@scarylawyerguy"
- Begin Offset : 818
- Content : @scarylawyerguy
- Magnitude : 0.10000000149011612
- Sentiment : -0.10000000149011612
- Type : 1
- Salience: 0.007767416071146727
- Sentiment: magnitude: 0.10000000149011612
- score: -0.10000000149011612
- Name: "Christie"
- Begin Offset : 236
- Content : Christie
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 1
- Salience: 0.007305807899683714
- Sentiment:
- Name: "Mexican"
- Begin Offset : 393
- Content : Mexican
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 1
- Salience: 0.007241975516080856
- Sentiment:
- Name: "media"
- Begin Offset : 931
- Content : media
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 2
- Salience: 0.005747187417000532
- Sentiment:
- Name: "Professor"
- Begin Offset : 1005
- Content : Professor
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 2
- Salience: 0.0057408567517995834
- Sentiment:
- Name: "advice"
- Begin Offset : 636
- Content : advice
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 2
- Salience: 0.00429959362372756
- Sentiment:
- Name: "https://t.co/zFxa4Q70wh"
- Begin Offset : 1050
- Content : https://t.co/zFxa4Q70wh
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 1
- Salience: 0.004267510492354631
- Sentiment:
- Name: "@YouTube Cruz"
- Begin Offset : 702
- Content : @YouTube
- Cruz
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 1
- Salience: 0.0034092762507498264
- Sentiment:
- Name: "DemDebate Why Did U of California Fire Tenured Riverside"
- Begin Offset : 948
- Content : DemDebate
- Why Did U of California Fire Tenured Riverside
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 1
- Salience: 0.003399524837732315
- Sentiment:
- Name: "Higher Ed"
- Begin Offset : 1031
- Content : Higher Ed
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 1
- Salience: 0.003396077314391732
- Sentiment:
- Name: "Foreign Policy"
- Begin Offset : 621
- Content : Foreign Policy
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 1
- Salience: 0.0027129491791129112
- Sentiment:
- Name: "Rubio"
- Begin Offset : 717
- Content : Rubio
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 1
- Salience: 0.002467490965500474
- Sentiment:
- Name: "Moral Bankruptcy of Progressive Identity Politics https://t.co/kSQstJXtKO"
- Begin Offset : 732
- Content : Moral Bankruptcy of Progressive Identity Politics https://t.co/kSQstJXtKO
- Magnitude : 0.0
- Sentiment : 0.0
- Type : 1
- Salience: 0.002158748684450984
- Sentiment:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement