Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.

Commit

Permalink
Add a comment about some of the data structures.
Browse files Browse the repository at this point in the history
  • Loading branch information
freddrake committed May 14, 2002
1 parent 69b341a commit cd7b323
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Lexicon.py
Expand Up @@ -20,12 +20,12 @@
from Products.ZCTextIndex.StopDict import get_stopdict

class Lexicon:

__implements__ = ILexicon

def __init__(self, *pipeline):
self.__wids = OIBTree()
self.__words = IOBTree()
self.__wids = OIBTree() # word -> wid
self.__words = IOBTree() # wid -> word
# XXX we're reserving wid 0, but that might be yagni
self.__nextwid = 1
self.__pipeline = pipeline
Expand Down

0 comments on commit cd7b323

Please sign in to comment.