[Zope-Checkins] CVS: Zope2 - Vocabulary.py:1.11.4.2

Jim Fulton jim@digicool.com
Mon, 19 Mar 2001 14:12:10 -0500 (EST)


Update of /cvs-repository/Zope2/lib/python/Products/ZCatalog
In directory korak:/tmp/cvs-serv3811

Modified Files:
      Tag: zope-2_3-branch
	Vocabulary.py 
Log Message:
Added interface for getting the lexicon.



--- Updated File Vocabulary.py in package Zope2 --
--- Vocabulary.py	2001/03/15 13:10:29	1.11.4.1
+++ Vocabulary.py	2001/03/19 19:12:10	1.11.4.2
@@ -158,6 +158,9 @@
         else:
             self.lexicon = Lexicon.Lexicon(stop_word_dict)
 
+    def getLexicon(self):
+        return self.lexicon
+
     def query(self, pattern):
         """ """
         result = []