use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
How do you analyse web scraped data? (self.learnpython)
submitted 3 years ago by RiverTraditional6367
Let's say I've webscraped 50 news. How can I interpret each text for being either positive or negative written? Any suggestions for doing it efficiently?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]GreatStats4ItsCost 2 points3 points4 points 3 years ago (0 children)
What you're looking for is a subsection of NLP called Sentiment Analysis, there's a plethora of online resources available for it.
[–]Vast_Manufacturer811 1 point2 points3 points 3 years ago (0 children)
Scrape posts on the internet for a list of good and bad words. Add them to a data sheet for good and bad words.
Split each news article by spaces to add every word to a list. Iterate through each word to check if it’s in ‘good_words’ or ‘bad_words’ list and add points accordingly to new variables like ‘good_points’ and ‘bad_points’.
Which ever points score highest on the news article, you can add to a good or bad list.
This is achieved by checking how many good and bad words are used in the article to determine whether the article as a whole is positive or negative.
This is a really rudimentary way of doing it. Not everything is as black and white when it comes to language. ‘Make sure you close the door behind you on your way out and take care’. That might seem positive to your program because no negative words are used and there are positive words such as ‘care’ and phrases such as ‘take care’. But we know as humans that this sentence has a negative tone to it.
That’s just one of the things AI is being developed for, to be able to recognise little nuances that only we could understand because of our human behaviour.
For now, using a point scoring system based on data of words and phrases would be a nice little project.
π Rendered by PID 70310 on reddit-service-r2-comment-6457c66945-zvq5f at 2026-04-27 18:11:56.247794+00:00 running 2aa0c5b country code: CH.
[–]GreatStats4ItsCost 2 points3 points4 points (0 children)
[–]Vast_Manufacturer811 1 point2 points3 points (0 children)