Skip to content
Snippets Groups Projects
Commit 5f7b7555 authored by TP SDA's avatar TP SDA
Browse files

Update IndexInverse.py

parent 7e24de45
No related branches found
No related tags found
1 merge request!19Mehdi lili index inverse
Pipeline #3148 failed with stage
in 37 seconds
......@@ -46,14 +46,8 @@ class IndexInverse :
a=a+1
self.invert_index.setdefault(word,[]).append(doc_id)
IndexInverse.vocaCount=len(self.vocabulary)
<<<<<<< HEAD
=======
print(IndexInverse.vocaCount)
>>>>>>> master
def get_index(self):
'''Obtenir le dictionnaire invert_index.
......@@ -106,3 +100,4 @@ class IndexInverse :
print (ID,end=' ')
return
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment