def __init__(self, directory):
		"""
		Arguments:
		 	directory - Directory of documents to be searched. 
		"""
		self.corpus = os.listdir(directory)
		self.text = {}
		for f in self.corpus:
			f = os.path.join(directory,f)
			with open(f) as doc:
				info = doc.read()
				self.text[f] = info