Something like this might do the trick for you:
sentiment_words = {} # this will be a dict of 3-member lists, with word as key
for word in words:
if not word in sentiment_words: # initialize the word if it's not present yet
sentiment_words[word] = [0, 0, 0]
if ispositive(word): # increment the right sentiment item in the list
sentiment_words[word][0] += 1
elif isnegative(word):
sentiment_words[word][1] += 1
elif isneutral(word):
sentiment_words[word][2] += 1
If you can say more about the specifics I might be able to tune it in a bit for you.