Questions tagged [sentiments]

The tag has no usage guidance.

8 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
1answer
69 views

Pset 6 sentiments init function

I'm working on the init function is sentiments and I'm struggling a bit on what to put in the for loop. This is what I have so far, can someone tell me if this is correct or how to fix it? def ...
0
votes
1answer
41 views

Pset6 analyzer getting positive words from text and turning them into a string

I'm trying to get the analyzer function to work and I'm really just not fully understanding what to do and how to do it. I think I need to take each line of the text files and have put into a string. ...
0
votes
1answer
33 views

Using open.readlines, why won't it return the list?

My understanding of this part of sentiments is that I need to open the positive words file and make it all into a list, I thought I could do this with open.readlines, but it isn't working. Can someone ...
0
votes
1answer
29 views

pset6 sentiments init help

I just started working on the sentiments, at the moment I'm loading the positive words into a list and printing them out at a test. I'm having trouble with the for loops for getting each word into the ...
0
votes
1answer
40 views

Starting pset6, sentiments

I'm really not completely understanding how to get started on sentiments. I think I need to load the positive and negative words into the memory of analyze, but I don't really understand how I go ...
0
votes
0answers
77 views

Pset6 2017 Sentiments WebServer running problem

I have a problem running Pset6. I'm following instructions. I have set access rights, run flask and then click "CS50 IDE" -> "Web Server" in the left top corner and have an exception "Error opening ...
0
votes
1answer
604 views

Lost trying to figure out sentiments PSET 6 2017

I need some help with pset6 I'm basically lost trying to figure out what I should be doing. I have my analyzer code which doesn't return any errors when I run it but at the same time returns no output ...
0
votes
1answer
506 views

tweets error in PSET6

Hi I am working on pset6 sentiments. I am not quite sure where goes wrong in my codes because all I get is the error message on the stage of getting tweets. appreciate if someone could give me an idea ...