Python Forum
Score each word from list variable
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Score each word from list variable
#3
I observe ambiguity in "split the tweet into words and assign the total score of the tweet to each word".


My house, my rules. -> 'My' 'house,' 'my' 'rules.'
my house my rules -> 'my' 'house' 'my' 'rules'

Aren't 'my' and 'My' same words? Aren't 'rules.' and 'rules' also?
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy

Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Reply


Messages In This Thread
RE: Score each word from list variable - by perfringo - Jun-12-2019, 01:06 PM
RE: Score each word from list variable - by stullis - Jun-13-2019, 04:00 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  For Word, Count in List (Counts.Items()) new_coder_231013 6 2,709 Jul-21-2022, 02:51 PM
Last Post: new_coder_231013
  Split string using variable found in a list japo85 2 1,361 Jul-11-2022, 08:52 AM
Last Post: japo85
  find some word in text list file and a bit change to them RolanRoll 3 1,589 Jun-27-2022, 01:36 AM
Last Post: RolanRoll
Question Problem: Check if a list contains a word and then continue with the next word Mangono 2 2,575 Aug-12-2021, 04:25 PM
Last Post: palladium
  An IF statement with a List variable dedesssse 3 8,516 Jul-08-2021, 05:58 PM
Last Post: perfringo
  Create variable and list dynamically quest_ 12 4,579 Jan-26-2021, 07:14 PM
Last Post: quest_
  Trying to get the first letter of every word in a list DanielCook 2 2,203 Jan-05-2021, 05:06 PM
Last Post: deanhystad
Question Matching variable to a list index Gilush 17 6,040 Nov-30-2020, 01:06 AM
Last Post: Larz60+
  Print variable values from a list of variables xnightwingx 3 2,685 Sep-01-2020, 02:56 PM
Last Post: deanhystad
  Trying to find first 2 letter word in a list of words Oldman45 7 3,846 Aug-11-2020, 08:59 AM
Last Post: Oldman45

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020