diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2013-03-17 20:07:05 +0000 |
---|---|---|
committer | <> | 2015-07-07 10:18:30 +0000 |
commit | 802da9dd5d4bc18f46a916eedc0c5c1980a15e59 (patch) | |
tree | f78a8637465b7a4c9624fef03d27eb7aeaa779d4 /webhelp/docs/content/search | |
parent | 18f63104106b81bf37ca1af774d7be38051e5444 (diff) | |
download | docbook-xsl-master.tar.gz |
Imported from /home/lorry/working-area/delta_docbook-xsl/docbook-xsl-1.78.1.tar.bz2.HEADdocbook-xsl-1.78.1master
Diffstat (limited to 'webhelp/docs/content/search')
-rw-r--r-- | webhelp/docs/content/search/htmlFileInfoList.js | 38 | ||||
-rw-r--r-- | webhelp/docs/content/search/htmlFileList.js | 18 | ||||
-rw-r--r-- | webhelp/docs/content/search/index-1.js | 379 | ||||
-rw-r--r-- | webhelp/docs/content/search/index-2.js | 378 | ||||
-rw-r--r-- | webhelp/docs/content/search/index-3.js | 376 | ||||
-rw-r--r-- | webhelp/docs/content/search/l10n.js | 5 | ||||
-rw-r--r-- | webhelp/docs/content/search/nwSearchFnt.js | 881 | ||||
-rw-r--r-- | webhelp/docs/content/search/stemmers/en_stemmer.js | 234 |
8 files changed, 0 insertions, 2309 deletions
diff --git a/webhelp/docs/content/search/htmlFileInfoList.js b/webhelp/docs/content/search/htmlFileInfoList.js deleted file mode 100644 index 43430f7..0000000 --- a/webhelp/docs/content/search/htmlFileInfoList.js +++ /dev/null @@ -1,38 +0,0 @@ -var doStem = true; -//List of indexed files. -fl = new Array(); -fl["0"]= "ch04.html"; -fl["1"]= "ch05s01.html"; -fl["2"]= "ch03s02.html"; -fl["3"]= "index.html"; -fl["4"]= "ch02s02s01.html"; -fl["5"]= "ch03s01.html"; -fl["6"]= "ch01.html"; -fl["7"]= "ch02.html"; -fl["8"]= "ch02s01.html"; -fl["9"]= "ch02s03.html"; -fl["10"]= "ch03s02s01.html"; -fl["11"]= "ch05.html"; -fl["12"]= "ch03.html"; -fl["13"]= "ch02s05.html"; -fl["14"]= "ch02s04.html"; -fl["15"]= "ch02s02.html"; -fl["16"]= "ch05s02.html"; -fil = new Array(); -fil["0"]= "ch04.html@@@FAQ@@@Frequently Asked Questions..."; -fil["1"]= "ch05s01.html@@@5.1. Some problematic search words@@@null"; -fil["2"]= "ch03s02.html@@@Search@@@Overview design of Search mechanism..."; -fil["3"]= "index.html@@@README: Web-based Help from DocBook XML@@@null"; -fil["4"]= "ch02s02s01.html@@@@@@null"; -fil["5"]= "ch03s01.html@@@Design@@@An overview of webhelp page structure..."; -fil["6"]= "ch01.html@@@Introduction@@@Overview of the package..."; -fil["7"]= "ch02.html@@@Using the package@@@The following sections describe how to install and use the package on Windows..."; -fil["8"]= "ch02s01.html@@@Generating webhelp output@@@Installation instructions..."; -fil["9"]= "ch02s03.html@@@Search indexing@@@To build the indexer, you must have installed the JDK version 1.5 or higher and set the ANT_HOME environment variable..."; -fil["10"]= "ch03s02s01.html@@@New Stemmers@@@Adding new Stemmers is very simple..."; -fil["11"]= "ch05.html@@@Chapter 5. Test section@@@null"; -fil["12"]= "ch03.html@@@Developer Docs@@@This chapter provides an overview of how webhelp is implemented..."; -fil["13"]= "ch02s05.html@@@Adding images@@@null"; -fil["14"]= "ch02s04.html@@@Adding support for other (non-CJKV) languages@@@null"; -fil["15"]= "ch02s02.html@@@Using and customizing the output@@@null"; -fil["16"]= "ch05s02.html@@@5.2. Some problematic search words (inflected)@@@null"; diff --git a/webhelp/docs/content/search/htmlFileList.js b/webhelp/docs/content/search/htmlFileList.js deleted file mode 100644 index 5562796..0000000 --- a/webhelp/docs/content/search/htmlFileList.js +++ /dev/null @@ -1,18 +0,0 @@ -//List of files which are indexed. -fl = new Array(); -fl["0"]= "ch04.html"; -fl["1"]= "ch05s01.html"; -fl["2"]= "ch03s02.html"; -fl["3"]= "index.html"; -fl["4"]= "ch03s01.html"; -fl["5"]= "ch01.html"; -fl["6"]= "ch02.html"; -fl["7"]= "ch02s01.html"; -fl["8"]= "ch02s03.html"; -fl["9"]= "ch05.html"; -fl["10"]= "ch03.html"; -fl["11"]= "ch02s05.html"; -fl["12"]= "ch02s04.html"; -fl["13"]= "ch02s02.html"; -fl["14"]= "ch05s02.html"; -var doStem = true
\ No newline at end of file diff --git a/webhelp/docs/content/search/index-1.js b/webhelp/docs/content/search/index-1.js deleted file mode 100644 index dea25ac..0000000 --- a/webhelp/docs/content/search/index-1.js +++ /dev/null @@ -1,379 +0,0 @@ -var indexerLanguage="en"; -//Auto generated index for searching by xsl-webhelpindexer for DocBook Webhelp.# Kasun Gajasinghe, University of Moratuwa -w["-"]="2*5,6*1,9*2"; -w["-doutput-dir"]="8*1"; -w["-version"]="8*2"; -w["."]="2*5,3*2,4*3,5*5,6*1,8*10,9*3,10*8,13*2,14*1,15*3"; -w[".chm"]="6*1"; -w[".htaccess"]="4*1"; -w[".html"]="4*1"; -w[".js"]="2*2"; -w[".nexwave.nquindexer.indexermain"]="9*1"; -w[".nexwave.nquindexer.indexertask"]="9*1"; -w[".treeview"]="5*1"; -w["0"]="0*2,3*1,8*5,9*6"; -w["1"]="0*6,1*46,3*2,8*8,9*6,11*1,13*10"; -w["1."]="0*6,3*2,8*1,13*2"; -w["1.5"]="9*1"; -w["1.6"]="8*1"; -w["1.76.0"]="9*1"; -w["1.76.1"]="9*2"; -w["1.76.1."]="9*1"; -w["1.77.0"]="0*2"; -w["1.8.0"]="8*3,9*1"; -w["1.8.2.custom.css"]="15*1"; -w["172800"]="4*2"; -w["2"]="0*6,3*2,4*2,8*1,10*5,11*1,15*1,16*46"; -w["2."]="0*6,3*1,10*1"; -w["2.0"]="3*1"; -w["2006"]="3*1"; -w["2008"]="3*1"; -w["2008-2012"]="3*1"; -w["2012"]="3*2"; -w["290304000"]="4*2"; -w["2:"]="8*1"; -w["3"]="0*8,3*1,10*5"; -w["3."]="0*6,3*1,10*1"; -w["3.0.0.jar"]="9*2"; -w["3.x"]="0*1"; -w["4"]="0*7,2*1,8*1"; -w["4."]="0*6"; -w["480"]="4*1"; -w["5"]="0*8,1*46,6*1,8*3,9*1,11*48,16*46"; -w["5."]="0*6,11*2"; -w["5.1."]="1*2,11*1"; -w["5.2."]="11*1,16*2"; -w["596"]="0*2"; -w["596:"]="0*2"; -w["6"]="8*4"; -w["6.5"]="8*3"; -w["6.5.5.jar"]="0*1,8*1"; -w["6.5.x"]="8*1"; -w["7"]="0*1"; -w["7200"]="4*2"; -w["76"]="9*3"; -w["77"]="0*2"; -w["8"]="4*1,8*3,9*1,15*1"; -w[":"]="0*2,10*2,15*3"; -w["_stemmer"]="2*1,10*1"; -w["_stemmer.j"]="2*2,10*2"; -w["abandon"]="5*1"; -w["abov"]="3*1"; -w["abstract"]="15*1"; -w["accord"]="6*1"; -w["achiev"]="5*2"; -w["action"]="3*1"; -w["actual"]="2*1"; -w["ad"]="2*1,3*1,6*1,7*2,10*3,13*51,14*46,15*2"; -w["adapt"]="8*1"; -w["add"]="3*1,6*1,8*1,10*14,13*1,14*1,15*1"; -w["adddefaultcharset"]="4*1"; -w["addit"]="0*1,4*1,8*1,14*1"; -w["addoutputfilterbytyp"]="4*9"; -w["admon"]="8*1"; -w["admon.graph"]="8*2"; -w["advertis"]="3*1"; -w["after"]="6*1"; -w["against"]="8*2"; -w["age"]="4*3"; -w["al"]="10*1"; -w["algorithm"]="10*1"; -w["all"]="0*1,2*2,3*2,4*1,5*1,6*1,7*1,8*2,9*2,10*2,12*1,13*1,14*1,15*1"; -w["all."]="10*1"; -w["allow"]="8*1"; -w["alreadi"]="10*1"; -w["also"]="3*1,8*1"; -w["altern"]="6*1"; -w["analyz"]="9*1"; -w["and"]="0*4,2*6,3*12,4*4,5*3,6*6,7*2,8*9,9*4,10*8,12*5,14*5,15*51"; -w["ani"]="3*6,8*1,10*1,15*1"; -w["anim"]="5*1"; -w["animated:"]="5*1"; -w["anoth"]="8*2,10*1"; -w["ant"]="2*3,6*2,8*15,9*14,10*2,13*1"; -w["ant.file.dir"]="8*2"; -w["ant_hom"]="8*1,9*1"; -w["apach"]="3*2,4*41,7*1,8*3,15*1"; -w["apache-ant-1"]="8*2"; -w["apache-ant-1.8.0"]="8*2"; -w["apart"]="0*2"; -w["apis.jar"]="0*2,8*4,9*1"; -w["appear"]="6*2,15*1"; -w["appli"]="5*2"; -w["applic"]="4*5,6*1"; -w["applica"]="4*1"; -w["appropri"]="8*1,15*1"; -w["apps@lists.oasi"]="10*1"; -w["ar"]="3*1"; -w["arbitrari"]="8*1"; -w["argument"]="9*1"; -w["arguments:"]="9*1"; -w["aris"]="3*1"; -w["array"]="2*3,3*1,10*7"; -w["array."]="10*1"; -w["ask"]="0*1"; -w["associ"]="3*1"; -w["assum"]="8*2,10*1"; -w["assumpt"]="2*1"; -w["attribut"]="0*2"; -w["author"]="3*1"; -w["auto"]="6*1"; -w["auto-synchron"]="6*1"; -w["autoidx"]="0*2"; -w["autoidx.xsl"]="0*2"; -w["autoidx.xsl:"]="0*4"; -w["automat"]="9*1"; -w["avail"]="3*1,8*1,9*2,10*3"; -w["away"]="12*1"; -w["back"]="14*1"; -w["backward"]="6*1"; -w["bar."]="15*1"; -w["base"]="0*1,3*52,5*1,6*2,10*5,15*1"; -w["basedir"]="8*1"; -w["basic"]="0*1"; -w["be"]="8*1"; -w["been"]="8*1"; -w["behav"]="12*1"; -w["below"]="8*1"; -w["below."]="8*1,13*1"; -w["better"]="8*1"; -w["between"]="2*1,3*1"; -w["bi"]="2*1"; -w["bi-gram"]="2*1"; -w["bin"]="8*4"; -w["binari"]="8*1"; -w["bit"]="9*1"; -w["bitmap"]="4*1"; -w["bits."]="9*1"; -w["bob"]="4*1,15*1"; -w["bold"]="6*1"; -w["book"]="4*1"; -w["both"]="14*1"; -w["box"]="6*1"; -w["break"]="2*1"; -w["brief"]="6*1,15*1"; -w["brower"]="4*1"; -w["browser"]="0*4,2*2,3*1,4*2,5*2,6*1,7*1,8*2,9*1,10*1,12*1,13*1,14*1,15*1"; -w["browser."]="0*1,2*1,3*1,4*1,5*1,6*1,7*1,8*2,9*1,10*1,12*1,13*1,14*1,15*1"; -w["bsd"]="3*2"; -w["bsd-style"]="3*1"; -w["build"]="0*3,1*1,5*1,6*3,8*13,9*1,10*3,13*1,16*1"; -w["build-index"]="10*1"; -w["build.properti"]="8*1,9*1,10*1,13*1"; -w["build.xml"]="1*1,8*11,16*1"; -w["build.xml."]="8*1"; -w["built"]="5*1"; -w["but"]="3*1,8*1,10*2"; -w["button"]="5*1"; -w["buy"]="1*1,16*1"; -w["c"]="0*2,3*1,8*3"; -w["c:"]="0*4,8*3"; -w["cach"]="4*5"; -w["cache-control"]="4*3"; -w["call"]="2*1,5*1"; -w["can"]="0*6,2*3,5*2,6*5,8*4,9*1,10*3,13*1,15*2"; -w["caus"]="4*3,15*1"; -w["certain"]="4*1"; -w["ch03"]="2*1"; -w["ch03.html"]="2*1"; -w["chang"]="2*1,3*1,4*1,8*1,9*1,10*3,15*3"; -w["chapter"]="2*1,11*4,12*1,15*1"; -w["chapterinfo"]="15*1"; -w["charact"]="4*1"; -w["charg"]="3*1"; -w["check"]="0*1"; -w["checkout"]="2*1"; -w["chines"]="2*1,3*1,6*1,8*1,10*2"; -w["chm"]="6*1"; -w["chrome"]="0*1"; -w["chunk"]="5*2,6*1,15*2"; -w["cjk"]="2*2,10*2"; -w["cjkv"]="7*1,10*1,14*2"; -w["claim"]="3*1"; -w["class"]="9*1,10*1"; -w["classpath"]="0*1,8*5,9*2"; -w["classpath."]="9*1"; -w["click."]="2*1"; -w["client"]="2*2,6*1"; -w["client-sid"]="2*1,6*1"; -w["cn"]="10*2"; -w["co"]="3*1"; -w["code"]="0*1,2*1,3*4,5*1,6*1,10*9,13*6"; -w["code."]="10*1"; -w["code:"]="5*1"; -w["collaps"]="5*1,6*1"; -w["collapsed:"]="5*1"; -w["color"]="6*1,15*1"; -w["come"]="9*1,15*1"; -w["command"]="2*2,8*4,9*1"; -w["command-lin"]="9*1"; -w["command."]="2*1"; -w["comment"]="8*1"; -w["comments."]="8*1"; -w["common"]="2*1,3*1,6*1,15*7"; -w["commons:"]="8*1"; -w["compani"]="5*1"; -w["compar"]="2*1"; -w["compil"]="10*1"; -w["complet"]="4*3,15*1"; -w["compress"]="4*3"; -w["concern"]="9*1"; -w["condit"]="3*1"; -w["conditions:"]="3*1"; -w["conf"]="4*1"; -w["configur"]="4*40,7*1,15*1"; -w["confirm"]="8*3"; -w["confus"]="3*1"; -w["connect"]="3*1"; -w["consid"]="14*1"; -w["contact"]="10*1"; -w["contain"]="2*1,3*1,8*1,9*1,10*1"; -w["content"]="2*4,3*2,5*6,6*5,7*5,9*1,10*2,11*5,12*8"; -w["content."]="2*1,9*1"; -w["content.format"]="2*1"; -w["content:"]="5*1"; -w["contract"]="3*1"; -w["contribut"]="3*1,14*1"; -w["contributor"]="3*1"; -w["control"]="4*3,5*1,13*1,15*1"; -w["control:"]="5*1"; -w["conveni"]="8*2"; -w["cooki"]="3*1,5*1,12*2"; -w["copi"]="3*3,8*3,10*1,13*2"; -w["copyright"]="3*5"; -w["core"]="9*1"; -w["correct"]="0*1,3*1,8*1,10*5"; -w["cosmet"]="3*1"; -w["could"]="4*1,8*1"; -w["cramer"]="3*4"; -w["creat"]="2*1,6*1,8*4"; -w["credit"]="3*1"; -w["csrc"]="8*2"; -w["css"]="4*5,5*3,6*1,15*8"; -w["css-base"]="5*1,6*1"; -w["css-style"]="5*1"; -w["css."]="15*1"; -w["currenc"]="1*2,16*1"; -w["current"]="0*1,10*3,14*1"; -w["currently."]="0*1"; -w["custom"]="5*2,7*1,8*1,15*48"; -w["d"]="0*1,8*1"; -w["damag"]="3*1"; -w["danish"]="14*1"; -w["data"]="2*1"; -w["david"]="3*6"; -w["day"]="1*1,4*1,16*1"; -w["deal"]="3*3"; -w["deep"]="15*1"; -w["default"]="2*1,8*1,9*2,15*1"; -w["default."]="8*1"; -w["defin"]="2*1,8*1"; -w["deflat"]="4*10"; -w["delet"]="8*1"; -w["demo"]="0*4"; -w["deploy"]="0*3"; -w["deriv"]="3*3"; -w["describ"]="7*1"; -w["descript"]="6*1"; -w["description."]="6*1"; -w["design"]="2*1,5*47,12*1"; -w["desir"]="8*2"; -w["desired-output-dir"]="8*1"; -w["detail"]="0*1,2*2,3*1,8*1,9*2"; -w["details."]="0*1,3*1,8*1,9*1"; -w["develop"]="3*1,12*51"; -w["differ"]="3*1,8*1"; -w["dir"]="8*6,13*1"; -w["direct"]="9*1,15*1"; -w["directori"]="2*2,3*1,8*15,9*3,13*4"; -w["directory."]="2*1,8*4,13*1"; -w["disabl"]="0*1,2*1,3*1,4*1,5*1,6*1,7*1,8*2,9*1,10*1,12*1,13*1,14*1,15*1"; -w["display"]="2*1"; -w["distribut"]="3*2,8*2,9*1"; -w["dita"]="0*1,3*3"; -w["dita-us"]="3*1"; -w["dita."]="0*1"; -w["div"]="5*1,12*1,15*2"; -w["divid"]="5*1"; -w["do"]="2*2,3*1,8*2,9*1,14*1"; -w["doc"]="2*1,8*3,12*51,15*7"; -w["docbkx"]="6*1,8*1"; -w["docbo"]="0*2"; -w["docbook"]="0*2,2*2,3*52,4*3,5*3,8*5,9*1,10*8,13*2,15*2"; -w["docbook-apps@list"]="10*1"; -w["docbook-apps@lists.oasis-open.org"]="10*1"; -w["docbook-webhelp"]="8*1,10*7"; -w["docbook-xsl-1"]="0*1"; -w["docbook-xsl-1.77.0"]="0*2"; -w["docbook."]="15*1"; -w["docbook.sourceforge.net"]="9*2"; -w["docs@@@"]="2*1"; -w["docsbook"]="9*1"; -w["docsbook-xsl-1"]="9*1"; -w["docsbook-xsl-1.76.1"]="9*1"; -w["docsr"]="13*6"; -w["docsrc"]="13*1"; -w["document"]="0*2,3*1,4*2,5*1,6*1,8*10,13*4"; -w["document."]="8*2,13*1"; -w["documentation."]="0*1,5*1,6*1"; -w["doe"]="0*2,2*2,4*1,8*1,9*1"; -w["does."]="4*1"; -w["doesn"]="9*1"; -w["don"]="8*1,15*1"; -w["donat"]="3*1"; -w["done"]="0*1,2*1,5*2"; -w["dostem"]="2*1"; -w["dot"]="3*4"; -w["doutput"]="8*1"; -w["down"]="3*1,13*5"; -w["download"]="4*1,8*1,9*1,10*1"; -w["drop"]="2*1"; -w["dtd"]="8*1"; -w["dtd."]="8*1"; -w["dutch"]="14*1"; -w["e"]="8*1,10*1,12*1"; -w["each"]="4*1,6*1"; -w["easi"]="10*1"; -w["easili"]="5*1,10*2"; -w["easily."]="10*1"; -w["eclips"]="6*1"; -w["edit"]="8*1,15*1"; -w["editor"]="3*1,8*1,10*1"; -w["editor."]="3*1"; -w["efault"]="8*1"; -w["element"]="15*1"; -w["element."]="0*2,15*1"; -w["els"]="9*1,10*7"; -w["email"]="10*1"; -w["empti"]="8*1"; -w["enabl"]="0*1,2*1,3*1,4*1,5*1,6*1,7*1,8*2,9*1,10*1,12*1,13*1,14*1,15*1"; -w["enable.stem"]="8*1"; -w["endors"]="9*1"; -w["engin"]="3*1,6*1"; -w["engine."]="6*1"; -w["english"]="2*1,6*1,8*1,10*3,14*1"; -w["englishstemm"]="10*1"; -w["enjoy"]="0*1,2*1,3*1,4*1,5*1,6*1,7*1,8*1,9*1,10*1,12*1,13*1,14*1,15*1"; -w["environ"]="8*4,9*1"; -w["equalsignorecas"]="10*3"; -w["error"]="0*2"; -w["error."]="0*2"; -w["etc"]="2*1,5*1,6*1,8*1"; -w["etc."]="2*1,5*1,6*1,8*3,15*1"; -w["event"]="3*1"; -w["ex"]="2*1"; -w["ex:"]="2*1"; -w["exact"]="10*1,12*1"; -w["exampl"]="3*6,8*5,10*5,13*13,15*1"; -w["example."]="10*1"; -w["example:"]="8*4"; -w["except"]="3*1"; -w["exist"]="2*1,3*1"; -w["exist."]="3*1,8*1"; -w["explain"]="4*1"; -w["expos"]="6*1"; -w["express"]="3*1"; -w["ext"]="10*2"; -w["extend"]="10*2"; -w["extens"]="0*2,2*1,4*1,8*2,9*1,10*1"; - diff --git a/webhelp/docs/content/search/index-2.js b/webhelp/docs/content/search/index-2.js deleted file mode 100644 index c56f9bf..0000000 --- a/webhelp/docs/content/search/index-2.js +++ /dev/null @@ -1,378 +0,0 @@ -//Auto generated index for searching by xsl-webhelpindexer for DocBook Webhelp.# Kasun Gajasinghe, University of Moratuwa -w["extension:"]="4*1"; -w["extent"]="2*1"; -w["f"]="9*1,12*1,14*1"; -w["fair"]="10*1"; -w["fals"]="2*1,8*1"; -w["false."]="2*1"; -w["faq"]="0*51"; -w["featur"]="0*1,2*2,3*1,4*1,5*2,6*7,7*1,8*1,9*1,10*1,12*1,13*1,14*1,15*1"; -w["feature."]="5*1"; -w["feel"]="15*1"; -w["fetch"]="9*1"; -w["few"]="5*1,10*1"; -w["figur"]="3*5,8*3,13*6"; -w["fil"]="2*2"; -w["file"]="0*2,2*10,3*5,4*8,5*1,6*1,8*17,9*1,10*1,13*2,15*4"; -w["file."]="4*1,10*1,15*1"; -w["file:"]="0*4"; -w["fileref"]="13*1"; -w["files."]="4*2,8*1"; -w["files:"]="2*1,15*1"; -w["fileset"]="8*1,13*1"; -w["filesmatch"]="4*6"; -w["find"]="0*4,10*1"; -w["finnish"]="14*1"; -w["firefox"]="0*1"; -w["first"]="2*1,3*1"; -w["fit"]="3*1"; -w["five"]="2*1"; -w["fl"]="2*1"; -w["flv"]="4*2"; -w["folder"]="0*1,2*2,9*1,10*2,15*1"; -w["folder."]="2*1,10*1"; -w["foll"]="0*1"; -w["follos"]="8*1"; -w["follow"]="0*2,2*1,3*2,4*2,5*1,7*1,8*2,9*2,10*1,13*2,14*1,15*1"; -w["foo"]="1*1"; -w["foo."]="16*1"; -w["foobar"]="2*1"; -w["form"]="14*1"; -w["form."]="14*1"; -w["format"]="6*3,13*1"; -w["fortun"]="10*1"; -w["forward"]="6*1"; -w["four"]="0*1"; -w["fr"]="8*1,10*4"; -w["frameset"]="5*1,6*1,12*1,15*1"; -w["frameset."]="6*1,12*2"; -w["free"]="3*1"; -w["french"]="6*1,8*1,10*3"; -w["french."]="2*1"; -w["frenchstemm"]="10*1"; -w["frequent"]="0*1"; -w["full"]="6*1,10*1"; -w["fulli"]="2*1,5*1"; -w["furnish"]="3*1"; -w["further"]="2*1,5*1,15*1"; -w["gajasingh"]="3*4"; -w["general"]="10*1,15*1"; -w["generat"]="0*1,2*1,5*3,6*1,7*1,8*50,10*1"; -w["german"]="2*1,6*1,8*1,10*3"; -w["german."]="6*1,14*1"; -w["germanstemm"]="10*1"; -w["get"]="0*2,2*1,6*1,10*1,15*1"; -w["gif"]="4*2"; -w["given."]="13*1"; -w["gmail"]="3*2"; -w["go"]="9*1"; -w["googl"]="3*1,6*1"; -w["gorithm"]="10*1"; -w["gracious"]="3*1"; -w["gram"]="2*1"; -w["grant"]="3*1"; -w["graphic"]="8*5,13*2"; -w["group"]="6*1"; -w["guid"]="0*1,4*3,15*1"; -w["h"]="8*1"; -w["handl"]="2*2,15*1"; -w["happen"]="0*1,2*1"; -w["hartl"]="3*1"; -w["has"]="0*2,2*2,8*2,13*1"; -w["hat"]="6*1"; -w["have"]="2*1,4*1,8*3,9*5,10*1,15*1"; -w["haven"]="0*1"; -w["having."]="9*1"; -w["head"]="5*1"; -w["header"]="4*3,5*2,15*1"; -w["header:"]="5*1"; -w["height"]="15*1"; -w["help"]="3*51,6*3,9*1,12*1,15*3"; -w["help."]="6*1"; -w["here"]="8*1,9*1,13*1"; -w["here."]="8*2,13*1"; -w["herebi"]="3*1"; -w["higher"]="8*1,9*1"; -w["higher."]="8*2"; -w["highlight"]="6*1"; -w["hour"]="4*1"; -w["howev"]="8*1"; -w["href"]="0*2"; -w["htaccess"]="4*1"; -w["htm"]="4*2,8*1"; -w["html"]="0*3,2*2,4*7,5*1,6*1,8*4,15*1"; -w["htmlfileinfolist"]="2*1"; -w["htmlfileinfolist.j"]="2*1"; -w["htmlfilelist"]="2*1"; -w["htmlfilelist.j"]="2*1"; -w["htmlsearch"]="0*2,3*3"; -w["http"]="9*1"; -w["http:"]="9*2"; -w["httpd"]="4*1"; -w["httpd.conf"]="4*1"; -w["hungarian"]="14*1"; -w["ico"]="4*2"; -w["ide"]="2*1"; -w["idea"]="2*1"; -w["identifi"]="3*1,8*1"; -w["ie"]="0*1"; -w["if"]="0*1,2*2,4*2,6*1,8*9,9*1,10*12,12*2,13*1,15*1"; -w["ignor"]="8*1"; -w["imag"]="3*2,7*1,8*11,13*72"; -w["imagedata"]="13*1"; -w["imageobject"]="13*2"; -w["images."]="3*1,13*5"; -w["implement"]="2*1,6*2,12*2,14*2"; -w["implemented."]="2*1,12*1"; -w["impli"]="3*1"; -w["import"]="6*1,8*84"; -w["imposs"]="6*1"; -w["improv"]="3*2,4*1"; -w["includ"]="0*1,2*3,3*4,5*4,6*2,10*1,14*1,15*1"; -w["index"]="0*5,2*14,3*4,4*2,6*2,7*1,8*5,9*58,10*12,14*1"; -w["index-"]="2*2"; -w["index.html"]="8*2"; -w["indexer-languag"]="8*1"; -w["indexer-language-cod"]="2*2"; -w["indexer."]="0*2,2*1,9*1,10*1"; -w["indexerlanguag"]="10*5"; -w["indexerlanguage.equalsignorecas"]="10*6"; -w["indexermain"]="9*1"; -w["indexertask"]="9*2,10*1"; -w["indexertask.java"]="10*2"; -w["indexing:"]="2*1"; -w["indic"]="8*2"; -w["indicated:"]="8*1"; -w["individu"]="3*2"; -w["inflect"]="11*1,16*46"; -w["inform"]="0*3,4*1,8*2,9*1,15*1"; -w["information."]="0*1"; -w["initi"]="3*1,10*15"; -w["input"]="8*8,13*1,14*1"; -w["input-images-basedir"]="8*1"; -w["input-images-dir"]="8*2,13*1"; -w["input-xml"]="8*3"; -w["input-xml."]="8*1"; -w["insid"]="2*1,15*1"; -w["instal"]="7*1,8*12,9*1"; -w["instruct"]="8*2"; -w["integr"]="6*1,10*1"; -w["intellij"]="2*1"; -w["interest"]="15*1"; -w["internet"]="6*1"; -w["into"]="6*2,15*1"; -w["introduct"]="6*51"; -w["invoc"]="9*1"; -w["invocation."]="9*1"; -w["invok"]="2*1,9*2"; -w["involved."]="2*1"; -w["iphone."]="0*1"; -w["ipod"]="0*1"; -w["ipt"]="14*1"; -w["issu"]="9*1"; -w["it_stemm"]="10*1"; -w["it_stemmer.j"]="10*1"; -w["italian"]="10*5,14*1"; -w["italianstemm"]="10*4"; -w["ja"]="8*4,10*2"; -w["januari"]="3*1"; -w["japan"]="10*1"; -w["japanes"]="2*1,3*1,6*1,8*1,10*1"; -w["jar"]="0*1,2*1,8*9,9*5"; -w["java"]="0*6,8*6,9*1,10*5,14*3"; -w["java."]="10*1"; -w["javascr"]="14*1"; -w["javascrip"]="4*1"; -w["javascript"]="0*3,2*5,3*2,4*8,5*3,6*2,7*2,8*2,9*2,10*6,12*2,13*2,14*5,15*2"; -w["javascript."]="2*1,14*1"; -w["jdk"]="8*1,9*1"; -w["jdk."]="8*1"; -w["jpeg"]="4*2"; -w["jpg"]="4*2,13*11"; -w["jqueri"]="0*2,3*3,5*3,15*7"; -w["jquery-ui"]="5*1"; -w["jquery-ui-1"]="15*1"; -w["jquery-ui-1.8.2.custom.css"]="15*1"; -w["jquery.cookie.j"]="3*1"; -w["jquery.treeview.css"]="15*1"; -w["jqueryui"]="15*1"; -w["jre"]="9*1"; -w["js"]="2*6,3*1,4*2,10*3"; -w["kasun"]="0*6,3*4"; -w["kasunbg"]="3*2"; -w["key"]="1*1,16*1"; -w["kind"]="3*1"; -w["klaus"]="3*1"; -w["ko"]="10*2"; -w["korean"]="2*1,3*1,6*1,10*2"; -w["languag"]="2*5,3*2,6*2,7*1,8*3,9*1,10*20,14*49"; -w["language-cod"]="10*2"; -w["language."]="8*1,9*1,10*2"; -w["languages."]="14*1"; -w["latest"]="9*1"; -w["layer"]="8*1"; -w["layout"]="6*1"; -w["left"]="5*1,12*1,15*1"; -w["leftnavig"]="15*1"; -w["level"]="8*1"; -w["li"]="5*1"; -w["liabil"]="3*1"; -w["liabl"]="3*1"; -w["lib"]="9*1"; -w["librari"]="2*1"; -w["library."]="2*1"; -w["licens"]="3*4"; -w["license."]="3*5"; -w["license.txt"]="3*1"; -w["like"]="2*1,6*1,10*1"; -w["limit"]="3*2"; -w["line"]="0*2,4*2,8*2,9*1,10*1"; -w["line."]="8*1"; -w["link"]="6*2,15*2"; -w["linux"]="9*1"; -w["list"]="3*10,5*2,8*1,10*3,13*1"; -w["ll"]="9*1,10*1"; -w["ll."]="9*1"; -w["load"]="5*1,12*1"; -w["local"]="8*1"; -w["locat"]="2*1,8*5,10*1"; -w["location."]="10*1"; -w["log"]="6*1"; -w["logo"]="5*1"; -w["long"]="4*1"; -w["look"]="2*1,5*1,15*1"; -w["ltd"]="3*1"; -w["ltd."]="3*1"; -w["lucen"]="3*1,6*1,9*2"; -w["lucene-analyzers-3"]="9*1"; -w["lucene-analyzers-3.0.0.jar"]="9*1"; -w["lucene-core-3"]="9*1"; -w["lucene-core-3.0.0.jar"]="9*1"; -w["m"]="0*2"; -w["made"]="5*1"; -w["mail"]="10*1"; -w["main"]="2*1,5*1,9*1"; -w["maintain"]="3*1"; -w["make"]="4*1,8*1,10*1"; -w["manag"]="8*1"; -w["mani"]="6*1"; -w["martin"]="14*1"; -w["match"]="2*1"; -w["matrix"]="0*1"; -w["maven"]="6*1,8*1"; -w["max"]="4*3"; -w["max-ag"]="4*3"; -w["may"]="8*1,9*1"; -w["mechan"]="2*2,14*2"; -w["mechanism."]="2*1"; -w["mediaobject"]="13*2"; -w["medium"]="5*1"; -w["merchant"]="3*1"; -w["merg"]="3*1"; -w["messag"]="8*1"; -w["meta"]="2*1"; -w["method"]="2*1"; -w["microsoft"]="6*1"; -w["miss"]="8*1"; -w["mit"]="3*2"; -w["model"]="6*1"; -w["modifi"]="3*1,8*2"; -w["more"]="0*3,4*1"; -w["most"]="0*2"; -w["move"]="2*1"; -w["multipl"]="15*1"; -w["must"]="4*2,8*3,9*1,12*1"; -w["must-revalid"]="4*2"; -w["mutandi"]="8*3"; -w["mutati"]="8*3"; -w["my"]="2*1"; -w["n"]="3*1"; -w["n."]="3*1"; -w["name"]="2*4,3*2,8*7,10*3,15*1"; -w["navig"]="5*4,12*1,15*1"; -w["navigation:"]="5*2"; -w["ncomment"]="8*1"; -w["necessari"]="8*2"; -w["necessary."]="15*1"; -w["need"]="0*3,2*1,8*3,9*3,10*3,13*1,14*1,15*2"; -w["need:"]="10*1"; -w["net"]="3*2,9*1"; -w["netbean"]="2*1"; -w["new"]="2*2,3*1,8*1,10*56,12*2,15*1"; -w["newli"]="8*1"; -w["next"]="5*1"; -w["nexwav"]="9*2,10*8"; -w["nice"]="5*1,6*1"; -w["no"]="2*1,3*2,15*1"; -w["non"]="7*1,8*1,10*1,14*46"; -w["non-cjkv"]="7*1,10*1,14*46"; -w["non-n"]="8*1"; -w["noninfring"]="3*1"; -w["noninfringement."]="3*1"; -w["norwegian"]="14*1"; -w["not"]="2*1,3*2,6*2,8*10"; -w["note"]="3*1,4*1,8*162,9*40,10*40,13*5"; -w["noth"]="15*1"; -w["notic"]="3*3"; -w["now"]="2*1,10*3"; -w["nquindex"]="9*2,10*6"; -w["ns"]="8*1"; -w["nuclei"]="16*1"; -w["nucleus"]="1*1"; -w["null"]="10*1"; -w["number"]="10*1"; -w["nwsearchfnt"]="2*2"; -w["nwsearchfnt.j"]="2*2"; -w["o"]="2*1,12*1"; -w["oasis-open"]="10*1"; -w["object"]="10*4"; -w["object."]="10*3"; -w["obtain"]="3*1"; -w["odd"]="4*1"; -w["ok"]="0*1"; -w["ok-xsl-1"]="0*1"; -w["ok-xsl-1.77.0"]="0*2"; -w["onc"]="8*1"; -w["one"]="2*1,10*1,15*1"; -w["onli"]="8*2,10*3,14*1"; -w["only."]="10*2"; -w["open"]="2*1,8*1,10*2"; -w["open.org"]="10*1"; -w["openstack"]="3*1"; -w["oper"]="0*2"; -w["option"]="9*1"; -w["org"]="10*1"; -w["organ"]="5*1"; -w["origin"]="3*1"; -w["other"]="0*2,3*6,6*1,7*1,8*3,10*2,14*46"; -w["others:"]="3*1"; -w["otherwis"]="3*2"; -w["ouput"]="8*1"; -w["out"]="3*1,6*1"; -w["output"]="0*3,2*1,4*1,5*1,6*2,7*2,8*57,10*1,13*2,15*47"; -w["output-dir"]="8*2"; -w["output."]="6*1,8*1"; -w["outsid"]="0*2"; -w["over"]="13*1"; -w["overal"]="5*1"; -w["overview"]="2*2,5*1,6*1,12*1"; -w["owe"]="0*1"; -w["own"]="2*1,6*3,8*3"; -w["oxygen"]="3*1"; -w["packag"]="3*3,7*52,8*8,10*1"; -w["package."]="6*1,8*1,10*1"; -w["page"]="3*1,5*5,6*2,12*4,15*1"; -w["page."]="12*1,15*1"; -w["pane"]="5*1,6*4,12*2"; -w["para"]="15*1"; -w["paramet"]="8*3,9*1"; -w["parameters."]="8*2"; -w["parent"]="5*1"; -w["part"]="2*1,3*1,5*1,9*1,15*1"; -w["particul"]="3*1"; -w["parts."]="2*1"; -w["pass"]="8*2"; -w["path"]="0*1,3*1,8*10,13*5"; -w["path-"]="8*4"; -w["paths."]="0*1"; - diff --git a/webhelp/docs/content/search/index-3.js b/webhelp/docs/content/search/index-3.js deleted file mode 100644 index 3872f38..0000000 --- a/webhelp/docs/content/search/index-3.js +++ /dev/null @@ -1,376 +0,0 @@ -//Auto generated index for searching by xsl-webhelpindexer for DocBook Webhelp.# Kasun Gajasinghe, University of Moratuwa -w["pattern"]="8*1,13*2"; -w["patterns."]="8*1,13*1"; -w["pdf"]="4*2"; -w["peopl"]="9*1"; -w["perform"]="4*1,15*1"; -w["performance."]="4*1"; -w["permiss"]="3*2"; -w["permit"]="3*1"; -w["persist"]="5*1"; -w["persist:"]="5*1"; -w["person"]="3*2"; -w["phrase"]="15*1"; -w["pie"]="3*1"; -w["place"]="6*1"; -w["plain"]="4*1"; -w["pleas"]="0*1,2*1,3*1,4*1,5*1,6*1,7*1,8*1,9*1,10*1,12*1,13*1,14*2,15*1"; -w["plugin"]="0*2,3*2,5*2,6*1,8*1"; -w["plugin."]="3*1"; -w["png"]="4*2"; -w["point"]="8*2,15*1"; -w["popul"]="15*1"; -w["popular"]="10*1"; -w["porter"]="14*1"; -w["portion"]="3*1"; -w["portugues"]="14*1"; -w["posit"]="5*1,15*4"; -w["positioning.css"]="5*1,15*1"; -w["positions."]="15*1"; -w["possibl"]="3*1"; -w["pretti"]="9*1"; -w["prev"]="5*1"; -w["prior"]="3*1,9*1"; -w["privat"]="10*2"; -w["probabl"]="9*1"; -w["problem"]="8*1"; -w["problemat"]="1*46,11*2,16*46"; -w["procedur"]="8*3,13*1"; -w["process"]="2*2,5*1,8*3,9*2"; -w["processor"]="0*1,8*2"; -w["processors."]="8*1"; -w["produc"]="6*1"; -w["product"]="0*3"; -w["program"]="8*6"; -w["project"]="2*1,3*2,8*2,14*2"; -w["project."]="3*1"; -w["promot"]="3*1"; -w["prompt"]="8*2"; -w["prompt:"]="8*2"; -w["properti"]="8*5,10*2,13*1"; -w["provid"]="0*1,2*1,3*4,6*1,8*1,12*1"; -w["public"]="3*1,4*2,6*1"; -w["publish"]="3*2"; -w["punctuat"]="2*1,8*1"; -w["purpos"]="3*1"; -w["put"]="8*1,9*1,13*1"; -w["quain"]="3*1"; -w["queri"]="2*7,6*1,8*1"; -w["querying:"]="2*1"; -w["question"]="0*1,3*1,10*1"; -w["question."]="3*1"; -w["r"]="6*1,8*1"; -w["rate"]="6*1"; -w["read"]="12*1"; -w["readm"]="3*51,8*1"; -w["readme.xml"]="8*1"; -w["readme:"]="3*51"; -w["reason"]="0*2"; -w["recommend"]="4*41,7*1,15*1"; -w["recompil"]="2*1"; -w["redmond"]="15*2"; -w["refer"]="8*2,13*1"; -w["relat"]="3*1,8*1,13*5,15*1"; -w["releas"]="3*3"; -w["remov"]="9*1"; -w["render"]="12*1"; -w["replac"]="15*1"; -w["requir"]="6*2,14*1"; -w["resid"]="2*1,9*1"; -w["resourc"]="4*1"; -w["restor"]="12*1"; -w["restrict"]="3*1"; -w["result"]="2*2,3*1,6*5,12*2,15*1"; -w["result."]="6*1"; -w["results."]="2*1,6*1"; -w["return"]="2*1"; -w["revalid"]="4*2"; -w["right"]="15*1"; -w["role"]="15*1"; -w["romanian"]="14*1"; -w["root"]="2*1,10*1"; -w["rss"]="4*1"; -w["run"]="2*2,8*2,9*2,10*2"; -w["russian"]="14*1"; -w["s"]="0*2,2*2,3*1,4*1,8*1,9*3,10*2,14*2,15*1"; -w["safari"]="0*1"; -w["safe"]="8*1"; -w["sale"]="3*1"; -w["same"]="8*2"; -w["sampl"]="3*1,13*21"; -w["sample.jpg"]="13*10"; -w["save"]="12*1"; -w["saxhtmlindex"]="10*1"; -w["saxhtmlindex.java"]="10*2"; -w["saxon"]="0*1,8*7"; -w["saxon-6"]="0*1"; -w["saxon-6.5.5.jar"]="0*1,8*1"; -w["saxon.jar"]="8*1"; -w["say"]="1*1,16*1"; -w["score"]="2*1,6*2"; -w["script"]="6*3,8*1,9*1"; -w["script."]="9*1"; -w["search"]="1*46,2*51,3*3,4*2,5*4,6*13,7*1,8*3,9*46,10*3,11*2,12*4,14*3,15*1,16*46"; -w["search-result."]="6*1"; -w["search."]="6*2,12*1"; -w["searching."]="2*1"; -w["section"]="5*1,7*1,11*46,13*1,15*1"; -w["sectioninfo"]="15*1"; -w["see"]="0*1,3*1,4*1,8*6,9*1,10*2,13*1,15*1"; -w["see."]="5*1"; -w["seem"]="9*1"; -w["self"]="10*1"; -w["sell"]="3*1"; -w["separ"]="5*1"; -w["serch"]="2*1"; -w["serv"]="4*1"; -w["server"]="2*1,4*2"; -w["servic"]="6*1"; -w["set"]="0*1,4*4,8*5,9*1,15*1"; -w["setoutputfilt"]="4*1"; -w["setting."]="4*1"; -w["shall"]="3*3"; -w["share"]="0*6,8*5,9*1"; -w["should"]="2*1,8*2,9*1"; -w["show"]="6*2,13*1"; -w["shown"]="6*1,13*1"; -w["side"]="2*2,6*1"; -w["side."]="2*1"; -w["sidetreecontrol"]="5*1"; -w["similar"]="6*1"; -w["simpl"]="10*1,13*1"; -w["simple."]="10*1"; -w["simpli"]="2*2,8*1,15*1"; -w["simplifi"]="2*1"; -w["sinc"]="2*1,4*1"; -w["site."]="0*1,2*1,3*1,4*1,5*1,6*1,7*1,8*1,9*1,10*1,12*1,13*1,14*1,15*1"; -w["sky"]="1*1,16*1"; -w["small"]="6*3"; -w["smooth"]="9*1"; -w["snapshot"]="9*4"; -w["snowbal"]="3*1,10*6"; -w["snowballstemm"]="10*2"; -w["so"]="0*1,2*1,3*2,8*1,9*1,15*2"; -w["soft"]="3*1"; -w["softwar"]="3*15"; -w["software."]="3*2"; -w["some"]="1*92,2*1,3*2,8*1,9*2,11*2,16*92"; -w["sophist"]="6*1"; -w["sourc"]="2*2,8*1,13*2"; -w["source."]="2*1"; -w["sourceforg"]="9*1"; -w["sources."]="2*1"; -w["space"]="2*1"; -w["spanish"]="14*1"; -w["specifi"]="3*1,8*1,10*5"; -w["src"]="10*8"; -w["stale"]="4*1"; -w["start"]="8*1"; -w["state"]="12*2"; -w["stayton"]="4*1,15*1"; -w["stem"]="2*6,6*2,8*2,14*3"; -w["stemmer"]="2*3,3*2,8*1,10*74,12*1,14*3"; -w["stemmer."]="6*1,10*1"; -w["stemming."]="2*1"; -w["step"]="0*1,8*1"; -w["steps."]="10*1"; -w["store"]="2*2,4*1,8*2"; -w["string"]="3*1,10*3"; -w["structur"]="5*4"; -w["structure."]="5*2"; -w["studi"]="15*1"; -w["stuff"]="15*1"; -w["stuff."]="15*1"; -w["style"]="3*1,5*4,15*1"; -w["stylesheet"]="3*1,8*1"; -w["stylesheet-path"]="8*1"; -w["styling."]="5*1"; -w["subdirectori"]="13*1"; -w["subject"]="3*1"; -w["sublicens"]="3*1"; -w["substanti"]="3*1"; -w["such"]="2*1,4*1,10*1"; -w["summari"]="2*1,15*2"; -w["summaries."]="15*1"; -w["summer"]="3*1"; -w["support"]="0*2,2*3,3*1,6*3,7*1,10*3,14*49"; -w["supportedlanguag"]="3*1,10*8"; -w["suppress.footer.navig"]="8*1"; -w["sure"]="10*1"; -w["svn"]="2*1"; -w["swedish"]="14*1"; -w["swf"]="4*2"; -w["synchron"]="6*1"; -w["syncro"]="3*1"; -w["system"]="0*2,6*1,8*3,12*1,15*1"; -w["system."]="6*1,8*2"; -w["system:"]="8*1"; -w["t"]="0*2,2*1,4*1,6*1,8*1,9*1,15*1"; -w["tab"]="5*7"; -w["tab."]="5*2,8*1"; -w["tab:"]="5*1"; -w["tabl"]="5*3,6*2,7*5,12*8"; -w["tabs."]="5*1"; -w["tag"]="5*2"; -w["target"]="6*1"; -w["target."]="6*1"; -w["task"]="9*1,14*1"; -w["technic"]="6*1"; -w["tell"]="8*1"; -w["templat"]="3*2,6*1,10*2"; -w["template."]="14*1"; -w["term"]="6*2"; -w["test"]="0*3,8*5,11*92"; -w["test-ouput"]="8*1"; -w["test-output"]="8*3"; -w["text"]="2*1,4*5,8*1,10*1"; -w["them"]="4*1,9*1"; -w["them."]="2*1"; -w["theme"]="15*7"; -w["theme-redmond"]="15*3"; -w["then"]="2*1,6*1,10*6,13*1,15*1"; -w["there"]="0*1,2*1,10*1"; -w["therefor"]="14*1"; -w["these"]="2*1,4*2,9*3,12*1,14*1,15*1"; -w["they"]="8*1,12*1"; -w["thing"]="4*1"; -w["thingbag"]="3*2"; -w["those"]="4*1,13*1"; -w["though"]="8*1"; -w["three"]="2*2,5*1,9*1"; -w["time"]="6*1"; -w["tion"]="4*1"; -w["tip"]="8*41,15*40"; -w["titl"]="2*1,5*1,13*2"; -w["tml"]="8*1"; -w["tml.extens"]="8*1"; -w["toc"]="5*2,6*4,15*1"; -w["toc."]="6*1"; -w["todo"]="4*1"; -w["todo:"]="4*1"; -w["token"]="2*2,3*1"; -w["too"]="2*1"; -w["tool"]="8*1"; -w["tools.jar"]="8*1"; -w["top"]="6*1,8*1,15*1"; -w["top-level"]="8*1"; -w["topic"]="15*1"; -w["topic."]="5*1"; -w["tort"]="3*1"; -w["total"]="2*1"; -w["transform"]="0*3"; -w["travers"]="2*1"; -w["tree"]="5*6,6*1,12*1,13*2,15*1"; -w["tree."]="6*1,15*1"; -w["tree:"]="5*1,13*1"; -w["treeview"]="5*2,15*3"; -w["tri"]="1*1,8*1,16*1"; -w["tru"]="8*1"; -w["true"]="5*1,8*3"; -w["trunk"]="2*3"; -w["turkish"]="14*1"; -w["two"]="2*1,5*1,9*2,10*2,15*1"; -w["txt"]="3*1,4*2"; -w["type"]="4*1,8*4"; -w["u"]="5*1,8*1"; -w["ui"]="5*1,15*1"; -w["ul"]="5*1"; -w["unchang"]="15*1"; -w["unchanged."]="15*1"; -w["uncompress"]="4*1"; -w["under"]="3*5,9*1"; -w["understandable."]="10*1"; -w["undertak"]="14*1"; -w["unnecessari"]="2*1"; -w["unord"]="5*1"; -w["unzip"]="8*2"; -w["up"]="1*1,2*2,4*1,5*1,8*1,9*1,10*1,13*1,14*1,15*1,16*1"; -w["updat"]="4*1"; -w["us"]="10*1"; -w["use"]="2*2,3*5,5*2,6*7,7*53,8*8,10*1,13*5,14*2,15*48"; -w["used."]="2*1"; -w["user"]="0*6,2*2,3*1,4*1,6*1,8*1,14*1"; -w["usr"]="0*6,8*5,9*1"; -w["utf"]="4*1"; -w["utf-8"]="4*1"; -w["va"]="8*3"; -w["valid"]="8*2"; -w["validate-against-dtd"]="8*1"; -w["valu"]="8*4"; -w["var"]="2*1"; -w["vari"]="1*1,16*1"; -w["variabl"]="8*3,9*1"; -w["variable."]="9*1"; -w["variables."]="8*1"; -w["various"]="4*1"; -w["veri"]="10*1"; -w["verison"]="14*1"; -w["version"]="0*1,3*1,8*3,9*4,10*2,14*2"; -w["versions."]="9*1"; -w["w"]="2*1"; -w["wan"]="0*1"; -w["warn"]="0*2"; -w["warranti"]="3*7"; -w["warranty:"]="3*1"; -w["way"]="9*1,15*1"; -w["ways:"]="15*1"; -w["we"]="0*1,2*1,4*1,5*2,9*3"; -w["web"]="3*51,4*1,6*2,9*1"; -w["web-bas"]="3*51,6*1"; -w["webhelp"]="0*15,2*2,3*2,5*2,7*1,8*55,9*8,10*10,12*1,13*7"; -w["webhelp-index"]="0*2"; -w["webhelp-indexer."]="0*2"; -w["webhelp."]="8*1,10*2,13*1"; -w["webhelp.include.search.tab"]="8*1"; -w["webhelp.indexer.languag"]="3*1,8*1,10*2"; -w["webhelp.xsl"]="8*3"; -w["webhelpindex"]="2*3,9*1"; -w["webhelpindexer.jar"]="2*1,9*1"; -w["week"]="4*1"; -w["weight"]="3*1,6*1"; -w["well"]="0*3,9*1"; -w["well."]="9*1"; -w["were"]="3*1,9*1,12*2"; -w["whether"]="2*1,3*1"; -w["which"]="2*1,5*1,8*2,9*1,15*2"; -w["whom"]="3*1"; -w["width"]="15*1"; -w["wiki"]="0*1"; -w["window"]="7*1,8*7"; -w["windows."]="7*1"; -w["without"]="3*4,6*1"; -w["word"]="1*46,2*8,6*1,11*2,16*46"; -w["work"]="8*2"; -w["would"]="2*1"; -w["write"]="10*1"; -w["written"]="3*2,8*1,10*1"; -w["written."]="8*1"; -w["x"]="0*1,4*1,8*1"; -w["x-javascript"]="4*1"; -w["xerc"]="8*1"; -w["xercesimpl"]="8*2,9*1"; -w["xercesimpl.jar"]="0*2,8*4,9*1"; -w["xhtml"]="0*9,4*1,8*1"; -w["xhtml."]="0*1"; -w["xml"]="0*2,1*1,3*52,4*7,8*19,9*1,16*1"; -w["xml-api"]="8*2,9*1"; -w["xml-apis.jar"]="0*2,8*4,9*1"; -w["xml-common"]="8*1"; -w["xml-commons:"]="8*1"; -w["xml."]="8*1"; -w["xml:"]="4*1"; -w["xp"]="8*1"; -w["xsl"]="0*2,2*2,4*3,5*1,8*3,9*2,15*2"; -w["xsl-webhelpindex"]="2*1"; -w["xsl:"]="0*2,4*3,15*1"; -w["xsls"]="8*1"; -w["xslt"]="0*3,8*3"; -w["xslt-processor-classpath"]="0*2,8*2"; -w["yahoogroup"]="3*1"; -w["yahoogroup."]="3*1"; -w["yes"]="0*1"; -w["you"]="0*3,2*3,4*3,5*1,6*5,8*16,9*4,10*7,12*2,13*1,14*2,15*4"; -w["your"]="0*1,2*2,3*1,4*4,5*1,6*3,7*1,8*19,9*1,10*7,12*1,13*4,14*1,15*2"; -w["yourfil"]="8*1"; -w["yourfile.xml"]="8*2"; - diff --git a/webhelp/docs/content/search/l10n.js b/webhelp/docs/content/search/l10n.js deleted file mode 100644 index f25bb8f..0000000 --- a/webhelp/docs/content/search/l10n.js +++ /dev/null @@ -1,5 +0,0 @@ - - //Resource strings for localization - var localeresource = new Object; - localeresource["search_no_results"]="Your search returned no results."; -
\ No newline at end of file diff --git a/webhelp/docs/content/search/nwSearchFnt.js b/webhelp/docs/content/search/nwSearchFnt.js deleted file mode 100644 index 45b7c28..0000000 --- a/webhelp/docs/content/search/nwSearchFnt.js +++ /dev/null @@ -1,881 +0,0 @@ -/*----------------------------------------------------------------------------
- * JavaScript for webhelp search
- *----------------------------------------------------------------------------
- This file is part of the webhelpsearch plugin for DocBook WebHelp
- Copyright (c) 2007-2008 NexWave Solutions All Rights Reserved.
- www.nexwave.biz Nadege Quaine
- http://kasunbg.blogspot.com/ Kasun Gajasinghe
- */
-
-//string initialization
-var htmlfileList = "htmlFileInfoList.js";
-var htmlfileinfoList = "htmlFileInfoList.js";
-var useCJKTokenizing = false;
-
-var w = new Object();
-var scoring = new Object();
-
-var searchTextField = '';
-var no = 0;
-var noWords = 0;
-var partialSearch = "<font class=\"highlightText\">There is no page containing all the search terms.<br>Partial results:</font>";
-var warningMsg = '<div style="padding: 5px;margin-right:5px;;background-color:#FFFF00;">';
-warningMsg+='<b>Please note that due to security settings, Google Chrome does not highlight';
-warningMsg+=' the search results in the right frame.</b><br>';
-warningMsg+='This happens only when the WebHelp files are loaded from the local file system.<br>';
-warningMsg+='Workarounds:';
-warningMsg+='<ul>';
-warningMsg+='<li>Try using another web browser.</li>';
-warningMsg+='<li>Deploy the WebHelp files on a web server.</li>';
-warningMsg+='</div>';
-txt_filesfound = 'Results';
-txt_enter_at_least_1_char = "You must enter at least one character.";
-txt_enter_more_than_10_words = "Only first 10 words will be processed.";
-txt_browser_not_supported = "Your browser is not supported. Use of Mozilla Firefox is recommended.";
-txt_please_wait = "Please wait. Search in progress...";
-txt_results_for = "Results for: ";
-
-/* This function verify the validity of search input by the user
- Cette fonction verifie la validite de la recherche entrre par l utilisateur */
-function Verifie(searchForm) {
-
- // Check browser compatibility
- if (navigator.userAgent.indexOf("Konquerer") > -1) {
-
- alert(txt_browser_not_supported);
- return;
- }
-
- searchTextField = trim(document.searchForm.textToSearch.value);
- searchTextField = searchTextField.replace(/['"]/g,'');
- var expressionInput = searchTextField;
- $.cookie('textToSearch', expressionInput);
-
- if (expressionInput.length < 1) {
-
- // expression is invalid
- alert(txt_enter_at_least_1_char);
- // reactive la fenetre de search (utile car cadres)
-
- document.searchForm.textToSearch.focus();
- }
- else {
- var splitSpace = searchTextField.split(" ");
- var splitWords = [];
- for (var i = 0 ; i < splitSpace.length ; i++) {
- var splitDot = splitSpace[i].split(".");
- for (var i1 = 0; i1 < splitDot.length; i1++) {
- var splitColon = splitDot[i1].split(":");
- for (var i2 = 0; i2 < splitColon.length; i2++) {
- var splitDash = splitColon[i2].split("-");
- for (var i3 = 0; i3 < splitDash.length; i3++) {
- if (splitDash[i3].split("").length > 0) {
- splitWords.push(splitDash[i3]);
- }
- }
- }
- }
- }
- noWords = splitWords;
- if (noWords.length > 9){
- // Allow to search maximum 10 words
- alert(txt_enter_more_than_10_words);
- expressionInput = '';
- for (var x = 0 ; x < 10 ; x++){
- expressionInput = expressionInput + " " + noWords[x];
- }
- Effectuer_recherche(expressionInput);
- document.searchForm.textToSearch.focus();
- } else {
- // Effectuer la recherche
- expressionInput = '';
- for (var x = 0 ; x < noWords.length ; x++) {
- expressionInput = expressionInput + " " + noWords[x];
- }
- Effectuer_recherche(expressionInput);
- // reactive la fenetre de search (utile car cadres)
- document.searchForm.textToSearch.focus();
- }
- }
-}
-
-var stemQueryMap = new Array(); // A hashtable which maps stems to query words
-
-/* This function parses the search expression, loads the indices and displays the results*/
-function Effectuer_recherche(expressionInput) {
-
- /* Display a waiting message */
- //DisplayWaitingMessage();
-
- /*data initialisation*/
- var searchFor = ""; // expression en lowercase et sans les caracte res speciaux
- //w = new Object(); // hashtable, key=word, value = list of the index of the html files
- scriptLetterTab = new Scriptfirstchar(); // Array containing the first letter of each word to look for
- var wordsList = new Array(); // Array with the words to look for
- var finalWordsList = new Array(); // Array with the words to look for after removing spaces
- var linkTab = new Array();
- var fileAndWordList = new Array();
- var txt_wordsnotfound = "";
-
-
- // --------------------------------------
- // Begin Thu's patch
- /*nqu: expressionInput, la recherche est lower cased, plus remplacement des char speciaux*/
- //The original replacement expression is:
- //searchFor = expressionInput.toLowerCase().replace(/<\//g, "_st_").replace(/\$_/g, "_di_").replace(/\.|%2C|%3B|%21|%3A|@|\/|\*/g, " ").replace(/(%20)+/g, " ").replace(/_st_/g, "</").replace(/_di_/g, "%24_");
- //The above expression was error prone because it did not deal with words that have a . as part of the word correctly, for example, document.txt
-
- //Do not automatically replace a . with a space
- searchFor = expressionInput.toLowerCase().replace(/<\//g, "_st_").replace(/\$_/g, "_di_").replace(/%2C|%3B|%21|%3A|@|\/|\*/g, " ").replace(/(%20)+/g, " ").replace(/_st_/g, "</").replace(/_di_/g, "%24_");
-
- //If it ends with a period, replace it with a space
- searchFor = searchFor.replace(/[.]$/,"");
- // End Thu's Patch
- // ------------------------------------------
-
- searchFor = searchFor.replace(/ +/g, " ");
- searchFor = searchFor.replace(/ $/, "").replace(/^ /, "");
-
- wordsList = searchFor.split(" ");
- wordsList.sort();
-
- //set the tokenizing method
- useCJKTokenizing = typeof indexerLanguage != "undefined" && (indexerLanguage == "zh" || indexerLanguage == "ja" || indexerLanguage == "ko");
- //If Lucene CJKTokenizer was used as the indexer, then useCJKTokenizing will be true. Else, do normal tokenizing.
- // 2-gram tokenizinghappens in CJKTokenizing,
- //If doStem then make tokenize with Stemmer
- var finalArray;
- if (doStem){
- if(useCJKTokenizing){
- finalWordsList = cjkTokenize(wordsList);
- finalArray = finalWordsList;
- } else {
- finalWordsList = tokenize(wordsList);
- finalArray = finalWordsList;
- }
- } else if(useCJKTokenizing){
- finalWordsList = cjkTokenize(wordsList);
- finalArray = finalWordsList;
- } else{
-
- //load the scripts with the indices: the following lines do not work on the server. To be corrected
- /*if (IEBrowser) {
- scriptsarray = loadTheIndexScripts (scriptLetterTab);
- } */
-
- /**
- * Compare with the indexed words (in the w[] array), and push words that are in it to tempTab.
- */
- var tempTab = new Array();
-
- // ---------------------------------------
- // Thu's patch
- //Do not use associative array in for loop, for example:
- //for(var t in finalWordsList)
- //it causes errors when finalWordList contains
- //stemmed words such as: kei from the stemmed word: key
- for(var t=0;t<finalWordsList.length;++t){
- var aWord=finalWordsList[t];
- //w is a Map like Object, use the current word in finalWordList as the key
- if(w[aWord] == undefined){
- txt_wordsnotfound += aWord + " ";
- }
- else{
- tempTab.push(aWord);
- }
- }
- finalWordsList = tempTab;
- //Check all the inputs to see if the root words are in the finalWordsList, if not add them there
- var inputs = expressionInput.split(' ');
- // Thu's Patch
- // -------------------------------------------
-
-
- txt_wordsnotfound = expressionInput;
- finalWordsList = removeDuplicate(finalWordsList);
-
- }
- if (finalWordsList.length) {
- //search 'and' and 'or' one time
- fileAndWordList = SortResults(finalWordsList);
-
- if (fileAndWordList == undefined){
- var cpt = 0;
- } else {
- var cpt = fileAndWordList.length;
- var maxNumberOfWords = fileAndWordList[0][0].motsnb;
- }
- if (cpt > 0){
- var searchedWords = noWords.length;
- var foundedWords = fileAndWordList[0][0].motslisteDisplay.split(",").length;
- //console.info("search : " + noWords.length + " found : " + fileAndWordList[0][0].motslisteDisplay.split(",").length);
- if (searchedWords != foundedWords){
- linkTab.push(partialSearch);
- }
- }
-
-
- for (var i = 0; i < cpt; i++) {
-
- var hundredProcent = fileAndWordList[i][0].scoring + 100 * fileAndWordList[i][0].motsnb;
- var ttScore_first = fileAndWordList[i][0].scoring;
- var numberOfWords = fileAndWordList[i][0].motsnb;
-
- if (fileAndWordList[i] != undefined) {
- linkTab.push("<p>" + txt_results_for + " " + "<span class=\"searchExpression\">" + fileAndWordList[i][0].motslisteDisplay + "</span>" + "</p>");
-
- linkTab.push("<ul class='searchresult'>");
- for (t in fileAndWordList[i]) {
- //linkTab.push("<li><a href=\"../"+fl[fileAndWordList[i][t].filenb]+"\">"+fl[fileAndWordList[i][t].filenb]+"</a></li>");
-
- var ttInfo = fileAndWordList[i][t].filenb;
- // Get scoring
- var ttScore = fileAndWordList[i][t].scoring;
- var tempInfo = fil[ttInfo];
-
- var pos1 = tempInfo.indexOf("@@@");
- var pos2 = tempInfo.lastIndexOf("@@@");
- var tempPath = tempInfo.substring(0, pos1);
- var tempTitle = tempInfo.substring(pos1 + 3, pos2);
- var tempShortdesc = tempInfo.substring(pos2 + 3, tempInfo.length);
-
-
- // toc.html will not be displayed on search result
- if (tempPath == 'toc.html'){
- continue;
- }
- /*
- //file:///home/kasun/docbook/WEBHELP/webhelp-draft-output-format-idea/src/main/resources/web/webhelp/installation.html
- var linkString = "<li><a href=" + tempPath + ">" + tempTitle + "</a>";
- // var linkString = "<li><a href=\"installation.html\">" + tempTitle + "</a>";
- */
- var split = fileAndWordList[i][t].motsliste.split(",");
- // var splitedValues = expressionInput.split(" ");
- // var finalArray = split.concat(splitedValues);
-
- arrayString = 'Array(';
- for(var x in finalArray){
- if (finalArray[x].length > 2 || useCJKTokenizing){
- arrayString+= "'" + finalArray[x] + "',";
- }
- }
- arrayString = arrayString.substring(0,arrayString.length - 1) + ")";
- var idLink = 'foundLink' + no;
- var linkString = '<li><a id="' + idLink + '" href="' + tempPath + '" class="foundResult">' + tempTitle + '</a>';
- var starWidth = (ttScore * 100/ hundredProcent)/(ttScore_first/hundredProcent) * (numberOfWords/maxNumberOfWords);
- starWidth = starWidth < 10 ? (starWidth + 5) : starWidth;
- // Keep the 5 stars format
- if (starWidth > 85){
- starWidth = 85;
- }
- /*
- var noFullStars = Math.ceil(starWidth/17);
- var fullStar = "curr";
- var emptyStar = "";
- if (starWidth % 17 == 0){
- // am stea plina
-
- } else {
-
- }
- console.info(noFullStars);
- */
- // Also check if we have a valid description
- if ((tempShortdesc != "null" && tempShortdesc != '...')) {
-
- linkString += "\n<div class=\"shortdesclink\">" + tempShortdesc + "</div>";
- }
- linkString += "</li>";
-
- // Add rating values for scoring at the list of matches
- linkString += "<div id=\"rightDiv\">";
- linkString += "<div id=\"star\">";
- //linkString += "<div style=\"color: rgb(136, 136, 136);\" id=\"starUser0\" class=\"user\">"
- // + ((ttScore * 100/ hundredProcent)/(ttScore_first/hundredProcent)) * 1 + "</div>";
- linkString += "<ul id=\"star0\" class=\"star\">";
- linkString += "<li id=\"starCur0\" class=\"curr\" style=\"width: " + starWidth + "px;\"></li>";
- linkString += "</ul>";
-
- linkString += "<br style=\"clear: both;\">";
- linkString += "</div>";
- linkString += "</div>";
- //linkString += '<b>Rating: ' + ttScore + '</b>';
-
- linkTab.push(linkString);
- no++;
- }
- linkTab.push("</ul>");
- }
- }
- }
-
- var results = "";
- if (linkTab.length > 0) {
- /*writeln ("<p>" + txt_results_for + " " + "<span class=\"searchExpression\">" + cleanwordsList + "</span>" + "<br/>"+"</p>");*/
- results = "<p>";
- //write("<ul class='searchresult'>");
- for (t in linkTab) {
- results += linkTab[t].toString();
- }
- results += "</p>";
- } else {
- results = "<p>" + localeresource.search_no_results + " <span class=\"searchExpression\">" + txt_wordsnotfound + "</span>" + "</p>";
- }
-
-
- // Verify if the browser is Google Chrome and the WebHelp is used on a local machine
- // If browser is Google Chrome and WebHelp is used on a local machine a warning message will appear
- // Highlighting will not work in this conditions. There is 2 workarounds
- if (verifyBrowser()){
- document.getElementById('searchResults').innerHTML = results;
- } else {
- document.getElementById('searchResults').innerHTML = warningMsg + results;
- }
-
-}
-
-
-// Verify if the stemmed word is aproximately the same as the searched word
-function verifyWord(word, arr){
- for (var i = 0 ; i < arr.length ; i++){
- if (word[0] == arr[i][0]
- && word[1] == arr[i][1]
- //&& word[2] == arr[i][2]
- ){
- return true;
- }
- }
- return false;
-}
-
-// Look for elements that start with searchedValue.
-function wordsStartsWith(searchedValue){
- var toReturn = '';
- for (var sv in w){
- if (searchedValue.length < 3){
- continue;
- } else {
- if (sv.toLowerCase().indexOf(searchedValue.toLowerCase()) == 0){
- toReturn+=sv + ",";
- }
- }
- }
- return toReturn.length > 0 ? toReturn : undefined;
-}
-
-
-function tokenize(wordsList){
- var stemmedWordsList = new Array(); // Array with the words to look for after removing spaces
- var cleanwordsList = new Array(); // Array with the words to look for
- // -------------------------------------------------
- // Thu's patch
- for(var j=0;j<wordsList.length;++j){
- var word = wordsList[j];
- var originalWord=word;
- if(typeof stemmer != "undefined" ){
- var stemmedWord=stemmer(word);
- if(w[stemmedWord]!=undefined){
- stemQueryMap[stemmer(word)] = word;
- }
- else{
- stemQueryMap[originalWord]=originalWord;
- }
- } else {
- if(w[word]!=undefined){
- stemQueryMap[word] = word;
- }
- else{
- stemQueryMap[originalWord]=originalWord;
- }
- }
- }
- //stemmedWordsList is the stemmed list of words separated by spaces.
- for (var t=0;t<wordsList.length;++t) {
- wordsList[t] = wordsList[t].replace(/(%22)|^-/g, "");
- if (wordsList[t] != "%20") {
- scriptLetterTab.add(wordsList[t].charAt(0));
- cleanwordsList.push(wordsList[t]);
- }
- }
-
- if(typeof stemmer != "undefined" ){
- //Do the stemming using Porter's stemming algorithm
- for (var i = 0; i < cleanwordsList.length; i++) {
- var stemWord = stemmer(cleanwordsList[i]);
- if(w[stemWord]!=undefined){
- stemmedWordsList.push(stemWord);
- }
- else{
- stemmedWordsList.push(cleanwordsList[i]);
- }
- }
- // End Thu's patch
- // -------------------------------------------
- } else {
- stemmedWordsList = cleanwordsList;
- }
- return stemmedWordsList;
-}
-
-//Invoker of CJKTokenizer class methods.
-function cjkTokenize(wordsList){
- var allTokens= new Array();
- var notCJKTokens= new Array();
- var j=0;
- for(j=0;j<wordsList.length;j++){
- var word = wordsList[j];
- if(getAvgAsciiValue(word) < 127){
- notCJKTokens.push(word);
- } else {
- var tokenizer = new CJKTokenizer(word);
- var tokensTmp = tokenizer.getAllTokens();
- allTokens = allTokens.concat(tokensTmp);
- }
- }
- allTokens = allTokens.concat(tokenize(notCJKTokens));
- return allTokens;
-}
-
-//A simple way to determine whether the query is in english or not.
-function getAvgAsciiValue(word){
- var tmp = 0;
- var num = word.length < 5 ? word.length:5;
- for(var i=0;i<num;i++){
- if(i==5) break;
- tmp += word.charCodeAt(i);
- }
- return tmp/num;
-}
-
-//CJKTokenizer
-function CJKTokenizer(input){
- this.input = input;
- this.offset=-1;
- this.tokens = new Array();
- this.incrementToken = incrementToken;
- this.tokenize = tokenize;
- this.getAllTokens = getAllTokens;
- this.unique = unique;
-
- function incrementToken(){
- if(this.input.length - 2 <= this.offset){
- // console.log("false "+offset);
- return false;
- }
- else {
- this.offset+=1;
- return true;
- }
- }
-
- function tokenize(){
- //document.getElementById("content").innerHTML += x.substring(offset,offset+2)+"<br>";
- return this.input.substring(this.offset,this.offset+2);
- }
-
- function getAllTokens(){
- while(this.incrementToken()){
- var tmp = this.tokenize();
- this.tokens.push(tmp);
- }
- return this.unique(this.tokens);
-// document.getElementById("content").innerHTML += tokens+" ";
-// document.getElementById("content").innerHTML += "<br>dada"+sortedTokens+" ";
-// console.log(tokens.length+"dsdsds");
- /*for(i=0;i<tokens.length;i++){
- console.log(tokens[i]);
- var ss = tokens[i] == sortedTokens[i];
-
-// document.getElementById("content").innerHTML += "<br>dada"+un[i]+"- "+stems[i]+" "+ ss;
- document.getElementById("content").innerHTML += "<br>"+sortedTokens[i];
- }*/
- }
-
- function unique(a)
- {
- var r = new Array();
- o:for(var i = 0, n = a.length; i < n; i++)
- {
- for(var x = 0, y = r.length; x < y; x++)
- {
- if(r[x]==a[i]) continue o;
- }
- r[r.length] = a[i];
- }
- return r;
- }
-}
-
-
-/* Scriptfirstchar: to gather the first letter of index js files to upload */
-function Scriptfirstchar() {
- this.strLetters = "";
- this.add = addLettre;
-}
-
-function addLettre(caract) {
-
- if (this.strLetters == 'undefined') {
- this.strLetters = caract;
- } else if (this.strLetters.indexOf(caract) < 0) {
- this.strLetters += caract;
- }
-
- return 0;
-}
-/* end of scriptfirstchar */
-
-/*main loader function*/
-/*tab contains the first letters of each word looked for*/
-function loadTheIndexScripts(tab) {
-
- //alert (tab.strLetters);
- var scriptsarray = new Array();
-
- for (var i = 0; i < tab.strLetters.length; i++) {
-
- scriptsarray[i] = "..\/search" + "\/" + tab.strLetters.charAt(i) + ".js";
- }
- // add the list of html files
- i++;
- scriptsarray[i] = "..\/search" + "\/" + htmlfileList;
-
- //debug
- for (var t in scriptsarray) {
- //alert (scriptsarray[t]);
- }
-
- tab = new ScriptLoader();
- for (t in scriptsarray) {
- tab.add(scriptsarray[t]);
- }
- tab.load();
- //alert ("scripts loaded");
- return (scriptsarray);
-}
-
-/* ScriptLoader: to load the scripts and wait that it's finished */
-function ScriptLoader() {
- this.cpt = 0;
- this.scriptTab = new Array();
- this.add = addAScriptInTheList;
- this.load = loadTheScripts;
- this.onScriptLoaded = onScriptLoadedFunc;
-}
-
-function addAScriptInTheList(scriptPath) {
- this.scriptTab.push(scriptPath);
-}
-
-function loadTheScripts() {
- var script;
- var head;
-
- head = document.getElementsByTagName('head').item(0);
-
- //script = document.createElement('script');
-
- for (var el in this.scriptTab) {
- //alert (el+this.scriptTab[el]);
- script = document.createElement('script');
- script.src = this.scriptTab[el];
- script.type = 'text/javascript';
- script.defer = false;
-
- head.appendChild(script);
- }
-
-}
-
-function onScriptLoadedFunc(e) {
- e = e || window.event;
- var target = e.target || e.srcElement;
- var isComplete = true;
- if (typeof target.readyState != undefined) {
-
- isComplete = (target.readyState == "complete" || target.readyState == "loaded");
- }
- if (isComplete) {
- ScriptLoader.cpt++;
- if (ScriptLoader.cpt == ScriptLoader.scripts.length) {
- ScriptLoader.onLoadComplete();
- }
- }
-}
-
-/*
-function onLoadComplete() {
- alert("loaded !!");
-} */
-
-/* End of scriptloader functions */
-
-// Array.unique( strict ) - Remove duplicate values
-function unique(tab) {
- var a = new Array();
- var i;
- var l = tab.length;
-
- if (tab[0] != undefined) {
- a[0] = tab[0];
- }
- else {
- return -1;
- }
-
- for (i = 1; i < l; i++) {
- if (indexof(a, tab[i], 0) < 0) {
- a.push(tab[i]);
- }
- }
- return a;
-}
-function indexof(tab, element, begin) {
- for (var i = begin; i < tab.length; i++) {
- if (tab[i] == element) {
- return i;
- }
- }
- return -1;
-
-}
-/* end of Array functions */
-
-
-/*
- Param: mots= list of words to look for.
- This function creates an hashtable:
- - The key is the index of a html file which contains a word to look for.
- - The value is the list of all words contained in the html file.
-
- Return value: the hashtable fileAndWordList
- */
-function SortResults(mots) {
-
- var fileAndWordList = new Object();
- if (mots.length == 0 || mots[0].length == 0) {
- return null;
- }
-
-
- // In generated js file we add scoring at the end of the word
- // Example word1*scoringForWord1,word2*scoringForWord2 and so on
- // Split after * to obtain the right values
- var scoringArr = Array();
- for (var t in mots) {
- // get the list of the indices of the files.
- var listNumerosDesFicStr = w[mots[t].toString()];
-
- if (listNumerosDesFicStr != undefined) {
-
- //alert ("listNumerosDesFicStr "+listNumerosDesFicStr);
- var tab = listNumerosDesFicStr.split(",");
- //for each file (file's index):
- for (var t2 in tab) {
- var tmp = '';
- var idx = '';
- var temp = tab[t2].toString();
- if (temp.indexOf('*') != -1) {
- idx = temp.indexOf('*');
- tmp = temp.substring(idx + 3, temp.length);
- temp = temp.substring(0, idx);
- }
- scoringArr.push(tmp);
- if (fileAndWordList[temp] == undefined) {
- fileAndWordList[temp] = "" + mots[t];
- } else {
- fileAndWordList[temp] += "," + mots[t];
- }
- //console.info("fileAndWordList[" + temp + "]=" + fileAndWordList[temp] + " : " + tmp);
- }
-
- }
- }
- var fileAndWordListValuesOnly = new Array();
- // sort results according to values
- var temptab = new Array();
- finalObj = new Array();
- for (t in fileAndWordList) {
- finalObj.push(new newObj(t,fileAndWordList[t]));
- }
-
- if ( finalObj.length == 0 ) { // None of the queried words are not in the index (stemmed or not)
- return null;
- }
- finalObj = removeDerivates(finalObj);
- for (t in finalObj) {
- tab = finalObj[t].wordList.split(',');
- var tempDisplay = new Array();
- for (var x in tab) {
- if(stemQueryMap[tab[x]] != undefined && doStem){
- tempDisplay.push(stemQueryMap[tab[x]]); //get the original word from the stem word.
- } else {
- tempDisplay.push(tab[x]); //no stem is available. (probably a CJK language)
- }
- }
- var tempDispString = tempDisplay.join(", ");
- var index;
- for (x in fileAndWordList) {
- if (x === finalObj[t].filesNo) {
- index = x;
- break;
- }
- }
- var scoring = findRating(fileAndWordList[index], index);
- temptab.push(new resultPerFile(finalObj[t].filesNo, finalObj[t].wordList, tab.length, tempDispString, scoring));
- fileAndWordListValuesOnly.push(finalObj[t].wordList);
- }
- fileAndWordListValuesOnly = unique(fileAndWordListValuesOnly);
- fileAndWordListValuesOnly = fileAndWordListValuesOnly.sort(compare_nbMots);
-
- var listToOutput = new Array();
- for (var fawlvoIdx in fileAndWordListValuesOnly) {
- for (t in temptab) {
- if (temptab[t].motsliste == fileAndWordListValuesOnly[fawlvoIdx]) {
- if (listToOutput[fawlvoIdx] == undefined) {
- listToOutput[fawlvoIdx] = new Array(temptab[t]);
- } else {
- listToOutput[fawlvoIdx].push(temptab[t]);
- }
- }
- }
- }
- // Sort results by scoring, descending on the same group
- for (var ltoIdx in listToOutput) {
- listToOutput[ltoIdx].sort(function(a, b){
- return b.scoring - a.scoring;
- });
- }
- // If we have groups with same number of words,
- // will sort groups by higher scoring of each group
- for (var i = 0; i < listToOutput.length - 1; i++) {
- for (var j = i + 1; j < listToOutput.length; j++) {
- if (listToOutput[i][0].motsnb < listToOutput[j][0].motsnb
- || (listToOutput[i][0].motsnb == listToOutput[j][0].motsnb
- && listToOutput[i][0].scoring < listToOutput[j][0].scoring)
- ) {
- var x = listToOutput[i];
- listToOutput[i] = listToOutput[j];
- listToOutput[j] = x;
- }
- }
- }
-
- return listToOutput;
-}
-
-// Remove derivates words from the list of words
-function removeDerivates(obj){
- var toResultObject = new Array();
- for (i in obj){
- var filesNo = obj[i].filesNo;
- var wordList = obj[i].wordList;
- var wList = wordList.split(",");
- var searchedWords = searchTextField.toLowerCase().split(" ");
- for (var k = 0 ; k < searchedWords.length ; k++){
- for (var j = 0 ; j < wList.length ; j++){
- if (wList[j].startsWith(searchedWords[k])){
- wList[j] = searchedWords[k];
- }
- }
- }
- wList = removeDuplicate(wList);
- var recreateList = '';
- for(var x in wList){
- recreateList+=wList[x] + ",";
- }
- recreateList = recreateList.substr(0, recreateList.length - 1);
- toResultObject.push(new newObj(filesNo, recreateList));
- }
- return toResultObject;
-}
-
-function newObj(filesNo, wordList){
- this.filesNo = filesNo;
- this.wordList = wordList;
-}
-
-// Add a new parameter. Scoring.
-function resultPerFile(filenb, motsliste, motsnb, motslisteDisplay, scoring, group) {
- //10 - spring,time - 2 - spring, time - 55 - 3
- this.filenb = filenb;
- this.motsliste = motsliste;
- this.motsnb = motsnb;
- this.motslisteDisplay= motslisteDisplay;
-
- this.scoring = scoring;
-
-}
-
-
-function findRating(words, nr){
- var sum = 0;
- var xx = words.split(',');
- for (jj = 0 ; jj < xx.length ; jj++){
- var wrd = w[xx[jj]].split(',');
- for (var ii = 0 ; ii < wrd.length ; ii++){
- var wrdno = wrd[ii].split('*');
- if (wrdno[0] == nr){
- sum+=parseInt(wrdno[1]);
- }
- }
- }
- return sum;
-}
-
-function compare_nbMots(s1, s2) {
- var t1 = s1.split(',');
- var t2 = s2.split(',');
- //alert ("s1:"+t1.length + " " +t2.length)
- if (t1.length == t2.length) {
- return 0;
- } else if (t1.length > t2.length) {
- return 1;
- } else {
- return -1;
- }
- //return t1.length - t2.length);
-}
-
-// return false if browser is Google Chrome and WebHelp is used on a local machine, not a web server
-function verifyBrowser(){
- var returnedValue = true;
- var browser = BrowserDetect.browser;
- var addressBar = window.location.href;
- if (browser == 'Chrome' && addressBar.indexOf('file://') === 0){
- returnedValue = false;
- }
-
- return returnedValue;
-}
-
-// Remove duplicate values from an array
-function removeDuplicate(arr) {
- var r = new Array();
- o:for(var i = 0, n = arr.length; i < n; i++) {
- for(var x = 0, y = r.length; x < y; x++) {
- if(r[x]==arr[i]) continue o;
- }
- r[r.length] = arr[i];
- }
- return r;
-}
-
-// Create startsWith method
-String.prototype.startsWith = function(str) {
- return (this.match("^"+str)==str);
-}
-
-function trim(str, chars) {
- return ltrim(rtrim(str, chars), chars);
-}
-
-function ltrim(str, chars) {
- chars = chars || "\\s";
- return str.replace(new RegExp("^[" + chars + "]+", "g"), "");
-}
-
-function rtrim(str, chars) {
- chars = chars || "\\s";
- return str.replace(new RegExp("[" + chars + "]+$", "g"), "");
-}
diff --git a/webhelp/docs/content/search/stemmers/en_stemmer.js b/webhelp/docs/content/search/stemmers/en_stemmer.js deleted file mode 100644 index 2117c1b..0000000 --- a/webhelp/docs/content/search/stemmers/en_stemmer.js +++ /dev/null @@ -1,234 +0,0 @@ -// Porter stemmer in Javascript. Few comments, but it's easy to follow against the rules in the original -// paper, in -// -// Porter, 1980, An algorithm for suffix stripping, Program, Vol. 14, -// no. 3, pp 130-137, -// -// see also http://www.tartarus.org/~martin/PorterStemmer - -// Release 1 -// Derived from (http://tartarus.org/~martin/PorterStemmer/js.txt) - cjm (iizuu) Aug 24, 2009 - -var stemmer = (function(){ - var step2list = { - "ational" : "ate", - "tional" : "tion", - "enci" : "ence", - "anci" : "ance", - "izer" : "ize", - "bli" : "ble", - "alli" : "al", - "entli" : "ent", - "eli" : "e", - "ousli" : "ous", - "ization" : "ize", - "ation" : "ate", - "ator" : "ate", - "alism" : "al", - "iveness" : "ive", - "fulness" : "ful", - "ousness" : "ous", - "aliti" : "al", - "iviti" : "ive", - "biliti" : "ble", - "logi" : "log" - }, - - step3list = { - "icate" : "ic", - "ative" : "", - "alize" : "al", - "iciti" : "ic", - "ical" : "ic", - "ful" : "", - "ness" : "" - }, - - c = "[^aeiou]", // consonant - v = "[aeiouy]", // vowel - C = c + "[^aeiouy]*", // consonant sequence - V = v + "[aeiou]*", // vowel sequence - - mgr0 = "^(" + C + ")?" + V + C, // [C]VC... is m>0 - meq1 = "^(" + C + ")?" + V + C + "(" + V + ")?$", // [C]VC[V] is m=1 - mgr1 = "^(" + C + ")?" + V + C + V + C, // [C]VCVC... is m>1 - s_v = "^(" + C + ")?" + v; // vowel in stem - - return function (w) { - var stem, - suffix, - firstch, - re, - re2, - re3, - re4, - origword = w; - - if (w.length < 3) { return w; } - - firstch = w.substr(0,1); - if (firstch == "y") { - w = firstch.toUpperCase() + w.substr(1); - } - - // Step 1a - re = /^(.+?)(ss|i)es$/; - re2 = /^(.+?)([^s])s$/; - - if (re.test(w)) { w = w.replace(re,"$1$2"); } - else if (re2.test(w)) { w = w.replace(re2,"$1$2"); } - - // Step 1b - re = /^(.+?)eed$/; - re2 = /^(.+?)(ed|ing)$/; - if (re.test(w)) { - var fp = re.exec(w); - re = new RegExp(mgr0); - if (re.test(fp[1])) { - re = /.$/; - w = w.replace(re,""); - } - } else if (re2.test(w)) { - var fp = re2.exec(w); - stem = fp[1]; - re2 = new RegExp(s_v); - if (re2.test(stem)) { - w = stem; - re2 = /(at|bl|iz)$/; - re3 = new RegExp("([^aeiouylsz])\\1$"); - re4 = new RegExp("^" + C + v + "[^aeiouwxy]$"); - if (re2.test(w)) { w = w + "e"; } - else if (re3.test(w)) { re = /.$/; w = w.replace(re,""); } - else if (re4.test(w)) { w = w + "e"; } - } - } - - // Step 1c - re = new RegExp("^(.+" + c + ")y$"); - if (re.test(w)) { - var fp = re.exec(w); - stem = fp[1]; - w = stem + "i"; - } - - // Step 2 - re = /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/; - if (re.test(w)) { - var fp = re.exec(w); - stem = fp[1]; - suffix = fp[2]; - re = new RegExp(mgr0); - if (re.test(stem)) { - w = stem + step2list[suffix]; - } - } - - // Step 3 - re = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/; - if (re.test(w)) { - var fp = re.exec(w); - stem = fp[1]; - suffix = fp[2]; - re = new RegExp(mgr0); - if (re.test(stem)) { - w = stem + step3list[suffix]; - } - } - - // Step 4 - re = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/; - re2 = /^(.+?)(s|t)(ion)$/; - if (re.test(w)) { - var fp = re.exec(w); - stem = fp[1]; - re = new RegExp(mgr1); - if (re.test(stem)) { - w = stem; - } - } else if (re2.test(w)) { - var fp = re2.exec(w); - stem = fp[1] + fp[2]; - re2 = new RegExp(mgr1); - if (re2.test(stem)) { - w = stem; - } - } - - // Step 5 - re = /^(.+?)e$/; - if (re.test(w)) { - var fp = re.exec(w); - stem = fp[1]; - re = new RegExp(mgr1); - re2 = new RegExp(meq1); - re3 = new RegExp("^" + C + v + "[^aeiouwxy]$"); - if (re.test(stem) || (re2.test(stem) && !(re3.test(stem)))) { - w = stem; - } - } - - re = /ll$/; - re2 = new RegExp(mgr1); - if (re.test(w) && re2.test(w)) { - re = /.$/; - w = w.replace(re,""); - } - - // and turn initial Y back to y - - if (firstch == "y") { - w = firstch.toLowerCase() + w.substr(1); - } - - // See http://snowball.tartarus.org/algorithms/english/stemmer.html - // "Exceptional forms in general" - var specialWords = { - "skis" : "ski", - "skies" : "sky", - "dying" : "die", - "lying" : "lie", - "tying" : "tie", - "idly" : "idl", - "gently" : "gentl", - "ugly" : "ugli", - "early": "earli", - "only": "onli", - "singly": "singl" - }; - - if(specialWords[origword]){ - w = specialWords[origword]; - } - - if( "sky news howe atlas cosmos bias \ - andes inning outing canning herring \ - earring proceed exceed succeed".indexOf(origword) !== -1 ){ - w = origword; - } - - // Address words overstemmed as gener- - re = /.*generate?s?d?(ing)?$/; - if( re.test(origword) ){ - w = w + 'at'; - } - re = /.*general(ly)?$/; - if( re.test(origword) ){ - w = w + 'al'; - } - re = /.*generic(ally)?$/; - if( re.test(origword) ){ - w = w + 'ic'; - } - re = /.*generous(ly)?$/; - if( re.test(origword) ){ - w = w + 'ous'; - } - // Address words overstemmed as commun- - re = /.*communit(ies)?y?/; - if( re.test(origword) ){ - w = w + 'iti'; - } - - return w; - } -})(); |