From: Tim Peters Date: Thu, 2 May 2002 21:59:08 +0000 (+0000) Subject: Boost the list of stop words, by merging in the little list Jeremy X-Git-Tag: v2.3c1~5729 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a3b0b298e6c5f5ced9e99dc067e809fece049e66;p=python Boost the list of stop words, by merging in the little list Jeremy just checked into Zope's ZCTextIndex branch. This reduces the size of the .chm file by about 100KB. --- diff --git a/Doc/tools/prechm.py b/Doc/tools/prechm.py index 2eb10e20b9..04d49c3689 100644 --- a/Doc/tools/prechm.py +++ b/Doc/tools/prechm.py @@ -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'