Revision: 6598
Author:   cosoleto
Date:     2009-04-12 09:18:51 +0000 (Sun, 12 Apr 2009)

Log Message:
-----------
Changed default number_of_words variable from 31 to 22.

The variable is utilized to limit number of words sent to search engine and 
influences the number of queries to execute for pages, as well as the number of 
results. The previous value was too low to work fine with Live Search, the 
current one is tested a long time on Italian Wikipedia.

Modified Paths:
--------------
    trunk/pywikipedia/copyright.py

Modified: trunk/pywikipedia/copyright.py
===================================================================
--- trunk/pywikipedia/copyright.py      2009-04-12 08:55:59 UTC (rev 6597)
+++ trunk/pywikipedia/copyright.py      2009-04-12 09:18:51 UTC (rev 6598)
@@ -88,7 +88,7 @@
 min_query_string_len = 120
 
 # Split the text into strings of a specified number of words.
-number_of_words = 31
+number_of_words = 22
 
 # Try to skip quoted text.
 exclude_quote = True



_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to