Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- howbig_infile = open('/home/zoombifpow/Downloads/UNC_SILS/_fall_2015/INLS560/erinscode//HowBigDataIsChangingAstronomy.txt', 'r')
- print("i am here before the keys")
- vocablist = keyword_frequency_dictionary.keys()
- print("i should be here now")
- #print(howbig_infile.read(128))
- terms = howbig_infile.readlines()
- for line in terms:
- clean_words = remove_punctuation(line)
- print(type(clean_words))
- #print(clean_words)
- for word in clean_words:
- print('did i ever get here')
- if word in vocablist:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement