Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lipn-search
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Julien David
lipn-search
Commits
5f7b7555
Commit
5f7b7555
authored
3 years ago
by
TP SDA
Browse files
Options
Downloads
Patches
Plain Diff
Update IndexInverse.py
parent
7e24de45
No related branches found
No related tags found
1 merge request
!19
Mehdi lili index inverse
Pipeline
#3148
failed with stage
in 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
index_inverse/src/IndexInverse.py
+1
-6
1 addition, 6 deletions
index_inverse/src/IndexInverse.py
with
1 addition
and
6 deletions
index_inverse/src/IndexInverse.py
+
1
−
6
View file @
5f7b7555
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment