In [75]:
#coding=utf-8
import xml.etree.ElementTree as ET

In [429]:
fileRoot = 'ES2015c.D.words'

In [430]:
fileName = '../AMI_corpus_resources/words/' + fileRoot + '.xml'

In [431]:
tree = ET.parse(fileName)

In [432]:
root = tree.getroot()

In [433]:
# load stop word list
stopWordFileName = '../../open_rogets_1.4/stops.txt'
stopFile = open(stopWordFileName, 'r+')

stopFile.seek(0)

# load stop word into array
stopWordList = []
for line in stopFile:
    stopWordList.append(line.strip())

In [434]:
# check whether the given word is in the stop word list
# if does, return True
# else, return False

def checkStopWord(givenWord):
    # check the word in the stop word list or not
    exist = False
    for stopWord in stopWordList:
        if givenWord == stopWord:
            exist = True
            
    return exist

In [435]:
# load file content into dictionary
wordsInFile = dict()
for w in root.findall('w'):
    wordDetail = {}
    if w.text in wordsInFile:
        # get current word detail
        wordDetail = wordsInFile[w.text]
        
        #update occurance times
        times = wordDetail['occurance']
        times = times + 1
        wordDetail['occurance'] = times
        
        # store the word detail
        wordsInFile[w.text] = wordDetail
    else:
        wordDetail = {'occurance': 1, 'isStopWord':False}
        wordsInFile[w.text] = wordDetail

In [436]:
print wordsInFile


{'all': {'occurance': 3, 'isStopWord': False}, 'fashion-watchers': {'occurance': 1, 'isStopWord': False}, 'pointing': {'occurance': 2, 'isStopWord': False}, 'channe': {'occurance': 1, 'isStopWord': False}, 'themes': {'occurance': 1, 'isStopWord': False}, 'skin': {'occurance': 1, 'isStopWord': False}, 'go': {'occurance': 3, 'isStopWord': False}, 'tw': {'occurance': 1, 'isStopWord': False}, 'to': {'occurance': 23, 'isStopWord': False}, 'under': {'occurance': 2, 'isStopWord': False}, 'Not': {'occurance': 1, 'isStopWord': False}, 'include': {'occurance': 1, 'isStopWord': False}, 'straightforward': {'occurance': 1, 'isStopWord': False}, 'very': {'occurance': 2, 'isStopWord': False}, "I'd": {'occurance': 1, 'isStopWord': False}, 'every': {'occurance': 2, 'isStopWord': False}, "we'll": {'occurance': 2, 'isStopWord': False}, 'Just': {'occurance': 1, 'isStopWord': False}, 'did': {'occurance': 1, 'isStopWord': False}, 'list': {'occurance': 1, 'isStopWord': False}, 'mm': {'occurance': 1, 'isStopWord': False}, 'clothes': {'occurance': 1, 'isStopWord': False}, 'talked': {'occurance': 2, 'isStopWord': False}, 'says': {'occurance': 1, 'isStopWord': False}, "you'd": {'occurance': 2, 'isStopWord': False}, 'ten': {'occurance': 1, 'isStopWord': False}, 'Should': {'occurance': 1, 'isStopWord': False}, 'second': {'occurance': 1, 'isStopWord': False}, 'design': {'occurance': 3, 'isStopWord': False}, 'web-based': {'occurance': 1, 'isStopWord': False}, 'what': {'occurance': 4, 'isStopWord': False}, 'preferences': {'occurance': 1, 'isStopWord': False}, 'current': {'occurance': 1, 'isStopWord': False}, 'revitalises': {'occurance': 1, 'isStopWord': False}, 'international': {'occurance': 1, 'isStopWord': False}, 'appeal': {'occurance': 1, 'isStopWord': False}, 'method': {'occurance': 1, 'isStopWord': False}, 'contrast': {'occurance': 1, 'isStopWord': False}, 'Mm': {'occurance': 2, 'isStopWord': False}, 'here': {'occurance': 2, 'isStopWord': False}, 'hours': {'occurance': 1, 'isStopWord': False}, 'Alright': {'occurance': 1, 'isStopWord': False}, "aren't": {'occurance': 1, 'isStopWord': False}, 'fifteen': {'occurance': 1, 'isStopWord': False}, 'casing': {'occurance': 1, 'isStopWord': False}, 'changed': {'occurance': 1, 'isStopWord': False}, 'reports': {'occurance': 1, 'isStopWord': False}, 'options': {'occurance': 1, 'isStopWord': False}, 'pitch': {'occurance': 1, 'isStopWord': False}, "It's": {'occurance': 1, 'isStopWord': False}, 'shoved': {'occurance': 1, 'isStopWord': False}, 'user-friendliness': {'occurance': 1, 'isStopWord': False}, 'technologically': {'occurance': 1, 'isStopWord': False}, 'use': {'occurance': 4, 'isStopWord': False}, 'from': {'occurance': 5, 'isStopWord': False}, 'spoke': {'occurance': 1, 'isStopWord': False}, 'would': {'occurance': 2, 'isStopWord': False}, 'ploy': {'occurance': 1, 'isStopWord': False}, 'two': {'occurance': 3, 'isStopWord': False}, 'live': {'occurance': 1, 'isStopWord': False}, 'markets': {'occurance': 1, 'isStopWord': False}, 'today': {'occurance': 1, 'isStopWord': False}, 'more': {'occurance': 2, 'isStopWord': False}, 'So': {'occurance': 16, 'isStopWord': False}, 'stick': {'occurance': 4, 'isStopWord': False}, 'tying': {'occurance': 1, 'isStopWord': False}, 'Now': {'occurance': 1, 'isStopWord': False}, 'animals': {'occurance': 1, 'isStopWord': False}, 'room': {'occurance': 1, 'isStopWord': False}, 'hour': {'occurance': 3, 'isStopWord': False}, 'f': {'occurance': 1, 'isStopWord': False}, 'this': {'occurance': 5, 'isStopWord': False}, 'work': {'occurance': 2, 'isStopWord': False}, 'cat': {'occurance': 1, 'isStopWord': False}, 'can': {'occurance': 3, 'isStopWord': False}, 'my': {'occurance': 4, 'isStopWord': False}, 'control': {'occurance': 4, 'isStopWord': False}, 'plate': {'occurance': 1, 'isStopWord': False}, "didn't": {'occurance': 1, 'isStopWord': False}, 'high': {'occurance': 1, 'isStopWord': False}, 'something': {'occurance': 3, 'isStopWord': False}, 'want': {'occurance': 2, 'isStopWord': False}, 'times': {'occurance': 2, 'isStopWord': False}, 'frontwards': {'occurance': 1, 'isStopWord': False}, 'needs': {'occurance': 1, 'isStopWord': False}, 'turn': {'occurance': 1, 'isStopWord': False}, 'how': {'occurance': 3, 'isStopWord': False}, 'instead': {'occurance': 1, 'isStopWord': False}, 'okay': {'occurance': 1, 'isStopWord': False}, 'after': {'occurance': 1, 'isStopWord': False}, 'lighting': {'occurance': 3, 'isStopWord': False}, 'coming': {'occurance': 2, 'isStopWord': False}, 'guys': {'occurance': 2, 'isStopWord': False}, 'a': {'occurance': 24, 'isStopWord': False}, 'remember': {'occurance': 2, 'isStopWord': False}, 'third': {'occurance': 1, 'isStopWord': False}, 'maybe': {'occurance': 3, 'isStopWord': False}, 'One': {'occurance': 1, 'isStopWord': False}, 'sh': {'occurance': 1, 'isStopWord': False}, 'so': {'occurance': 10, 'isStopWord': False}, "that's": {'occurance': 3, 'isStopWord': False}, 'shoes': {'occurance': 1, 'isStopWord': False}, "don't": {'occurance': 2, 'isStopWord': False}, 'essence': {'occurance': 1, 'isStopWord': False}, 'over': {'occurance': 1, 'isStopWord': False}, 'mainly': {'occurance': 1, 'isStopWord': False}, 'kickoff': {'occurance': 1, 'isStopWord': False}, 'years': {'occurance': 1, 'isStopWord': False}, 'course': {'occurance': 1, 'isStopWord': False}, 'looks': {'occurance': 1, 'isStopWord': False}, 'innovative': {'occurance': 1, 'isStopWord': False}, 'before': {'occurance': 1, 'isStopWord': False}, 'style': {'occurance': 2, 'isStopWord': False}, 'personal': {'occurance': 2, 'isStopWord': False}, ',': {'occurance': 98, 'isStopWord': False}, 'actually': {'occurance': 1, 'isStopWord': False}, 'might': {'occurance': 3, 'isStopWord': False}, 'versus': {'occurance': 1, 'isStopWord': False}, 'then': {'occurance': 2, 'isStopWord': False}, 'them': {'occurance': 2, 'isStopWord': False}, 'good': {'occurance': 2, 'isStopWord': False}, 'material': {'occurance': 1, 'isStopWord': False}, 'Because': {'occurance': 1, 'isStopWord': False}, 'they': {'occurance': 4, 'isStopWord': False}, 'not': {'occurance': 2, 'isStopWord': False}, 'brightness': {'occurance': 1, 'isStopWord': False}, 'Milan': {'occurance': 2, 'isStopWord': False}, 'each': {'occurance': 1, 'isStopWord': False}, 'mean': {'occurance': 4, 'isStopWord': False}, 'schemes': {'occurance': 1, 'isStopWord': False}, 'doing': {'occurance': 1, 'isStopWord': False}, 'house': {'occurance': 1, 'isStopWord': False}, 'hard': {'occurance': 2, 'isStopWord': False}, 'yeah': {'occurance': 3, 'isStopWord': False}, "we'd": {'occurance': 1, 'isStopWord': False}, 'year': {'occurance': 2, 'isStopWord': False}, 'our': {'occurance': 5, 'isStopWord': False}, 'out': {'occurance': 1, 'isStopWord': False}, 'living': {'occurance': 1, 'isStopWord': False}, 'research': {'occurance': 2, 'isStopWord': False}, 'shows': {'occurance': 1, 'isStopWord': False}, "doesn't": {'occurance': 2, 'isStopWord': False}, 'This': {'occurance': 1, 'isStopWord': False}, 'guess': {'occurance': 5, 'isStopWord': False}, 'wanted': {'occurance': 1, 'isStopWord': False}, 'scary': {'occurance': 1, 'isStopWord': False}, 'dunno': {'occurance': 2, 'isStopWord': False}, 'could': {'occurance': 3, 'isStopWord': False}, 'keep': {'occurance': 2, 'isStopWord': False}, 'thing': {'occurance': 2, 'isStopWord': False}, 'w': {'occurance': 1, 'isStopWord': False}, 'think': {'occurance': 6, 'isStopWord': False}, 'first': {'occurance': 2, 'isStopWord': False}, 'already': {'occurance': 2, 'isStopWord': False}, 'saving': {'occurance': 1, 'isStopWord': False}, 'feel': {'occurance': 1, 'isStopWord': False}, 'There': {'occurance': 2, 'isStopWord': False}, 'fancy': {'occurance': 1, 'isStopWord': False}, 'one': {'occurance': 9, 'isStopWord': False}, 'done': {'occurance': 2, 'isStopWord': False}, 'sounds': {'occurance': 2, 'isStopWord': False}, "you're": {'occurance': 2, 'isStopWord': False}, 'little': {'occurance': 1, 'isStopWord': False}, 'Okay': {'occurance': 15, 'isStopWord': False}, 'their': {'occurance': 1, 'isStopWord': False}, 'twenty': {'occurance': 1, 'isStopWord': False}, 'Screen': {'occurance': 1, 'isStopWord': False}, 'plastic': {'occurance': 2, 'isStopWord': False}, 'priority': {'occurance': 1, 'isStopWord': False}, 'contra': {'occurance': 1, 'isStopWord': False}, 'too': {'occurance': 1, 'isStopWord': False}, 'which': {'occurance': 1, 'isStopWord': False}, 'Remote': {'occurance': 1, 'isStopWord': False}, 'option': {'occurance': 1, 'isStopWord': False}, 'that': {'occurance': 27, 'isStopWord': False}, 'took': {'occurance': 1, 'isStopWord': False}, 'light-up': {'occurance': 1, 'isStopWord': False}, 'somewhat': {'occurance': 1, 'isStopWord': False}, 'believe': {'occurance': 1, 'isStopWord': False}, 'than': {'occurance': 1, 'isStopWord': False}, 'television': {'occurance': 1, 'isStopWord': False}, 'zero': {'occurance': 2, 'isStopWord': False}, 'animal-based': {'occurance': 1, 'isStopWord': False}, 'fruits': {'occurance': 1, 'isStopWord': False}, 'and': {'occurance': 22, 'isStopWord': False}, 'fashion': {'occurance': 2, 'isStopWord': False}, 'mind': {'occurance': 1, 'isStopWord': False}, 'mine': {'occurance': 1, 'isStopWord': False}, 'talking': {'occurance': 1, 'isStopWord': False}, 'say': {'occurance': 2, 'isStopWord': False}, 'have': {'occurance': 13, 'isStopWord': False}, 'need': {'occurance': 1, 'isStopWord': False}, 'seen': {'occurance': 1, 'isStopWord': False}, 'any': {'occurance': 1, 'isStopWord': False}, 'Do': {'occurance': 1, 'isStopWord': False}, 'depending': {'occurance': 1, 'isStopWord': False}, 'able': {'occurance': 1, 'isStopWord': False}, 'ideas': {'occurance': 1, 'isStopWord': False}, 'also': {'occurance': 2, 'isStopWord': False}, 'They': {'occurance': 1, 'isStopWord': False}, 'channel': {'occurance': 1, 'isStopWord': False}, 'though': {'occurance': 1, 'isStopWord': False}, 'track': {'occurance': 1, 'isStopWord': False}, 'most': {'occurance': 5, 'isStopWord': False}, 'regular': {'occurance': 1, 'isStopWord': False}, 'eight': {'occurance': 1, 'isStopWord': False}, "'cause": {'occurance': 2, 'isStopWord': False}, 'device': {'occurance': 1, 'isStopWord': False}, 'The': {'occurance': 8, 'isStopWord': False}, 'trend-watching': {'occurance': 1, 'isStopWord': False}, 'stereo': {'occurance': 1, 'isStopWord': False}, 'considered': {'occurance': 2, 'isStopWord': False}, 'sometimes': {'occurance': 2, 'isStopWord': False}, 'Some': {'occurance': 1, 'isStopWord': False}, 'dog': {'occurance': 1, 'isStopWord': False}, 'looked': {'occurance': 1, 'isStopWord': False}, 'fashions': {'occurance': 1, 'isStopWord': False}, 'If': {'occurance': 1, 'isStopWord': False}, 'annoyed': {'occurance': 1, 'isStopWord': False}, 'saying': {'occurance': 2, 'isStopWord': False}, 'Paris': {'occurance': 2, 'isStopWord': False}, 'infrared': {'occurance': 1, 'isStopWord': False}, 'bring': {'occurance': 1, 'isStopWord': False}, 'based': {'occurance': 1, 'isStopWord': False}, 'with': {'occurance': 10, 'isStopWord': False}, 'controls': {'occurance': 1, 'isStopWord': False}, 'should': {'occurance': 5, 'isStopWord': False}, 'buttons': {'occurance': 6, 'isStopWord': False}, 'theme': {'occurance': 1, 'isStopWord': False}, 'going': {'occurance': 1, 'isStopWord': False}, 'black': {'occurance': 1, 'isStopWord': False}, 'York': {'occurance': 1, 'isStopWord': False}, 'pretty': {'occurance': 1, 'isStopWord': False}, 'do': {'occurance': 3, 'isStopWord': False}, 'get': {'occurance': 1, 'isStopWord': False}, 'kind': {'occurance': 2, 'isStopWord': False}, 'T_V_s': {'occurance': 1, 'isStopWord': False}, 'remotes': {'occurance': 2, 'isStopWord': False}, 'cushion': {'occurance': 1, 'isStopWord': False}, 'report': {'occurance': 2, 'isStopWord': False}, 'Right': {'occurance': 4, 'isStopWord': False}, 'settings': {'occurance': 2, 'isStopWord': False}, 'twice': {'occurance': 1, 'isStopWord': False}, 'questions': {'occurance': 1, 'isStopWord': False}, 'shake': {'occurance': 1, 'isStopWord': False}, "hasn't": {'occurance': 1, 'isStopWord': False}, 'Mm-hmm': {'occurance': 13, 'isStopWord': False}, 'see': {'occurance': 3, 'isStopWord': False}, 'are': {'occurance': 3, 'isStopWord': False}, 'That': {'occurance': 1, 'isStopWord': False}, 'movie': {'occurance': 1, 'isStopWord': False}, 'purses': {'occurance': 1, 'isStopWord': False}, 'colours': {'occurance': 1, 'isStopWord': False}, "there's": {'occurance': 1, 'isStopWord': False}, 'across': {'occurance': 1, 'isStopWord': False}, 'pictured': {'occurance': 1, 'isStopWord': False}, 'we': {'occurance': 13, 'isStopWord': False}, 'interface': {'occurance': 2, 'isStopWord': False}, 'come': {'occurance': 2, 'isStopWord': False}, 'kitchen': {'occurance': 1, 'isStopWord': False}, 'c': {'occurance': 1, 'isStopWord': False}, 'last': {'occurance': 1, 'isStopWord': False}, 'many': {'occurance': 1, 'isStopWord': False}, 'according': {'occurance': 1, 'isStopWord': False}, 'presentations': {'occurance': 2, 'isStopWord': False}, 'Yes': {'occurance': 1, 'isStopWord': False}, 'comes': {'occurance': 2, 'isStopWord': False}, 'ch': {'occurance': 1, 'isStopWord': False}, 'tone': {'occurance': 1, 'isStopWord': False}, 'clashing': {'occurance': 1, 'isStopWord': False}, 'point': {'occurance': 4, 'isStopWord': False}, 'battery': {'occurance': 3, 'isStopWord': False}, 'Sorry': {'occurance': 1, 'isStopWord': False}, 'olives': {'occurance': 1, 'isStopWord': False}, 'light': {'occurance': 2, 'isStopWord': False}, "I've": {'occurance': 2, 'isStopWord': False}, "it's": {'occurance': 9, 'isStopWord': False}, 'three': {'occurance': 1, 'isStopWord': False}, 'But': {'occurance': 3, 'isStopWord': False}, '.': {'occurance': 128, 'isStopWord': False}, 'basic': {'occurance': 1, 'isStopWord': False}, 'expected': {'occurance': 1, 'isStopWord': False}, 'meeting': {'occurance': 2, 'isStopWord': False}, 'graphical': {'occurance': 1, 'isStopWord': False}, 'easy': {'occurance': 2, 'isStopWord': False}, "That's": {'occurance': 2, 'isStopWord': False}, 'And': {'occurance': 6, 'isStopWord': False}, 'has': {'occurance': 1, 'isStopWord': False}, 'look': {'occurance': 1, 'isStopWord': False}, 'these': {'occurance': 1, 'isStopWord': False}, 'tastes': {'occurance': 1, 'isStopWord': False}, 'will': {'occurance': 3, 'isStopWord': False}, 'while': {'occurance': 1, 'isStopWord': False}, 'fun': {'occurance': 1, 'isStopWord': False}, 'PowerPoint': {'occurance': 2, 'isStopWord': False}, 'picturing': {'occurance': 1, 'isStopWord': False}, 'pack': {'occurance': 1, 'isStopWord': False}, 'almost': {'occurance': 1, 'isStopWord': False}, 'is': {'occurance': 14, 'isStopWord': False}, 'it': {'occurance': 23, 'isStopWord': False}, 'experts': {'occurance': 1, 'isStopWord': False}, 'Pretty': {'occurance': 1, 'isStopWord': False}, 'in': {'occurance': 8, 'isStopWord': False}, 'You': {'occurance': 1, 'isStopWord': False}, 'casings': {'occurance': 1, 'isStopWord': False}, 'if': {'occurance': 10, 'isStopWord': False}, 'different': {'occurance': 2, 'isStopWord': False}, 'shorter': {'occurance': 1, 'isStopWord': False}, 'vegetable': {'occurance': 1, 'isStopWord': False}, 'About': {'occurance': 1, 'isStopWord': False}, 'used': {'occurance': 3, 'isStopWord': False}, 'temporary': {'occurance': 1, 'isStopWord': False}, 'I': {'occurance': 27, 'isStopWord': False}, 'Maybe': {'occurance': 1, 'isStopWord': False}, 'running': {'occurance': 1, 'isStopWord': False}, 'fruit': {'occurance': 1, 'isStopWord': False}, 'purpose': {'occurance': 1, 'isStopWord': False}, 'recent': {'occurance': 1, 'isStopWord': False}, 'off': {'occurance': 2, 'isStopWord': False}, 'i': {'occurance': 1, 'isStopWord': False}, 'colour': {'occurance': 3, 'isStopWord': False}, 'fashionable': {'occurance': 1, 'isStopWord': False}, 'well': {'occurance': 2, 'isStopWord': False}, 'It': {'occurance': 2, 'isStopWord': False}, 'obviously': {'occurance': 1, 'isStopWord': False}, 'command': {'occurance': 1, 'isStopWord': False}, 'Have': {'occurance': 1, 'isStopWord': False}, 'y': {'occurance': 1, 'isStopWord': False}, 'the': {'occurance': 37, 'isStopWord': False}, 'audio': {'occurance': 1, 'isStopWord': False}, 'know': {'occurance': 8, 'isStopWord': False}, 'just': {'occurance': 7, 'isStopWord': False}, 'true': {'occurance': 1, 'isStopWord': False}, 'batteries': {'occurance': 1, 'isStopWord': False}, 'aspect': {'occurance': 3, 'isStopWord': False}, 'olds': {'occurance': 1, 'isStopWord': False}, 'previous': {'occurance': 1, 'isStopWord': False}, 'web': {'occurance': 1, 'isStopWord': False}, 'thinking': {'occurance': 1, 'isStopWord': False}, "we've": {'occurance': 4, 'isStopWord': False}, 'seems': {'occurance': 1, 'isStopWord': False}, 'simple': {'occurance': 1, 'isStopWord': False}, 'Although': {'occurance': 1, 'isStopWord': False}, 'relevance': {'occurance': 2, 'isStopWord': False}, 'look-and-feel': {'occurance': 2, 'isStopWord': False}, 'aspects': {'occurance': 1, 'isStopWord': False}, 'around': {'occurance': 1, 'isStopWord': False}, 'Oh': {'occurance': 6, 'isStopWord': False}, 'Mono': {'occurance': 1, 'isStopWord': False}, 'gonna': {'occurance': 2, 'isStopWord': False}, 'five': {'occurance': 4, 'isStopWord': False}, 'T': {'occurance': 1, 'isStopWord': False}, 'bit': {'occurance': 2, 'isStopWord': False}, 'Or': {'occurance': 3, 'isStopWord': False}, 'furniture': {'occurance': 1, 'isStopWord': False}, 'insert': {'occurance': 1, 'isStopWord': False}, 'like': {'occurance': 5, 'isStopWord': False}, 'success': {'occurance': 1, 'isStopWord': False}, 'specific': {'occurance': 1, 'isStopWord': False}, 't': {'occurance': 1, 'isStopWord': False}, 'Again': {'occurance': 1, 'isStopWord': False}, 'because': {'occurance': 2, 'isStopWord': False}, 'often': {'occurance': 1, 'isStopWord': False}, 'people': {'occurance': 2, 'isStopWord': False}, 'some': {'occurance': 3, 'isStopWord': False}, 'back': {'occurance': 2, 'isStopWord': False}, 'trendy': {'occurance': 1, 'isStopWord': False}, 'New': {'occurance': 1, 'isStopWord': False}, 'scale': {'occurance': 1, 'isStopWord': False}, 'for': {'occurance': 6, 'isStopWord': False}, 'affects': {'occurance': 1, 'isStopWord': False}, 'face-plates': {'occurance': 3, 'isStopWord': False}, '?': {'occurance': 12, 'isStopWord': False}, 'Something': {'occurance': 1, 'isStopWord': False}, 'be': {'occurance': 11, 'isStopWord': False}, 'power': {'occurance': 1, 'isStopWord': False}, 'marketing': {'occurance': 1, 'isStopWord': False}, 'Um': {'occurance': 15, 'isStopWord': False}, 'Command': {'occurance': 1, 'isStopWord': False}, 'Uh': {'occurance': 2, 'isStopWord': False}, 'Think': {'occurance': 1, 'isStopWord': False}, 'on': {'occurance': 10, 'isStopWord': False}, 'about': {'occurance': 4, 'isStopWord': False}, 'actual': {'occurance': 1, 'isStopWord': False}, 'working': {'occurance': 1, 'isStopWord': False}, 'getting': {'occurance': 1, 'isStopWord': False}, 'of': {'occurance': 22, 'isStopWord': False}, 'discussed': {'occurance': 1, 'isStopWord': False}, 'draf': {'occurance': 1, 'isStopWord': False}, 'wanna': {'occurance': 1, 'isStopWord': False}, 'or': {'occurance': 3, 'isStopWord': False}, 'functional': {'occurance': 1, 'isStopWord': False}, 'right': {'occurance': 2, 'isStopWord': False}, 'been': {'occurance': 3, 'isStopWord': False}, 'your': {'occurance': 4, 'isStopWord': False}, 'her': {'occurance': 1, 'isStopWord': False}, 'vegetables': {'occurance': 1, 'isStopWord': False}, 'there': {'occurance': 4, 'isStopWord': False}, "we're": {'occurance': 3, 'isStopWord': False}, 'lot': {'occurance': 3, 'isStopWord': False}, 'was': {'occurance': 9, 'isStopWord': False}, 'spongy': {'occurance': 1, 'isStopWord': False}, 'Well': {'occurance': 2, 'isStopWord': False}, 'but': {'occurance': 2, 'isStopWord': False}, 'idea': {'occurance': 2, 'isStopWord': False}, 'volume': {'occurance': 1, 'isStopWord': False}, 'granny': {'occurance': 1, 'isStopWord': False}, 'kitchenware': {'occurance': 1, 'isStopWord': False}, "I'll": {'occurance': 1, 'isStopWord': False}, "they're": {'occurance': 1, 'isStopWord': False}, 'up': {'occurance': 5, 'isStopWord': False}, 'us': {'occurance': 1, 'isStopWord': False}, 'um': {'occurance': 6, 'isStopWord': False}, 'strawberry': {'occurance': 1, 'isStopWord': False}, 'uh': {'occurance': 7, 'isStopWord': False}, 'called': {'occurance': 1, 'isStopWord': False}, 'sales': {'occurance': 1, 'isStopWord': False}, 'an': {'occurance': 4, 'isStopWord': False}, 'as': {'occurance': 6, 'isStopWord': False}, 'at': {'occurance': 2, 'isStopWord': False}, 'Real': {'occurance': 1, 'isStopWord': False}, 'ideally': {'occurance': 1, 'isStopWord': False}, 'when': {'occurance': 1, 'isStopWord': False}, 'rubber': {'occurance': 3, 'isStopWord': False}, 'other': {'occurance': 1, 'isStopWord': False}, 'you': {'occurance': 19, 'isStopWord': False}, 'Like': {'occurance': 3, 'isStopWord': False}, 'favourite': {'occurance': 1, 'isStopWord': False}, 'update': {'occurance': 1, 'isStopWord': False}, 'important': {'occurance': 5, 'isStopWord': False}, 'kinda': {'occurance': 1, 'isStopWord': False}, 'sides': {'occurance': 1, 'isStopWord': False}, 'remote': {'occurance': 7, 'isStopWord': False}, 'T_V_': {'occurance': 2, 'isStopWord': False}, 'age': {'occurance': 1, 'isStopWord': False}, 'Yeah': {'occurance': 13, 'isStopWord': False}, 'time': {'occurance': 1, 'isStopWord': False}, 'everywhere': {'occurance': 1, 'isStopWord': False}, 'once': {'occurance': 2, 'isStopWord': False}, 'having': {'occurance': 1, 'isStopWord': False}, 'basically': {'occurance': 1, 'isStopWord': False}}

In [437]:
# check if the word is stop word or not
for key, wordDetail in wordsInFile.iteritems():
    exist = checkStopWord(key.lower())
    wordDetail['isStopWord'] = exist
    
    # store the word detail
    wordsInFile[key] = wordDetail

In [438]:
print wordsInFile


{'all': {'occurance': 3, 'isStopWord': True}, 'fashion-watchers': {'occurance': 1, 'isStopWord': False}, 'pointing': {'occurance': 2, 'isStopWord': True}, 'channe': {'occurance': 1, 'isStopWord': False}, 'themes': {'occurance': 1, 'isStopWord': False}, 'skin': {'occurance': 1, 'isStopWord': False}, 'go': {'occurance': 3, 'isStopWord': True}, 'tw': {'occurance': 1, 'isStopWord': False}, 'to': {'occurance': 23, 'isStopWord': True}, 'under': {'occurance': 2, 'isStopWord': True}, 'Not': {'occurance': 1, 'isStopWord': True}, 'include': {'occurance': 1, 'isStopWord': False}, 'straightforward': {'occurance': 1, 'isStopWord': False}, 'very': {'occurance': 2, 'isStopWord': True}, "I'd": {'occurance': 1, 'isStopWord': True}, 'every': {'occurance': 2, 'isStopWord': True}, "we'll": {'occurance': 2, 'isStopWord': True}, 'Just': {'occurance': 1, 'isStopWord': True}, 'did': {'occurance': 1, 'isStopWord': True}, 'list': {'occurance': 1, 'isStopWord': False}, 'mm': {'occurance': 1, 'isStopWord': True}, 'clothes': {'occurance': 1, 'isStopWord': False}, 'talked': {'occurance': 2, 'isStopWord': False}, 'says': {'occurance': 1, 'isStopWord': True}, "you'd": {'occurance': 2, 'isStopWord': True}, 'ten': {'occurance': 1, 'isStopWord': True}, 'Should': {'occurance': 1, 'isStopWord': True}, 'second': {'occurance': 1, 'isStopWord': True}, 'design': {'occurance': 3, 'isStopWord': False}, 'web-based': {'occurance': 1, 'isStopWord': False}, 'what': {'occurance': 4, 'isStopWord': True}, 'preferences': {'occurance': 1, 'isStopWord': False}, 'current': {'occurance': 1, 'isStopWord': False}, 'revitalises': {'occurance': 1, 'isStopWord': False}, 'international': {'occurance': 1, 'isStopWord': False}, 'appeal': {'occurance': 1, 'isStopWord': False}, 'method': {'occurance': 1, 'isStopWord': False}, 'contrast': {'occurance': 1, 'isStopWord': False}, 'Mm': {'occurance': 2, 'isStopWord': True}, 'here': {'occurance': 2, 'isStopWord': True}, 'hours': {'occurance': 1, 'isStopWord': False}, 'Alright': {'occurance': 1, 'isStopWord': False}, "aren't": {'occurance': 1, 'isStopWord': True}, 'fifteen': {'occurance': 1, 'isStopWord': True}, 'casing': {'occurance': 1, 'isStopWord': False}, 'changed': {'occurance': 1, 'isStopWord': False}, 'reports': {'occurance': 1, 'isStopWord': False}, 'options': {'occurance': 1, 'isStopWord': False}, 'pitch': {'occurance': 1, 'isStopWord': False}, "It's": {'occurance': 1, 'isStopWord': True}, 'shoved': {'occurance': 1, 'isStopWord': False}, 'user-friendliness': {'occurance': 1, 'isStopWord': False}, 'technologically': {'occurance': 1, 'isStopWord': False}, 'use': {'occurance': 4, 'isStopWord': True}, 'from': {'occurance': 5, 'isStopWord': True}, 'spoke': {'occurance': 1, 'isStopWord': False}, 'would': {'occurance': 2, 'isStopWord': True}, 'ploy': {'occurance': 1, 'isStopWord': False}, 'two': {'occurance': 3, 'isStopWord': True}, 'live': {'occurance': 1, 'isStopWord': False}, 'markets': {'occurance': 1, 'isStopWord': False}, 'today': {'occurance': 1, 'isStopWord': True}, 'more': {'occurance': 2, 'isStopWord': True}, 'So': {'occurance': 16, 'isStopWord': True}, 'stick': {'occurance': 4, 'isStopWord': False}, 'tying': {'occurance': 1, 'isStopWord': False}, 'Now': {'occurance': 1, 'isStopWord': True}, 'animals': {'occurance': 1, 'isStopWord': False}, 'room': {'occurance': 1, 'isStopWord': True}, 'hour': {'occurance': 3, 'isStopWord': False}, 'f': {'occurance': 1, 'isStopWord': True}, 'this': {'occurance': 5, 'isStopWord': True}, 'work': {'occurance': 2, 'isStopWord': True}, 'cat': {'occurance': 1, 'isStopWord': False}, 'can': {'occurance': 3, 'isStopWord': True}, 'my': {'occurance': 4, 'isStopWord': True}, 'control': {'occurance': 4, 'isStopWord': False}, 'plate': {'occurance': 1, 'isStopWord': False}, "didn't": {'occurance': 1, 'isStopWord': True}, 'high': {'occurance': 1, 'isStopWord': True}, 'something': {'occurance': 3, 'isStopWord': True}, 'want': {'occurance': 2, 'isStopWord': True}, 'times': {'occurance': 2, 'isStopWord': False}, 'frontwards': {'occurance': 1, 'isStopWord': False}, 'needs': {'occurance': 1, 'isStopWord': True}, 'turn': {'occurance': 1, 'isStopWord': True}, 'how': {'occurance': 3, 'isStopWord': True}, 'instead': {'occurance': 1, 'isStopWord': True}, 'okay': {'occurance': 1, 'isStopWord': True}, 'after': {'occurance': 1, 'isStopWord': True}, 'lighting': {'occurance': 3, 'isStopWord': False}, 'coming': {'occurance': 2, 'isStopWord': False}, 'guys': {'occurance': 2, 'isStopWord': False}, 'a': {'occurance': 24, 'isStopWord': True}, 'remember': {'occurance': 2, 'isStopWord': False}, 'third': {'occurance': 1, 'isStopWord': True}, 'maybe': {'occurance': 3, 'isStopWord': True}, 'One': {'occurance': 1, 'isStopWord': True}, 'sh': {'occurance': 1, 'isStopWord': False}, 'so': {'occurance': 10, 'isStopWord': True}, "that's": {'occurance': 3, 'isStopWord': True}, 'shoes': {'occurance': 1, 'isStopWord': False}, "don't": {'occurance': 2, 'isStopWord': True}, 'essence': {'occurance': 1, 'isStopWord': False}, 'over': {'occurance': 1, 'isStopWord': True}, 'mainly': {'occurance': 1, 'isStopWord': True}, 'kickoff': {'occurance': 1, 'isStopWord': False}, 'years': {'occurance': 1, 'isStopWord': True}, 'course': {'occurance': 1, 'isStopWord': True}, 'looks': {'occurance': 1, 'isStopWord': True}, 'innovative': {'occurance': 1, 'isStopWord': False}, 'before': {'occurance': 1, 'isStopWord': True}, 'style': {'occurance': 2, 'isStopWord': False}, 'personal': {'occurance': 2, 'isStopWord': False}, ',': {'occurance': 98, 'isStopWord': False}, 'actually': {'occurance': 1, 'isStopWord': True}, 'might': {'occurance': 3, 'isStopWord': True}, 'versus': {'occurance': 1, 'isStopWord': False}, 'then': {'occurance': 2, 'isStopWord': True}, 'them': {'occurance': 2, 'isStopWord': True}, 'good': {'occurance': 2, 'isStopWord': True}, 'material': {'occurance': 1, 'isStopWord': False}, 'Because': {'occurance': 1, 'isStopWord': True}, 'they': {'occurance': 4, 'isStopWord': True}, 'not': {'occurance': 2, 'isStopWord': True}, 'brightness': {'occurance': 1, 'isStopWord': False}, 'Milan': {'occurance': 2, 'isStopWord': False}, 'each': {'occurance': 1, 'isStopWord': True}, 'mean': {'occurance': 4, 'isStopWord': True}, 'schemes': {'occurance': 1, 'isStopWord': False}, 'doing': {'occurance': 1, 'isStopWord': True}, 'house': {'occurance': 1, 'isStopWord': False}, 'hard': {'occurance': 2, 'isStopWord': False}, 'yeah': {'occurance': 3, 'isStopWord': False}, "we'd": {'occurance': 1, 'isStopWord': True}, 'year': {'occurance': 2, 'isStopWord': True}, 'our': {'occurance': 5, 'isStopWord': True}, 'out': {'occurance': 1, 'isStopWord': True}, 'living': {'occurance': 1, 'isStopWord': False}, 'research': {'occurance': 2, 'isStopWord': False}, 'shows': {'occurance': 1, 'isStopWord': True}, "doesn't": {'occurance': 2, 'isStopWord': True}, 'This': {'occurance': 1, 'isStopWord': True}, 'guess': {'occurance': 5, 'isStopWord': False}, 'wanted': {'occurance': 1, 'isStopWord': True}, 'scary': {'occurance': 1, 'isStopWord': False}, 'dunno': {'occurance': 2, 'isStopWord': False}, 'could': {'occurance': 3, 'isStopWord': True}, 'keep': {'occurance': 2, 'isStopWord': True}, 'thing': {'occurance': 2, 'isStopWord': True}, 'w': {'occurance': 1, 'isStopWord': True}, 'think': {'occurance': 6, 'isStopWord': True}, 'first': {'occurance': 2, 'isStopWord': True}, 'already': {'occurance': 2, 'isStopWord': True}, 'saving': {'occurance': 1, 'isStopWord': False}, 'feel': {'occurance': 1, 'isStopWord': False}, 'There': {'occurance': 2, 'isStopWord': True}, 'fancy': {'occurance': 1, 'isStopWord': False}, 'one': {'occurance': 9, 'isStopWord': True}, 'done': {'occurance': 2, 'isStopWord': True}, 'sounds': {'occurance': 2, 'isStopWord': False}, "you're": {'occurance': 2, 'isStopWord': True}, 'little': {'occurance': 1, 'isStopWord': True}, 'Okay': {'occurance': 15, 'isStopWord': True}, 'their': {'occurance': 1, 'isStopWord': True}, 'twenty': {'occurance': 1, 'isStopWord': True}, 'Screen': {'occurance': 1, 'isStopWord': False}, 'plastic': {'occurance': 2, 'isStopWord': False}, 'priority': {'occurance': 1, 'isStopWord': False}, 'contra': {'occurance': 1, 'isStopWord': False}, 'too': {'occurance': 1, 'isStopWord': True}, 'which': {'occurance': 1, 'isStopWord': True}, 'Remote': {'occurance': 1, 'isStopWord': False}, 'option': {'occurance': 1, 'isStopWord': False}, 'that': {'occurance': 27, 'isStopWord': True}, 'took': {'occurance': 1, 'isStopWord': True}, 'light-up': {'occurance': 1, 'isStopWord': False}, 'somewhat': {'occurance': 1, 'isStopWord': True}, 'believe': {'occurance': 1, 'isStopWord': True}, 'than': {'occurance': 1, 'isStopWord': True}, 'television': {'occurance': 1, 'isStopWord': False}, 'zero': {'occurance': 2, 'isStopWord': True}, 'animal-based': {'occurance': 1, 'isStopWord': False}, 'fruits': {'occurance': 1, 'isStopWord': False}, 'and': {'occurance': 22, 'isStopWord': True}, 'fashion': {'occurance': 2, 'isStopWord': False}, 'mind': {'occurance': 1, 'isStopWord': False}, 'mine': {'occurance': 1, 'isStopWord': True}, 'talking': {'occurance': 1, 'isStopWord': False}, 'say': {'occurance': 2, 'isStopWord': True}, 'have': {'occurance': 13, 'isStopWord': True}, 'need': {'occurance': 1, 'isStopWord': True}, 'seen': {'occurance': 1, 'isStopWord': True}, 'any': {'occurance': 1, 'isStopWord': True}, 'Do': {'occurance': 1, 'isStopWord': True}, 'depending': {'occurance': 1, 'isStopWord': False}, 'able': {'occurance': 1, 'isStopWord': True}, 'ideas': {'occurance': 1, 'isStopWord': False}, 'also': {'occurance': 2, 'isStopWord': True}, 'They': {'occurance': 1, 'isStopWord': True}, 'channel': {'occurance': 1, 'isStopWord': False}, 'though': {'occurance': 1, 'isStopWord': True}, 'track': {'occurance': 1, 'isStopWord': False}, 'most': {'occurance': 5, 'isStopWord': True}, 'regular': {'occurance': 1, 'isStopWord': False}, 'eight': {'occurance': 1, 'isStopWord': True}, "'cause": {'occurance': 2, 'isStopWord': False}, 'device': {'occurance': 1, 'isStopWord': False}, 'The': {'occurance': 8, 'isStopWord': True}, 'trend-watching': {'occurance': 1, 'isStopWord': False}, 'stereo': {'occurance': 1, 'isStopWord': False}, 'considered': {'occurance': 2, 'isStopWord': False}, 'sometimes': {'occurance': 2, 'isStopWord': True}, 'Some': {'occurance': 1, 'isStopWord': True}, 'dog': {'occurance': 1, 'isStopWord': False}, 'looked': {'occurance': 1, 'isStopWord': False}, 'fashions': {'occurance': 1, 'isStopWord': False}, 'If': {'occurance': 1, 'isStopWord': True}, 'annoyed': {'occurance': 1, 'isStopWord': False}, 'saying': {'occurance': 2, 'isStopWord': True}, 'Paris': {'occurance': 2, 'isStopWord': False}, 'infrared': {'occurance': 1, 'isStopWord': False}, 'bring': {'occurance': 1, 'isStopWord': False}, 'based': {'occurance': 1, 'isStopWord': False}, 'with': {'occurance': 10, 'isStopWord': True}, 'controls': {'occurance': 1, 'isStopWord': False}, 'should': {'occurance': 5, 'isStopWord': True}, 'buttons': {'occurance': 6, 'isStopWord': False}, 'theme': {'occurance': 1, 'isStopWord': False}, 'going': {'occurance': 1, 'isStopWord': True}, 'black': {'occurance': 1, 'isStopWord': False}, 'York': {'occurance': 1, 'isStopWord': False}, 'pretty': {'occurance': 1, 'isStopWord': False}, 'do': {'occurance': 3, 'isStopWord': True}, 'get': {'occurance': 1, 'isStopWord': True}, 'kind': {'occurance': 2, 'isStopWord': False}, 'T_V_s': {'occurance': 1, 'isStopWord': False}, 'remotes': {'occurance': 2, 'isStopWord': False}, 'cushion': {'occurance': 1, 'isStopWord': False}, 'report': {'occurance': 2, 'isStopWord': False}, 'Right': {'occurance': 4, 'isStopWord': True}, 'settings': {'occurance': 2, 'isStopWord': False}, 'twice': {'occurance': 1, 'isStopWord': True}, 'questions': {'occurance': 1, 'isStopWord': False}, 'shake': {'occurance': 1, 'isStopWord': False}, "hasn't": {'occurance': 1, 'isStopWord': True}, 'Mm-hmm': {'occurance': 13, 'isStopWord': False}, 'see': {'occurance': 3, 'isStopWord': True}, 'are': {'occurance': 3, 'isStopWord': True}, 'That': {'occurance': 1, 'isStopWord': True}, 'movie': {'occurance': 1, 'isStopWord': False}, 'purses': {'occurance': 1, 'isStopWord': False}, 'colours': {'occurance': 1, 'isStopWord': False}, "there's": {'occurance': 1, 'isStopWord': True}, 'across': {'occurance': 1, 'isStopWord': True}, 'pictured': {'occurance': 1, 'isStopWord': False}, 'we': {'occurance': 13, 'isStopWord': True}, 'interface': {'occurance': 2, 'isStopWord': False}, 'come': {'occurance': 2, 'isStopWord': True}, 'kitchen': {'occurance': 1, 'isStopWord': False}, 'c': {'occurance': 1, 'isStopWord': True}, 'last': {'occurance': 1, 'isStopWord': True}, 'many': {'occurance': 1, 'isStopWord': True}, 'according': {'occurance': 1, 'isStopWord': True}, 'presentations': {'occurance': 2, 'isStopWord': False}, 'Yes': {'occurance': 1, 'isStopWord': True}, 'comes': {'occurance': 2, 'isStopWord': True}, 'ch': {'occurance': 1, 'isStopWord': False}, 'tone': {'occurance': 1, 'isStopWord': False}, 'clashing': {'occurance': 1, 'isStopWord': False}, 'point': {'occurance': 4, 'isStopWord': True}, 'battery': {'occurance': 3, 'isStopWord': False}, 'Sorry': {'occurance': 1, 'isStopWord': True}, 'olives': {'occurance': 1, 'isStopWord': False}, 'light': {'occurance': 2, 'isStopWord': False}, "I've": {'occurance': 2, 'isStopWord': True}, "it's": {'occurance': 9, 'isStopWord': True}, 'three': {'occurance': 1, 'isStopWord': True}, 'But': {'occurance': 3, 'isStopWord': True}, '.': {'occurance': 128, 'isStopWord': False}, 'basic': {'occurance': 1, 'isStopWord': False}, 'expected': {'occurance': 1, 'isStopWord': False}, 'meeting': {'occurance': 2, 'isStopWord': False}, 'graphical': {'occurance': 1, 'isStopWord': False}, 'easy': {'occurance': 2, 'isStopWord': False}, "That's": {'occurance': 2, 'isStopWord': True}, 'And': {'occurance': 6, 'isStopWord': True}, 'has': {'occurance': 1, 'isStopWord': True}, 'look': {'occurance': 1, 'isStopWord': True}, 'these': {'occurance': 1, 'isStopWord': True}, 'tastes': {'occurance': 1, 'isStopWord': False}, 'will': {'occurance': 3, 'isStopWord': True}, 'while': {'occurance': 1, 'isStopWord': True}, 'fun': {'occurance': 1, 'isStopWord': False}, 'PowerPoint': {'occurance': 2, 'isStopWord': False}, 'picturing': {'occurance': 1, 'isStopWord': False}, 'pack': {'occurance': 1, 'isStopWord': False}, 'almost': {'occurance': 1, 'isStopWord': True}, 'is': {'occurance': 14, 'isStopWord': True}, 'it': {'occurance': 23, 'isStopWord': True}, 'experts': {'occurance': 1, 'isStopWord': False}, 'Pretty': {'occurance': 1, 'isStopWord': False}, 'in': {'occurance': 8, 'isStopWord': True}, 'You': {'occurance': 1, 'isStopWord': True}, 'casings': {'occurance': 1, 'isStopWord': False}, 'if': {'occurance': 10, 'isStopWord': True}, 'different': {'occurance': 2, 'isStopWord': True}, 'shorter': {'occurance': 1, 'isStopWord': False}, 'vegetable': {'occurance': 1, 'isStopWord': False}, 'About': {'occurance': 1, 'isStopWord': True}, 'used': {'occurance': 3, 'isStopWord': True}, 'temporary': {'occurance': 1, 'isStopWord': False}, 'I': {'occurance': 27, 'isStopWord': True}, 'Maybe': {'occurance': 1, 'isStopWord': True}, 'running': {'occurance': 1, 'isStopWord': False}, 'fruit': {'occurance': 1, 'isStopWord': False}, 'purpose': {'occurance': 1, 'isStopWord': False}, 'recent': {'occurance': 1, 'isStopWord': True}, 'off': {'occurance': 2, 'isStopWord': True}, 'i': {'occurance': 1, 'isStopWord': True}, 'colour': {'occurance': 3, 'isStopWord': False}, 'fashionable': {'occurance': 1, 'isStopWord': False}, 'well': {'occurance': 2, 'isStopWord': True}, 'It': {'occurance': 2, 'isStopWord': True}, 'obviously': {'occurance': 1, 'isStopWord': True}, 'command': {'occurance': 1, 'isStopWord': False}, 'Have': {'occurance': 1, 'isStopWord': True}, 'y': {'occurance': 1, 'isStopWord': True}, 'the': {'occurance': 37, 'isStopWord': True}, 'audio': {'occurance': 1, 'isStopWord': False}, 'know': {'occurance': 8, 'isStopWord': True}, 'just': {'occurance': 7, 'isStopWord': True}, 'true': {'occurance': 1, 'isStopWord': False}, 'batteries': {'occurance': 1, 'isStopWord': False}, 'aspect': {'occurance': 3, 'isStopWord': False}, 'olds': {'occurance': 1, 'isStopWord': False}, 'previous': {'occurance': 1, 'isStopWord': False}, 'web': {'occurance': 1, 'isStopWord': False}, 'thinking': {'occurance': 1, 'isStopWord': False}, "we've": {'occurance': 4, 'isStopWord': True}, 'seems': {'occurance': 1, 'isStopWord': True}, 'simple': {'occurance': 1, 'isStopWord': False}, 'Although': {'occurance': 1, 'isStopWord': True}, 'relevance': {'occurance': 2, 'isStopWord': False}, 'look-and-feel': {'occurance': 2, 'isStopWord': False}, 'aspects': {'occurance': 1, 'isStopWord': False}, 'around': {'occurance': 1, 'isStopWord': True}, 'Oh': {'occurance': 6, 'isStopWord': True}, 'Mono': {'occurance': 1, 'isStopWord': False}, 'gonna': {'occurance': 2, 'isStopWord': False}, 'five': {'occurance': 4, 'isStopWord': True}, 'T': {'occurance': 1, 'isStopWord': True}, 'bit': {'occurance': 2, 'isStopWord': False}, 'Or': {'occurance': 3, 'isStopWord': True}, 'furniture': {'occurance': 1, 'isStopWord': False}, 'insert': {'occurance': 1, 'isStopWord': False}, 'like': {'occurance': 5, 'isStopWord': True}, 'success': {'occurance': 1, 'isStopWord': False}, 'specific': {'occurance': 1, 'isStopWord': False}, 't': {'occurance': 1, 'isStopWord': True}, 'Again': {'occurance': 1, 'isStopWord': True}, 'because': {'occurance': 2, 'isStopWord': True}, 'often': {'occurance': 1, 'isStopWord': True}, 'people': {'occurance': 2, 'isStopWord': False}, 'some': {'occurance': 3, 'isStopWord': True}, 'back': {'occurance': 2, 'isStopWord': True}, 'trendy': {'occurance': 1, 'isStopWord': False}, 'New': {'occurance': 1, 'isStopWord': True}, 'scale': {'occurance': 1, 'isStopWord': False}, 'for': {'occurance': 6, 'isStopWord': True}, 'affects': {'occurance': 1, 'isStopWord': False}, 'face-plates': {'occurance': 3, 'isStopWord': False}, '?': {'occurance': 12, 'isStopWord': False}, 'Something': {'occurance': 1, 'isStopWord': True}, 'be': {'occurance': 11, 'isStopWord': True}, 'power': {'occurance': 1, 'isStopWord': False}, 'marketing': {'occurance': 1, 'isStopWord': False}, 'Um': {'occurance': 15, 'isStopWord': False}, 'Command': {'occurance': 1, 'isStopWord': False}, 'Uh': {'occurance': 2, 'isStopWord': False}, 'Think': {'occurance': 1, 'isStopWord': True}, 'on': {'occurance': 10, 'isStopWord': True}, 'about': {'occurance': 4, 'isStopWord': True}, 'actual': {'occurance': 1, 'isStopWord': False}, 'working': {'occurance': 1, 'isStopWord': True}, 'getting': {'occurance': 1, 'isStopWord': True}, 'of': {'occurance': 22, 'isStopWord': True}, 'discussed': {'occurance': 1, 'isStopWord': False}, 'draf': {'occurance': 1, 'isStopWord': False}, 'wanna': {'occurance': 1, 'isStopWord': False}, 'or': {'occurance': 3, 'isStopWord': True}, 'functional': {'occurance': 1, 'isStopWord': False}, 'right': {'occurance': 2, 'isStopWord': True}, 'been': {'occurance': 3, 'isStopWord': True}, 'your': {'occurance': 4, 'isStopWord': True}, 'her': {'occurance': 1, 'isStopWord': True}, 'vegetables': {'occurance': 1, 'isStopWord': False}, 'there': {'occurance': 4, 'isStopWord': True}, "we're": {'occurance': 3, 'isStopWord': True}, 'lot': {'occurance': 3, 'isStopWord': False}, 'was': {'occurance': 9, 'isStopWord': True}, 'spongy': {'occurance': 1, 'isStopWord': False}, 'Well': {'occurance': 2, 'isStopWord': True}, 'but': {'occurance': 2, 'isStopWord': True}, 'idea': {'occurance': 2, 'isStopWord': False}, 'volume': {'occurance': 1, 'isStopWord': False}, 'granny': {'occurance': 1, 'isStopWord': False}, 'kitchenware': {'occurance': 1, 'isStopWord': False}, "I'll": {'occurance': 1, 'isStopWord': True}, "they're": {'occurance': 1, 'isStopWord': True}, 'up': {'occurance': 5, 'isStopWord': True}, 'us': {'occurance': 1, 'isStopWord': True}, 'um': {'occurance': 6, 'isStopWord': False}, 'strawberry': {'occurance': 1, 'isStopWord': False}, 'uh': {'occurance': 7, 'isStopWord': False}, 'called': {'occurance': 1, 'isStopWord': False}, 'sales': {'occurance': 1, 'isStopWord': False}, 'an': {'occurance': 4, 'isStopWord': True}, 'as': {'occurance': 6, 'isStopWord': True}, 'at': {'occurance': 2, 'isStopWord': True}, 'Real': {'occurance': 1, 'isStopWord': False}, 'ideally': {'occurance': 1, 'isStopWord': False}, 'when': {'occurance': 1, 'isStopWord': True}, 'rubber': {'occurance': 3, 'isStopWord': False}, 'other': {'occurance': 1, 'isStopWord': True}, 'you': {'occurance': 19, 'isStopWord': True}, 'Like': {'occurance': 3, 'isStopWord': True}, 'favourite': {'occurance': 1, 'isStopWord': False}, 'update': {'occurance': 1, 'isStopWord': False}, 'important': {'occurance': 5, 'isStopWord': True}, 'kinda': {'occurance': 1, 'isStopWord': False}, 'sides': {'occurance': 1, 'isStopWord': True}, 'remote': {'occurance': 7, 'isStopWord': False}, 'T_V_': {'occurance': 2, 'isStopWord': False}, 'age': {'occurance': 1, 'isStopWord': False}, 'Yeah': {'occurance': 13, 'isStopWord': False}, 'time': {'occurance': 1, 'isStopWord': False}, 'everywhere': {'occurance': 1, 'isStopWord': True}, 'once': {'occurance': 2, 'isStopWord': True}, 'having': {'occurance': 1, 'isStopWord': True}, 'basically': {'occurance': 1, 'isStopWord': False}}

In [439]:
stopFile.close()

In [440]:
# transfer result to json
import json

In [441]:
json.dumps(wordsInFile)


Out[441]:
'{"all": {"occurance": 3, "isStopWord": true}, "fashion-watchers": {"occurance": 1, "isStopWord": false}, "pointing": {"occurance": 2, "isStopWord": true}, "channe": {"occurance": 1, "isStopWord": false}, "themes": {"occurance": 1, "isStopWord": false}, "skin": {"occurance": 1, "isStopWord": false}, "go": {"occurance": 3, "isStopWord": true}, "tw": {"occurance": 1, "isStopWord": false}, "to": {"occurance": 23, "isStopWord": true}, "under": {"occurance": 2, "isStopWord": true}, "Not": {"occurance": 1, "isStopWord": true}, "include": {"occurance": 1, "isStopWord": false}, "straightforward": {"occurance": 1, "isStopWord": false}, "very": {"occurance": 2, "isStopWord": true}, "I\'d": {"occurance": 1, "isStopWord": true}, "every": {"occurance": 2, "isStopWord": true}, "we\'ll": {"occurance": 2, "isStopWord": true}, "Just": {"occurance": 1, "isStopWord": true}, "did": {"occurance": 1, "isStopWord": true}, "list": {"occurance": 1, "isStopWord": false}, "mm": {"occurance": 1, "isStopWord": true}, "clothes": {"occurance": 1, "isStopWord": false}, "talked": {"occurance": 2, "isStopWord": false}, "says": {"occurance": 1, "isStopWord": true}, "you\'d": {"occurance": 2, "isStopWord": true}, "ten": {"occurance": 1, "isStopWord": true}, "Should": {"occurance": 1, "isStopWord": true}, "second": {"occurance": 1, "isStopWord": true}, "design": {"occurance": 3, "isStopWord": false}, "web-based": {"occurance": 1, "isStopWord": false}, "what": {"occurance": 4, "isStopWord": true}, "preferences": {"occurance": 1, "isStopWord": false}, "current": {"occurance": 1, "isStopWord": false}, "revitalises": {"occurance": 1, "isStopWord": false}, "international": {"occurance": 1, "isStopWord": false}, "appeal": {"occurance": 1, "isStopWord": false}, "method": {"occurance": 1, "isStopWord": false}, "contrast": {"occurance": 1, "isStopWord": false}, "Mm": {"occurance": 2, "isStopWord": true}, "here": {"occurance": 2, "isStopWord": true}, "hours": {"occurance": 1, "isStopWord": false}, "Alright": {"occurance": 1, "isStopWord": false}, "aren\'t": {"occurance": 1, "isStopWord": true}, "fifteen": {"occurance": 1, "isStopWord": true}, "casing": {"occurance": 1, "isStopWord": false}, "changed": {"occurance": 1, "isStopWord": false}, "reports": {"occurance": 1, "isStopWord": false}, "options": {"occurance": 1, "isStopWord": false}, "pitch": {"occurance": 1, "isStopWord": false}, "It\'s": {"occurance": 1, "isStopWord": true}, "shoved": {"occurance": 1, "isStopWord": false}, "user-friendliness": {"occurance": 1, "isStopWord": false}, "technologically": {"occurance": 1, "isStopWord": false}, "use": {"occurance": 4, "isStopWord": true}, "from": {"occurance": 5, "isStopWord": true}, "spoke": {"occurance": 1, "isStopWord": false}, "would": {"occurance": 2, "isStopWord": true}, "ploy": {"occurance": 1, "isStopWord": false}, "two": {"occurance": 3, "isStopWord": true}, "live": {"occurance": 1, "isStopWord": false}, "markets": {"occurance": 1, "isStopWord": false}, "today": {"occurance": 1, "isStopWord": true}, "more": {"occurance": 2, "isStopWord": true}, "So": {"occurance": 16, "isStopWord": true}, "stick": {"occurance": 4, "isStopWord": false}, "tying": {"occurance": 1, "isStopWord": false}, "Now": {"occurance": 1, "isStopWord": true}, "animals": {"occurance": 1, "isStopWord": false}, "room": {"occurance": 1, "isStopWord": true}, "hour": {"occurance": 3, "isStopWord": false}, "f": {"occurance": 1, "isStopWord": true}, "this": {"occurance": 5, "isStopWord": true}, "work": {"occurance": 2, "isStopWord": true}, "cat": {"occurance": 1, "isStopWord": false}, "can": {"occurance": 3, "isStopWord": true}, "my": {"occurance": 4, "isStopWord": true}, "control": {"occurance": 4, "isStopWord": false}, "plate": {"occurance": 1, "isStopWord": false}, "didn\'t": {"occurance": 1, "isStopWord": true}, "high": {"occurance": 1, "isStopWord": true}, "something": {"occurance": 3, "isStopWord": true}, "want": {"occurance": 2, "isStopWord": true}, "times": {"occurance": 2, "isStopWord": false}, "frontwards": {"occurance": 1, "isStopWord": false}, "needs": {"occurance": 1, "isStopWord": true}, "turn": {"occurance": 1, "isStopWord": true}, "how": {"occurance": 3, "isStopWord": true}, "instead": {"occurance": 1, "isStopWord": true}, "okay": {"occurance": 1, "isStopWord": true}, "after": {"occurance": 1, "isStopWord": true}, "lighting": {"occurance": 3, "isStopWord": false}, "coming": {"occurance": 2, "isStopWord": false}, "guys": {"occurance": 2, "isStopWord": false}, "a": {"occurance": 24, "isStopWord": true}, "remember": {"occurance": 2, "isStopWord": false}, "third": {"occurance": 1, "isStopWord": true}, "maybe": {"occurance": 3, "isStopWord": true}, "One": {"occurance": 1, "isStopWord": true}, "sh": {"occurance": 1, "isStopWord": false}, "so": {"occurance": 10, "isStopWord": true}, "that\'s": {"occurance": 3, "isStopWord": true}, "shoes": {"occurance": 1, "isStopWord": false}, "don\'t": {"occurance": 2, "isStopWord": true}, "essence": {"occurance": 1, "isStopWord": false}, "over": {"occurance": 1, "isStopWord": true}, "mainly": {"occurance": 1, "isStopWord": true}, "kickoff": {"occurance": 1, "isStopWord": false}, "years": {"occurance": 1, "isStopWord": true}, "course": {"occurance": 1, "isStopWord": true}, "looks": {"occurance": 1, "isStopWord": true}, "innovative": {"occurance": 1, "isStopWord": false}, "before": {"occurance": 1, "isStopWord": true}, "style": {"occurance": 2, "isStopWord": false}, "personal": {"occurance": 2, "isStopWord": false}, ",": {"occurance": 98, "isStopWord": false}, "actually": {"occurance": 1, "isStopWord": true}, "might": {"occurance": 3, "isStopWord": true}, "versus": {"occurance": 1, "isStopWord": false}, "then": {"occurance": 2, "isStopWord": true}, "them": {"occurance": 2, "isStopWord": true}, "good": {"occurance": 2, "isStopWord": true}, "material": {"occurance": 1, "isStopWord": false}, "Because": {"occurance": 1, "isStopWord": true}, "they": {"occurance": 4, "isStopWord": true}, "not": {"occurance": 2, "isStopWord": true}, "brightness": {"occurance": 1, "isStopWord": false}, "Milan": {"occurance": 2, "isStopWord": false}, "each": {"occurance": 1, "isStopWord": true}, "mean": {"occurance": 4, "isStopWord": true}, "schemes": {"occurance": 1, "isStopWord": false}, "doing": {"occurance": 1, "isStopWord": true}, "house": {"occurance": 1, "isStopWord": false}, "hard": {"occurance": 2, "isStopWord": false}, "yeah": {"occurance": 3, "isStopWord": false}, "we\'d": {"occurance": 1, "isStopWord": true}, "year": {"occurance": 2, "isStopWord": true}, "our": {"occurance": 5, "isStopWord": true}, "out": {"occurance": 1, "isStopWord": true}, "living": {"occurance": 1, "isStopWord": false}, "research": {"occurance": 2, "isStopWord": false}, "shows": {"occurance": 1, "isStopWord": true}, "doesn\'t": {"occurance": 2, "isStopWord": true}, "This": {"occurance": 1, "isStopWord": true}, "guess": {"occurance": 5, "isStopWord": false}, "wanted": {"occurance": 1, "isStopWord": true}, "scary": {"occurance": 1, "isStopWord": false}, "dunno": {"occurance": 2, "isStopWord": false}, "could": {"occurance": 3, "isStopWord": true}, "keep": {"occurance": 2, "isStopWord": true}, "thing": {"occurance": 2, "isStopWord": true}, "w": {"occurance": 1, "isStopWord": true}, "think": {"occurance": 6, "isStopWord": true}, "first": {"occurance": 2, "isStopWord": true}, "already": {"occurance": 2, "isStopWord": true}, "saving": {"occurance": 1, "isStopWord": false}, "feel": {"occurance": 1, "isStopWord": false}, "There": {"occurance": 2, "isStopWord": true}, "fancy": {"occurance": 1, "isStopWord": false}, "one": {"occurance": 9, "isStopWord": true}, "done": {"occurance": 2, "isStopWord": true}, "sounds": {"occurance": 2, "isStopWord": false}, "you\'re": {"occurance": 2, "isStopWord": true}, "little": {"occurance": 1, "isStopWord": true}, "Okay": {"occurance": 15, "isStopWord": true}, "their": {"occurance": 1, "isStopWord": true}, "twenty": {"occurance": 1, "isStopWord": true}, "Screen": {"occurance": 1, "isStopWord": false}, "plastic": {"occurance": 2, "isStopWord": false}, "priority": {"occurance": 1, "isStopWord": false}, "contra": {"occurance": 1, "isStopWord": false}, "too": {"occurance": 1, "isStopWord": true}, "which": {"occurance": 1, "isStopWord": true}, "Remote": {"occurance": 1, "isStopWord": false}, "option": {"occurance": 1, "isStopWord": false}, "that": {"occurance": 27, "isStopWord": true}, "took": {"occurance": 1, "isStopWord": true}, "light-up": {"occurance": 1, "isStopWord": false}, "somewhat": {"occurance": 1, "isStopWord": true}, "believe": {"occurance": 1, "isStopWord": true}, "than": {"occurance": 1, "isStopWord": true}, "television": {"occurance": 1, "isStopWord": false}, "zero": {"occurance": 2, "isStopWord": true}, "animal-based": {"occurance": 1, "isStopWord": false}, "fruits": {"occurance": 1, "isStopWord": false}, "and": {"occurance": 22, "isStopWord": true}, "fashion": {"occurance": 2, "isStopWord": false}, "mind": {"occurance": 1, "isStopWord": false}, "mine": {"occurance": 1, "isStopWord": true}, "talking": {"occurance": 1, "isStopWord": false}, "say": {"occurance": 2, "isStopWord": true}, "have": {"occurance": 13, "isStopWord": true}, "need": {"occurance": 1, "isStopWord": true}, "seen": {"occurance": 1, "isStopWord": true}, "any": {"occurance": 1, "isStopWord": true}, "Do": {"occurance": 1, "isStopWord": true}, "depending": {"occurance": 1, "isStopWord": false}, "able": {"occurance": 1, "isStopWord": true}, "ideas": {"occurance": 1, "isStopWord": false}, "also": {"occurance": 2, "isStopWord": true}, "They": {"occurance": 1, "isStopWord": true}, "channel": {"occurance": 1, "isStopWord": false}, "though": {"occurance": 1, "isStopWord": true}, "track": {"occurance": 1, "isStopWord": false}, "most": {"occurance": 5, "isStopWord": true}, "regular": {"occurance": 1, "isStopWord": false}, "eight": {"occurance": 1, "isStopWord": true}, "\'cause": {"occurance": 2, "isStopWord": false}, "device": {"occurance": 1, "isStopWord": false}, "The": {"occurance": 8, "isStopWord": true}, "trend-watching": {"occurance": 1, "isStopWord": false}, "stereo": {"occurance": 1, "isStopWord": false}, "considered": {"occurance": 2, "isStopWord": false}, "sometimes": {"occurance": 2, "isStopWord": true}, "Some": {"occurance": 1, "isStopWord": true}, "dog": {"occurance": 1, "isStopWord": false}, "looked": {"occurance": 1, "isStopWord": false}, "fashions": {"occurance": 1, "isStopWord": false}, "If": {"occurance": 1, "isStopWord": true}, "annoyed": {"occurance": 1, "isStopWord": false}, "saying": {"occurance": 2, "isStopWord": true}, "Paris": {"occurance": 2, "isStopWord": false}, "infrared": {"occurance": 1, "isStopWord": false}, "bring": {"occurance": 1, "isStopWord": false}, "based": {"occurance": 1, "isStopWord": false}, "with": {"occurance": 10, "isStopWord": true}, "controls": {"occurance": 1, "isStopWord": false}, "should": {"occurance": 5, "isStopWord": true}, "buttons": {"occurance": 6, "isStopWord": false}, "theme": {"occurance": 1, "isStopWord": false}, "going": {"occurance": 1, "isStopWord": true}, "black": {"occurance": 1, "isStopWord": false}, "York": {"occurance": 1, "isStopWord": false}, "pretty": {"occurance": 1, "isStopWord": false}, "do": {"occurance": 3, "isStopWord": true}, "get": {"occurance": 1, "isStopWord": true}, "kind": {"occurance": 2, "isStopWord": false}, "T_V_s": {"occurance": 1, "isStopWord": false}, "remotes": {"occurance": 2, "isStopWord": false}, "cushion": {"occurance": 1, "isStopWord": false}, "report": {"occurance": 2, "isStopWord": false}, "Right": {"occurance": 4, "isStopWord": true}, "settings": {"occurance": 2, "isStopWord": false}, "twice": {"occurance": 1, "isStopWord": true}, "questions": {"occurance": 1, "isStopWord": false}, "shake": {"occurance": 1, "isStopWord": false}, "hasn\'t": {"occurance": 1, "isStopWord": true}, "Mm-hmm": {"occurance": 13, "isStopWord": false}, "see": {"occurance": 3, "isStopWord": true}, "are": {"occurance": 3, "isStopWord": true}, "That": {"occurance": 1, "isStopWord": true}, "movie": {"occurance": 1, "isStopWord": false}, "purses": {"occurance": 1, "isStopWord": false}, "colours": {"occurance": 1, "isStopWord": false}, "there\'s": {"occurance": 1, "isStopWord": true}, "across": {"occurance": 1, "isStopWord": true}, "pictured": {"occurance": 1, "isStopWord": false}, "we": {"occurance": 13, "isStopWord": true}, "interface": {"occurance": 2, "isStopWord": false}, "come": {"occurance": 2, "isStopWord": true}, "kitchen": {"occurance": 1, "isStopWord": false}, "c": {"occurance": 1, "isStopWord": true}, "last": {"occurance": 1, "isStopWord": true}, "many": {"occurance": 1, "isStopWord": true}, "according": {"occurance": 1, "isStopWord": true}, "presentations": {"occurance": 2, "isStopWord": false}, "Yes": {"occurance": 1, "isStopWord": true}, "comes": {"occurance": 2, "isStopWord": true}, "ch": {"occurance": 1, "isStopWord": false}, "tone": {"occurance": 1, "isStopWord": false}, "clashing": {"occurance": 1, "isStopWord": false}, "point": {"occurance": 4, "isStopWord": true}, "battery": {"occurance": 3, "isStopWord": false}, "Sorry": {"occurance": 1, "isStopWord": true}, "olives": {"occurance": 1, "isStopWord": false}, "light": {"occurance": 2, "isStopWord": false}, "I\'ve": {"occurance": 2, "isStopWord": true}, "it\'s": {"occurance": 9, "isStopWord": true}, "three": {"occurance": 1, "isStopWord": true}, "But": {"occurance": 3, "isStopWord": true}, ".": {"occurance": 128, "isStopWord": false}, "basic": {"occurance": 1, "isStopWord": false}, "expected": {"occurance": 1, "isStopWord": false}, "meeting": {"occurance": 2, "isStopWord": false}, "graphical": {"occurance": 1, "isStopWord": false}, "easy": {"occurance": 2, "isStopWord": false}, "That\'s": {"occurance": 2, "isStopWord": true}, "And": {"occurance": 6, "isStopWord": true}, "has": {"occurance": 1, "isStopWord": true}, "look": {"occurance": 1, "isStopWord": true}, "these": {"occurance": 1, "isStopWord": true}, "tastes": {"occurance": 1, "isStopWord": false}, "will": {"occurance": 3, "isStopWord": true}, "while": {"occurance": 1, "isStopWord": true}, "fun": {"occurance": 1, "isStopWord": false}, "PowerPoint": {"occurance": 2, "isStopWord": false}, "picturing": {"occurance": 1, "isStopWord": false}, "pack": {"occurance": 1, "isStopWord": false}, "almost": {"occurance": 1, "isStopWord": true}, "is": {"occurance": 14, "isStopWord": true}, "it": {"occurance": 23, "isStopWord": true}, "experts": {"occurance": 1, "isStopWord": false}, "Pretty": {"occurance": 1, "isStopWord": false}, "in": {"occurance": 8, "isStopWord": true}, "You": {"occurance": 1, "isStopWord": true}, "casings": {"occurance": 1, "isStopWord": false}, "if": {"occurance": 10, "isStopWord": true}, "different": {"occurance": 2, "isStopWord": true}, "shorter": {"occurance": 1, "isStopWord": false}, "vegetable": {"occurance": 1, "isStopWord": false}, "About": {"occurance": 1, "isStopWord": true}, "used": {"occurance": 3, "isStopWord": true}, "temporary": {"occurance": 1, "isStopWord": false}, "I": {"occurance": 27, "isStopWord": true}, "Maybe": {"occurance": 1, "isStopWord": true}, "running": {"occurance": 1, "isStopWord": false}, "fruit": {"occurance": 1, "isStopWord": false}, "purpose": {"occurance": 1, "isStopWord": false}, "recent": {"occurance": 1, "isStopWord": true}, "off": {"occurance": 2, "isStopWord": true}, "i": {"occurance": 1, "isStopWord": true}, "colour": {"occurance": 3, "isStopWord": false}, "fashionable": {"occurance": 1, "isStopWord": false}, "well": {"occurance": 2, "isStopWord": true}, "It": {"occurance": 2, "isStopWord": true}, "obviously": {"occurance": 1, "isStopWord": true}, "command": {"occurance": 1, "isStopWord": false}, "Have": {"occurance": 1, "isStopWord": true}, "y": {"occurance": 1, "isStopWord": true}, "the": {"occurance": 37, "isStopWord": true}, "audio": {"occurance": 1, "isStopWord": false}, "know": {"occurance": 8, "isStopWord": true}, "just": {"occurance": 7, "isStopWord": true}, "true": {"occurance": 1, "isStopWord": false}, "batteries": {"occurance": 1, "isStopWord": false}, "aspect": {"occurance": 3, "isStopWord": false}, "olds": {"occurance": 1, "isStopWord": false}, "previous": {"occurance": 1, "isStopWord": false}, "web": {"occurance": 1, "isStopWord": false}, "thinking": {"occurance": 1, "isStopWord": false}, "we\'ve": {"occurance": 4, "isStopWord": true}, "seems": {"occurance": 1, "isStopWord": true}, "simple": {"occurance": 1, "isStopWord": false}, "Although": {"occurance": 1, "isStopWord": true}, "relevance": {"occurance": 2, "isStopWord": false}, "look-and-feel": {"occurance": 2, "isStopWord": false}, "aspects": {"occurance": 1, "isStopWord": false}, "around": {"occurance": 1, "isStopWord": true}, "Oh": {"occurance": 6, "isStopWord": true}, "Mono": {"occurance": 1, "isStopWord": false}, "gonna": {"occurance": 2, "isStopWord": false}, "five": {"occurance": 4, "isStopWord": true}, "T": {"occurance": 1, "isStopWord": true}, "bit": {"occurance": 2, "isStopWord": false}, "Or": {"occurance": 3, "isStopWord": true}, "furniture": {"occurance": 1, "isStopWord": false}, "insert": {"occurance": 1, "isStopWord": false}, "like": {"occurance": 5, "isStopWord": true}, "success": {"occurance": 1, "isStopWord": false}, "specific": {"occurance": 1, "isStopWord": false}, "t": {"occurance": 1, "isStopWord": true}, "Again": {"occurance": 1, "isStopWord": true}, "because": {"occurance": 2, "isStopWord": true}, "often": {"occurance": 1, "isStopWord": true}, "people": {"occurance": 2, "isStopWord": false}, "some": {"occurance": 3, "isStopWord": true}, "back": {"occurance": 2, "isStopWord": true}, "trendy": {"occurance": 1, "isStopWord": false}, "New": {"occurance": 1, "isStopWord": true}, "scale": {"occurance": 1, "isStopWord": false}, "for": {"occurance": 6, "isStopWord": true}, "affects": {"occurance": 1, "isStopWord": false}, "face-plates": {"occurance": 3, "isStopWord": false}, "?": {"occurance": 12, "isStopWord": false}, "Something": {"occurance": 1, "isStopWord": true}, "be": {"occurance": 11, "isStopWord": true}, "power": {"occurance": 1, "isStopWord": false}, "marketing": {"occurance": 1, "isStopWord": false}, "Um": {"occurance": 15, "isStopWord": false}, "Command": {"occurance": 1, "isStopWord": false}, "Uh": {"occurance": 2, "isStopWord": false}, "Think": {"occurance": 1, "isStopWord": true}, "on": {"occurance": 10, "isStopWord": true}, "about": {"occurance": 4, "isStopWord": true}, "actual": {"occurance": 1, "isStopWord": false}, "working": {"occurance": 1, "isStopWord": true}, "getting": {"occurance": 1, "isStopWord": true}, "of": {"occurance": 22, "isStopWord": true}, "discussed": {"occurance": 1, "isStopWord": false}, "draf": {"occurance": 1, "isStopWord": false}, "wanna": {"occurance": 1, "isStopWord": false}, "or": {"occurance": 3, "isStopWord": true}, "functional": {"occurance": 1, "isStopWord": false}, "right": {"occurance": 2, "isStopWord": true}, "been": {"occurance": 3, "isStopWord": true}, "your": {"occurance": 4, "isStopWord": true}, "her": {"occurance": 1, "isStopWord": true}, "vegetables": {"occurance": 1, "isStopWord": false}, "there": {"occurance": 4, "isStopWord": true}, "we\'re": {"occurance": 3, "isStopWord": true}, "lot": {"occurance": 3, "isStopWord": false}, "was": {"occurance": 9, "isStopWord": true}, "spongy": {"occurance": 1, "isStopWord": false}, "Well": {"occurance": 2, "isStopWord": true}, "but": {"occurance": 2, "isStopWord": true}, "idea": {"occurance": 2, "isStopWord": false}, "volume": {"occurance": 1, "isStopWord": false}, "granny": {"occurance": 1, "isStopWord": false}, "kitchenware": {"occurance": 1, "isStopWord": false}, "I\'ll": {"occurance": 1, "isStopWord": true}, "they\'re": {"occurance": 1, "isStopWord": true}, "up": {"occurance": 5, "isStopWord": true}, "us": {"occurance": 1, "isStopWord": true}, "um": {"occurance": 6, "isStopWord": false}, "strawberry": {"occurance": 1, "isStopWord": false}, "uh": {"occurance": 7, "isStopWord": false}, "called": {"occurance": 1, "isStopWord": false}, "sales": {"occurance": 1, "isStopWord": false}, "an": {"occurance": 4, "isStopWord": true}, "as": {"occurance": 6, "isStopWord": true}, "at": {"occurance": 2, "isStopWord": true}, "Real": {"occurance": 1, "isStopWord": false}, "ideally": {"occurance": 1, "isStopWord": false}, "when": {"occurance": 1, "isStopWord": true}, "rubber": {"occurance": 3, "isStopWord": false}, "other": {"occurance": 1, "isStopWord": true}, "you": {"occurance": 19, "isStopWord": true}, "Like": {"occurance": 3, "isStopWord": true}, "favourite": {"occurance": 1, "isStopWord": false}, "update": {"occurance": 1, "isStopWord": false}, "important": {"occurance": 5, "isStopWord": true}, "kinda": {"occurance": 1, "isStopWord": false}, "sides": {"occurance": 1, "isStopWord": true}, "remote": {"occurance": 7, "isStopWord": false}, "T_V_": {"occurance": 2, "isStopWord": false}, "age": {"occurance": 1, "isStopWord": false}, "Yeah": {"occurance": 13, "isStopWord": false}, "time": {"occurance": 1, "isStopWord": false}, "everywhere": {"occurance": 1, "isStopWord": true}, "once": {"occurance": 2, "isStopWord": true}, "having": {"occurance": 1, "isStopWord": true}, "basically": {"occurance": 1, "isStopWord": false}}'

In [442]:
with open(fileRoot + '.json', 'w+') as outFile:
    json.dump(wordsInFile, outFile)

In [ ]:


In [ ]: