Advertisement
Guest User

Untitled

a guest
Oct 27th, 2016
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. howbig_infile = open('/home/zoombifpow/Downloads/UNC_SILS/_fall_2015/INLS560/erinscode//HowBigDataIsChangingAstronomy.txt', 'r')
  2. print("i am here before the keys")
  3. vocablist = keyword_frequency_dictionary.keys()
  4. print("i should be here now")
  5. #print(howbig_infile.read(128))
  6. terms = howbig_infile.readlines()
  7. for line in terms:
  8. clean_words = remove_punctuation(line)
  9. print(type(clean_words))
  10. #print(clean_words)
  11. for word in clean_words:
  12. print('did i ever get here')
  13. if word in vocablist:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement