Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2016
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.50 KB | None | 0 0
  1. stopWords = [ "a", "i", "it", "am", "at", "on", "in", "to", "too", "very", \
  2.               "of", "from", "here", "even", "the", "but", "and", "is", "my", \
  3.               "them", "then", "this", "that", "than", "though", "so", "are" ]
  4.  
  5. noStemWords = [ "feed", "sages", "yearling", "mass", "make", "sly", "ring" ]
  6.  
  7.  
  8.  
  9.  
  10. lines = []
  11. while True:
  12.     line = raw_input()
  13.     if not line: break
  14.     lines.append(line)
  15.  
  16. i = 0
  17. x = 0
  18. d = {}
  19. while x < len(lines):
  20.  
  21.  
  22.     d[x]=lines[x].split()
  23.  
  24.     x = x + 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement