]> granicus.if.org Git - python/commitdiff
Boost the list of stop words, by merging in the little list Jeremy
authorTim Peters <tim.peters@gmail.com>
Thu, 2 May 2002 21:59:08 +0000 (21:59 +0000)
committerTim Peters <tim.peters@gmail.com>
Thu, 2 May 2002 21:59:08 +0000 (21:59 +0000)
just checked into Zope's ZCTextIndex branch.  This reduces the size
of the .chm file by about 100KB.

Doc/tools/prechm.py

index 2eb10e20b9a6ed58f6afdaa7de8b28b1294b081f..04d49c36898b85d0a467846a12a50be20e82f23d 100644 (file)
@@ -117,13 +117,15 @@ object_sitemap = '''\
 # Note that "and", "or", "not" and "near" are operators in the search
 # language, so no point indexing them even if we wanted to.
 stop_list = '''
-a  an  and
-is
-near
-not
-of
-or
-the
+a  and  are  as  at
+be  but  by
+for
+if  in  into  is  it
+near  no  not
+of  on  or
+such
+that  the  their  then  there  these  they  this  to
+was  will  with
 '''
 
 # s is a string or None.  If None or empty, return None.  Else tack '.html'