Changed some files and tf_idf, added data storage, and finish the loop for indexing
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
#Posting class for indexer, will probably be more complex as we keep adding crap to it
|
||||
|
||||
class Posting():
|
||||
def __init(self,url,tf_idf):
|
||||
def __init__(self,url,tf_idf):
|
||||
self.url = url
|
||||
self.tf_idf = tf_idf
|
||||
|
||||
def comparator(self):
|
||||
#Some custom comparator for sorting postings later
|
||||
#Some custom comparator for sorting postings later
|
||||
pass
|
||||
Reference in New Issue
Block a user