summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-05-02 21:59:08 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-05-02 21:59:08 (GMT)
commita3b0b298e6c5f5ced9e99dc067e809fece049e66 (patch)
treecaa917f3400f6b079793a663349e74a7d7ede16b
parentb9032018ffaf6b4fb1eeeee44f9ee9ac0b407114 (diff)
downloadcpython-a3b0b298e6c5f5ced9e99dc067e809fece049e66.zip
cpython-a3b0b298e6c5f5ced9e99dc067e809fece049e66.tar.gz
cpython-a3b0b298e6c5f5ced9e99dc067e809fece049e66.tar.bz2
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.
-rw-r--r--Doc/tools/prechm.py16
1 files changed, 9 insertions, 7 deletions
diff --git a/Doc/tools/prechm.py b/Doc/tools/prechm.py
index 2eb10e2..04d49c3 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'