Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
1d0d9654
Commit
1d0d9654
authored
May 14, 2002
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a comment about some of the data structures.
parent
be21d3ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lib/python/Products/ZCTextIndex/Lexicon.py
lib/python/Products/ZCTextIndex/Lexicon.py
+3
-3
No files found.
lib/python/Products/ZCTextIndex/Lexicon.py
View file @
1d0d9654
...
@@ -20,12 +20,12 @@ from Products.ZCTextIndex.ILexicon import ILexicon
...
@@ -20,12 +20,12 @@ from Products.ZCTextIndex.ILexicon import ILexicon
from
Products.ZCTextIndex.StopDict
import
get_stopdict
from
Products.ZCTextIndex.StopDict
import
get_stopdict
class
Lexicon
:
class
Lexicon
:
__implements__
=
ILexicon
__implements__
=
ILexicon
def
__init__
(
self
,
*
pipeline
):
def
__init__
(
self
,
*
pipeline
):
self
.
__wids
=
OIBTree
()
self
.
__wids
=
OIBTree
()
# word -> wid
self
.
__words
=
IOBTree
()
self
.
__words
=
IOBTree
()
# wid -> word
# XXX we're reserving wid 0, but that might be yagni
# XXX we're reserving wid 0, but that might be yagni
self
.
__nextwid
=
1
self
.
__nextwid
=
1
self
.
__pipeline
=
pipeline
self
.
__pipeline
=
pipeline
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment