summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '3rdParty/SCons/scons-3.0.1/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search')
-rw-r--r--3rdParty/SCons/scons-3.0.1/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/htmlFileInfoList.js10
-rw-r--r--3rdParty/SCons/scons-3.0.1/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/htmlFileList.js11
-rw-r--r--3rdParty/SCons/scons-3.0.1/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/index-1.js224
-rw-r--r--3rdParty/SCons/scons-3.0.1/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/index-2.js223
-rw-r--r--3rdParty/SCons/scons-3.0.1/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/index-3.js221
-rw-r--r--3rdParty/SCons/scons-3.0.1/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/nwSearchFnt.js513
-rw-r--r--3rdParty/SCons/scons-3.0.1/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/stemmers/en_stemmer.js187
7 files changed, 1389 insertions, 0 deletions
diff --git a/3rdParty/SCons/scons-3.0.1/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/htmlFileInfoList.js b/3rdParty/SCons/scons-3.0.1/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/htmlFileInfoList.js
new file mode 100644
index 0000000..4517cb8
--- /dev/null
+++ b/3rdParty/SCons/scons-3.0.1/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/htmlFileInfoList.js
@@ -0,0 +1,10 @@
+fil = new Array();
+fil["0"]= "ch01.html@@@Chapter 1. Introduction@@@Overview of the package.";
+fil["1"]= "ch02.html@@@Chapter 2. Using the package@@@The following sections describe how to install and use the package on Windows.";
+fil["2"]= "ch02s01.html@@@Generating webhelp output@@@Installation instructions";
+fil["3"]= "ch02s02.html@@@Using and customizing the output@@@null";
+fil["4"]= "ch02s03.html@@@Building the indexer@@@To build the indexer, you must have installed the JDK version 1.5 or higher and set the ANT_HOME environment variable. Run ant build-indexer to recompile nw-cms.jar";
+fil["5"]= "ch02s04.html@@@Adding support for other (non-CJKV) languages@@@null";
+fil["6"]= "ch03.html@@@Chapter 3. Developer Docs@@@This chapter provides an overview of how webhelp is implemented.";
+fil["7"]= "ch03s01.html@@@Design@@@An overview of webhelp page structure.";
+fil["8"]= "ch03s02.html@@@Search@@@Adding new Stemmers is very simple.";
diff --git a/3rdParty/SCons/scons-3.0.1/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/htmlFileList.js b/3rdParty/SCons/scons-3.0.1/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/htmlFileList.js
new file mode 100644
index 0000000..c09eccf
--- /dev/null
+++ b/3rdParty/SCons/scons-3.0.1/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/htmlFileList.js
@@ -0,0 +1,11 @@
+//List of files which are indexed.
+fl = new Array();
+fl["0"]= "ch01.html";
+fl["1"]= "ch02.html";
+fl["2"]= "ch02s01.html";
+fl["3"]= "ch02s02.html";
+fl["4"]= "ch02s03.html";
+fl["5"]= "ch02s04.html";
+fl["6"]= "ch03.html";
+fl["7"]= "ch03s01.html";
+fl["8"]= "ch03s02.html";
diff --git a/3rdParty/SCons/scons-3.0.1/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/index-1.js b/3rdParty/SCons/scons-3.0.1/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/index-1.js
new file mode 100644
index 0000000..8af5f1e
--- /dev/null
+++ b/3rdParty/SCons/scons-3.0.1/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/index-1.js
@@ -0,0 +1,224 @@
+var indexerLanguage="en";
+//Auto generated index for searching.
+w["-"]="8";
+w["-doutput-dir"]="2";
+w["-version"]="2";
+w["1"]="0,2,4,8";
+w["140"]="0";
+w["172800"]="3";
+w["2"]="1,2,3,8";
+w["290304000"]="3";
+w["3"]="6,8";
+w["4"]="2,8";
+w["480"]="3";
+w["5"]="2,4";
+w["6"]="2";
+w["7"]="2";
+w["7200"]="3";
+w["8"]="3";
+w["_stemmer"]="8";
+w["abandon"]="7";
+w["abil"]="0";
+w["abstract"]="0,2,3";
+w["achiev"]="7";
+w["actual"]="8";
+w["ad"]="0,1,3,5,8";
+w["adapt"]="2";
+w["add"]="0,2,3,5,8";
+w["adddefaultcharset"]="3";
+w["addit"]="3,5";
+w["addoutputfilterbytyp"]="3";
+w["advanc"]="0";
+w["again"]="8";
+w["against"]="2";
+w["algorithm"]="8";
+w["all"]="0,8";
+w["allow"]="0";
+w["alreadi"]="8";
+w["and"]="0,1,2,3,4,5,6,7,8";
+w["ani"]="2,3,8";
+w["anim"]="7";
+w["anoth"]="2,8";
+w["ant"]="0,2,4,8";
+w["ant_hom"]="2,4";
+w["apach"]="1,2,3";
+w["apache-ant-1"]="2";
+w["appear"]="0,3";
+w["appli"]="7";
+w["applic"]="0,3";
+w["appropri"]="0,3";
+w["arbitrari"]="2";
+w["array"]="8";
+w["assum"]="2,8";
+w["attribut"]="0";
+w["auto-synchron"]="0";
+w["autom"]="0";
+w["automat"]="0";
+w["avail"]="8";
+w["away"]="6";
+w["back"]="5";
+w["bar"]="3";
+w["base"]="0,3,8";
+w["be"]="2";
+w["been"]="0,2";
+w["behav"]="6";
+w["below"]="2";
+w["between"]="8";
+w["bi-gram"]="8";
+w["bin"]="2";
+w["binari"]="2";
+w["bitmap"]="3";
+w["bob"]="3";
+w["book"]="3";
+w["boolean"]="0";
+w["both"]="5";
+w["box"]="0";
+w["breadcrumb"]="0";
+w["break"]="8";
+w["brief"]="0,3";
+w["brower"]="3";
+w["browser"]="2,3,7,8";
+w["build"]="0,1,2,4,7,8";
+w["build-index"]="4,8";
+w["built"]="7";
+w["but"]="0,2,8";
+w["button"]="0,7";
+w["c"]="2";
+w["cach"]="3";
+w["cache-control"]="3";
+w["call"]="7,8";
+w["can"]="0,2,3,7,8";
+w["card"]="0";
+w["caus"]="3";
+w["certain"]="3";
+w["ch03"]="8";
+w["chang"]="2,3,8";
+w["chapter"]="0,1,3,6,8";
+w["chapterinfo"]="3";
+w["charact"]="0,3";
+w["chines"]="0,2,8";
+w["chm"]="0";
+w["chunk"]="3,7";
+w["cjk"]="8";
+w["cjkanalyz"]="0";
+w["class"]="8";
+w["classpath"]="2";
+w["client"]="8";
+w["client-sid"]="8";
+w["cn"]="8";
+w["code"]="0,7,8";
+w["collaps"]="0,7";
+w["color"]="3";
+w["come"]="3";
+w["command"]="2,8";
+w["comment"]="2";
+w["common"]="0,3,8";
+w["compani"]="7";
+w["compar"]="8";
+w["compil"]="8";
+w["complet"]="3";
+w["compress"]="3";
+w["conf"]="3";
+w["configur"]="1,3";
+w["confirm"]="2";
+w["consid"]="0,5";
+w["contact"]="8";
+w["contain"]="2,8";
+w["content"]="0,1,6,7,8";
+w["contribut"]="5";
+w["control"]="0,3,7";
+w["conveni"]="2";
+w["cooki"]="6,7";
+w["copi"]="2,8";
+w["correct"]="2,8";
+w["could"]="2,3";
+w["creat"]="2";
+w["creator"]="0";
+w["css"]="3,7";
+w["css-base"]="7";
+w["css-style"]="7";
+w["current"]="0,5,8";
+w["custom"]="1,2,3,7";
+w["danish"]="5";
+w["data"]="8";
+w["day"]="3";
+w["decid"]="0";
+w["deep"]="3";
+w["default"]="2,3";
+w["defin"]="2";
+w["deflat"]="3";
+w["delet"]="2";
+w["describ"]="1";
+w["descript"]="0";
+w["design"]="6,7,8";
+w["desir"]="2";
+w["desired-output-dir"]="2";
+w["detail"]="2,8";
+w["develop"]="6";
+w["differ"]="2";
+w["dir"]="2";
+w["direct"]="3";
+w["directori"]="2,8";
+w["disabl"]="0";
+w["display"]="8";
+w["distribut"]="2";
+w["div"]="0,3,6,7";
+w["divid"]="7";
+w["do"]="5,8";
+w["doc"]="2,3,6,8";
+w["docbook"]="0,2,3,7,8";
+w["docbook-apps@list"]="8";
+w["docbook-webhelp"]="2,8";
+w["docs@@@"]="8";
+w["docsrc"]="2";
+w["document"]="0,2,3,7";
+w["doe"]="0,2,3,8";
+w["domain"]="0";
+w["don"]="0,2,3";
+w["done"]="7,8";
+w["download"]="2,3,8";
+w["drop"]="8";
+w["dtd"]="2";
+w["dutch"]="5";
+w["each"]="0,3";
+w["easi"]="8";
+w["easili"]="7,8";
+w["eclips"]="0";
+w["edit"]="2,3";
+w["editor"]="2,8";
+w["element"]="3";
+w["els"]="8";
+w["email"]="8";
+w["empti"]="2";
+w["engin"]="0";
+w["english"]="0,2,5,8";
+w["englishstemm"]="8";
+w["enhanc"]="0";
+w["enter"]="8";
+w["environ"]="2,4";
+w["equalsignorecas"]="8";
+w["etc"]="2,3,7,8";
+w["even"]="0";
+w["ex"]="8";
+w["exact"]="6,8";
+w["exampl"]="2,3,8";
+w["exclud"]="0";
+w["exist"]="2";
+w["expand"]="0";
+w["explain"]="3";
+w["expos"]="0";
+w["ext"]="8";
+w["extend"]="8";
+w["extens"]="3,8";
+w["fair"]="8";
+w["fals"]="2";
+w["featur"]="0,7";
+w["feel"]="3";
+w["few"]="7,8";
+w["figur"]="2";
+w["fil"]="8";
+w["file"]="0,2,3,7,8";
+w["fileset"]="2";
+w["filesmatch"]="3";
+w["find"]="8";
+
diff --git a/3rdParty/SCons/scons-3.0.1/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/index-2.js b/3rdParty/SCons/scons-3.0.1/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/index-2.js
new file mode 100644
index 0000000..ebab219
--- /dev/null
+++ b/3rdParty/SCons/scons-3.0.1/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/index-2.js
@@ -0,0 +1,223 @@
+//Auto generated index for searching.
+w["finnish"]="5";
+w["first"]="0,8";
+w["five"]="8";
+w["fl"]="8";
+w["flv"]="3";
+w["folder"]="3,8";
+w["follow"]="1,2,3,5,7,8";
+w["foobar"]="8";
+w["form"]="0,5";
+w["format"]="0,8";
+w["fortun"]="8";
+w["fr"]="2,8";
+w["frameset"]="0,3,6,7";
+w["french"]="0,2,8";
+w["frenchstemm"]="8";
+w["full"]="0,8";
+w["fulli"]="7,8";
+w["function"]="0";
+w["further"]="3,7";
+w["futur"]="0";
+w["general"]="0,3,8";
+w["generat"]="0,1,2,7,8";
+w["gentext"]="0";
+w["german"]="0,2,5,8";
+w["germanstemm"]="8";
+w["get"]="0,3,8";
+w["gif"]="3";
+w["googl"]="0";
+w["graphic"]="2";
+w["group"]="0";
+w["guid"]="3";
+w["h"]="0";
+w["handl"]="3,8";
+w["happen"]="8";
+w["hard"]="0";
+w["has"]="2,8";
+w["have"]="2,3,4,8";
+w["he"]="0";
+w["head"]="7";
+w["header"]="0,3,7";
+w["height"]="3";
+w["help"]="0,3,6";
+w["here"]="2";
+w["higher"]="2,4";
+w["highlight"]="0";
+w["hour"]="3";
+w["howev"]="2";
+w["htaccess"]="3";
+w["htm"]="3";
+w["html"]="0,2,3,7,8";
+w["html@@@develop"]="8";
+w["htmlfileinfolist"]="8";
+w["htmlfilelist"]="8";
+w["httpd"]="3";
+w["hungarian"]="5";
+w["ico"]="3";
+w["identifi"]="2";
+w["if"]="0,2,3,5,6,8";
+w["ignor"]="2";
+w["imag"]="2";
+w["implement"]="0,5,6,8";
+w["import"]="0,2";
+w["imposs"]="0";
+w["improv"]="0,3";
+w["includ"]="0,2,3,5,7,8";
+w["index"]="0,1,2,3,4,5,8";
+w["index-"]="8";
+w["indexer-languag"]="2";
+w["indexer-language-cod"]="8";
+w["indexerlanguag"]="8";
+w["indexertask"]="8";
+w["indic"]="2";
+w["inform"]="2,3";
+w["initi"]="8";
+w["input"]="2,5";
+w["input-images-basedir"]="2";
+w["input-images-dir"]="2";
+w["input-xml"]="2";
+w["insid"]="3,8";
+w["instal"]="1,2,4";
+w["instruct"]="2";
+w["integr"]="0,8";
+w["interest"]="3";
+w["internet"]="0";
+w["into"]="0,3";
+w["introduct"]="0";
+w["invok"]="8";
+w["involv"]="8";
+w["it_stemm"]="8";
+w["italian"]="5,8";
+w["italianstemm"]="8";
+w["item"]="0";
+w["ix01"]="0";
+w["ja"]="2,8";
+w["japanes"]="0,2,8";
+w["jar"]="2,4,8";
+w["java"]="2,5,8";
+w["javascript"]="0,3,5,7,8";
+w["jdk"]="2,4";
+w["jpeg"]="3";
+w["jpg"]="3";
+w["jqueri"]="3,7";
+w["jquery-ui"]="7";
+w["jquery-ui-1"]="3";
+w["jqueryui"]="3";
+w["js"]="3,8";
+w["know"]="0";
+w["ko"]="8";
+w["korean"]="0,8";
+w["languag"]="0,1,2,5,8";
+w["language-cod"]="8";
+w["layer"]="2";
+w["left"]="3,6,7";
+w["leftnavig"]="3";
+w["legal"]="0";
+w["li"]="7";
+w["librari"]="8";
+w["like"]="0,8";
+w["limit"]="0";
+w["line"]="2,3,8";
+w["link"]="0,3";
+w["list"]="0,2,7,8";
+w["ll"]="8";
+w["load"]="6,7";
+w["locat"]="2,8";
+w["log"]="0";
+w["logo"]="7";
+w["long"]="3";
+w["look"]="3,7,8";
+w["lucen"]="0";
+w["made"]="7";
+w["mail"]="8";
+w["main"]="7,8";
+w["make"]="0,2,3,8";
+w["manag"]="2";
+w["martin"]="5";
+w["match"]="8";
+w["max-ag"]="3";
+w["mean"]="8";
+w["meant"]="8";
+w["mechan"]="5,8";
+w["medium"]="7";
+w["messag"]="2";
+w["meta"]="8";
+w["method"]="8";
+w["microsoft"]="0";
+w["miss"]="2";
+w["model"]="0";
+w["modifi"]="2";
+w["more"]="0,3";
+w["move"]="0";
+w["multipl"]="3";
+w["must"]="2,4,6";
+w["must-revalid"]="3";
+w["mutandi"]="2";
+w["mutati"]="2";
+w["my"]="0";
+w["name"]="0,2,3,8";
+w["navig"]="3,6,7";
+w["necessari"]="2,3";
+w["need"]="2,3,5,8";
+w["new"]="2,3,6,8";
+w["newli"]="2";
+w["next"]="7";
+w["nexwav"]="8";
+w["nice"]="7";
+w["no"]="3,8";
+w["non-cjkv"]="1,5,8";
+w["non-head"]="0";
+w["non-n"]="2";
+w["norwegian"]="5";
+w["not"]="0,2,8";
+w["note"]="2,3,8";
+w["noth"]="3";
+w["notic"]="0";
+w["now"]="8";
+w["nquindex"]="8";
+w["null"]="8";
+w["number"]="8";
+w["nw-cms"]="4,8";
+w["nwsearchfnt"]="8";
+w["oasis-open"]="8";
+w["object"]="8";
+w["odd"]="3";
+w["off"]="0";
+w["onc"]="2";
+w["one"]="3,8";
+w["onli"]="2,5,8";
+w["open"]="2,8";
+w["oper"]="0";
+w["option"]="0";
+w["order"]="0";
+w["org"]="8";
+w["organ"]="7";
+w["other"]="0,1,2,5,8";
+w["out"]="0";
+w["output"]="0,1,2,3,7,8";
+w["output-dir"]="2";
+w["overal"]="7";
+w["overview"]="0,6,7,8";
+w["own"]="0,2";
+w["packag"]="0,1,2,8";
+w["page"]="0,3,6,7";
+w["pane"]="0,6,7";
+w["para"]="3";
+w["param"]="0";
+w["paramet"]="0";
+w["parameter"]="0";
+w["parent"]="7";
+w["part"]="3,7,8";
+w["path"]="2";
+w["path-"]="2";
+w["pattern"]="0,2";
+w["pdf"]="0,3";
+w["perform"]="0,3";
+w["persist"]="0,7";
+w["phrase"]="3";
+w["plain"]="3";
+w["pleas"]="5";
+w["plugin"]="7";
+w["png"]="3";
+
diff --git a/3rdParty/SCons/scons-3.0.1/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/index-3.js b/3rdParty/SCons/scons-3.0.1/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/index-3.js
new file mode 100644
index 0000000..b71ffe6
--- /dev/null
+++ b/3rdParty/SCons/scons-3.0.1/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/index-3.js
@@ -0,0 +1,221 @@
+//Auto generated index for searching.
+w["point"]="2,3";
+w["popul"]="0,3";
+w["popular"]="8";
+w["porter"]="5";
+w["portugues"]="5";
+w["posit"]="3,7";
+w["possibl"]="0";
+w["prev"]="7";
+w["privat"]="8";
+w["problem"]="2";
+w["procedur"]="2";
+w["process"]="2,7,8";
+w["processor"]="2";
+w["produc"]="0";
+w["program"]="2";
+w["project"]="2,5";
+w["prompt"]="2";
+w["properti"]="0,2,8";
+w["provid"]="6,8";
+w["public"]="0,3";
+w["punctuat"]="2,8";
+w["put"]="2";
+w["queri"]="0,8";
+w["question"]="8";
+w["read"]="6";
+w["readm"]="2";
+w["recommend"]="1,3";
+w["recompil"]="4,8";
+w["refer"]="2";
+w["relat"]="2,3";
+w["relev"]="0";
+w["render"]="6";
+w["replac"]="3";
+w["requir"]="0,5";
+w["resid"]="8";
+w["resiz"]="0";
+w["resourc"]="3";
+w["restor"]="6";
+w["result"]="0,3,6,8";
+w["return"]="8";
+w["right"]="3";
+w["role"]="3";
+w["romanian"]="5";
+w["root"]="8";
+w["rss"]="3";
+w["run"]="2,4,8";
+w["russian"]="5";
+w["s"]="0,3,5,8";
+w["safe"]="2";
+w["same"]="2";
+w["save"]="6";
+w["saxhtmlindex"]="8";
+w["saxon"]="2";
+w["saxon-6"]="2";
+w["script"]="2";
+w["search"]="0,2,3,5,6,7,8";
+w["second"]="0";
+w["section"]="1,3,7";
+w["sectioninfo"]="3";
+w["see"]="2,3,7,8";
+w["self"]="8";
+w["separ"]="0,7";
+w["serv"]="3";
+w["server"]="0,3,8";
+w["server-sid"]="0";
+w["servic"]="0";
+w["set"]="0,2,3,4";
+w["setoutputfilt"]="3";
+w["share"]="2";
+w["should"]="0,2";
+w["show"]="0";
+w["side"]="8";
+w["sidetreecontrol"]="7";
+w["similar"]="0";
+w["simpl"]="0,8";
+w["simpli"]="2,3";
+w["sinc"]="3";
+w["site"]="0";
+w["size"]="0";
+w["smarter"]="0";
+w["snowbal"]="8";
+w["snowballstemm"]="8";
+w["so"]="0,2,3";
+w["some"]="8";
+w["someth"]="0";
+w["sort"]="0";
+w["sourc"]="2";
+w["space"]="8";
+w["spanish"]="5";
+w["specifi"]="0,2,8";
+w["src"]="8";
+w["stale"]="3";
+w["start"]="2";
+w["state"]="0,6";
+w["stayton"]="3";
+w["stem"]="0,5,8";
+w["stemmer"]="0,2,5,6,8";
+w["step"]="2,8";
+w["store"]="2,3,8";
+w["string"]="0,8";
+w["structur"]="7";
+w["studi"]="3";
+w["stuff"]="3";
+w["style"]="3,7";
+w["stylesheet"]="0";
+w["stylesheet-path"]="2";
+w["such"]="3,8";
+w["summari"]="0,3,8";
+w["support"]="0,1,5,8";
+w["supportedlanguag"]="8";
+w["sure"]="8";
+w["swedish"]="5";
+w["swf"]="3";
+w["system"]="0,2,3,6";
+w["t"]="0,2,3";
+w["tab"]="0,2,7";
+w["tabindex"]="0";
+w["tabl"]="0,6,7";
+w["tag"]="7";
+w["target"]="0";
+w["task"]="5";
+w["technic"]="0";
+w["tell"]="2";
+w["templat"]="5,8";
+w["term"]="0";
+w["test"]="2";
+w["test-ouput"]="2";
+w["test-output"]="2";
+w["text"]="0,2,3,8";
+w["than"]="0";
+w["them"]="3,8";
+w["theme"]="3";
+w["theme-redmond"]="3";
+w["then"]="0,3,8";
+w["there"]="8";
+w["therefor"]="5";
+w["these"]="3,5,6,8";
+w["they"]="6";
+w["thing"]="3";
+w["those"]="3,8";
+w["though"]="2";
+w["three"]="7,8";
+w["tip"]="2,3";
+w["titl"]="7,8";
+w["toc"]="0,3,7";
+w["todo"]="3";
+w["toggl"]="0";
+w["token"]="8";
+w["too"]="8";
+w["tool"]="2";
+w["top"]="3";
+w["top-level"]="2";
+w["topic"]="0,3,7";
+w["total"]="8";
+w["travers"]="8";
+w["tree"]="0,3,6,7";
+w["treeview"]="3,7";
+w["tri"]="2";
+w["true"]="2,7";
+w["turkish"]="5";
+w["two"]="3,7,8";
+w["txt"]="3";
+w["type"]="2,3";
+w["ui"]="7";
+w["ul"]="7";
+w["unchang"]="3";
+w["uncom"]="2";
+w["uncompress"]="3";
+w["understand"]="8";
+w["undertak"]="5";
+w["unnecessari"]="8";
+w["unord"]="7";
+w["unzip"]="2";
+w["up"]="0,2,3,4,5,7,8";
+w["updat"]="3";
+w["us"]="8";
+w["use"]="0,1,2,3,5,7,8";
+w["user"]="0,3,5,8";
+w["usr"]="2";
+w["utf-8"]="3";
+w["valid"]="2";
+w["validate-against-dtd"]="2";
+w["valu"]="2";
+w["var"]="8";
+w["variabl"]="2,4";
+w["various"]="3";
+w["veri"]="8";
+w["verison"]="5";
+w["version"]="0,2,4,5,8";
+w["w"]="8";
+w["way"]="3";
+w["we"]="0,3,7,8";
+w["web"]="0,3,8";
+w["web-bas"]="0";
+w["webhelp"]="1,2,6,7,8";
+w["webhelp-specif"]="0";
+w["week"]="3";
+w["were"]="6";
+w["which"]="0,2,3,7,8";
+w["width"]="0,3";
+w["wild"]="0";
+w["window"]="1,2";
+w["without"]="0";
+w["word"]="8";
+w["work"]="2";
+w["would"]="8";
+w["write"]="8";
+w["written"]="2,8";
+w["x"]="2";
+w["x-javascript"]="3";
+w["xhtml"]="3";
+w["xml"]="0,2,3";
+w["xp"]="2";
+w["xsl"]="2,3,7";
+w["xslt"]="2";
+w["xslt-processor-classpath"]="2";
+w["you"]="0,2,3,4,5,6,7,8";
+w["your"]="0,2,3,8";
+w["yourfil"]="2";
+
diff --git a/3rdParty/SCons/scons-3.0.1/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/nwSearchFnt.js b/3rdParty/SCons/scons-3.0.1/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/nwSearchFnt.js
new file mode 100644
index 0000000..0111559
--- /dev/null
+++ b/3rdParty/SCons/scons-3.0.1/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/nwSearchFnt.js
@@ -0,0 +1,513 @@
+/*----------------------------------------------------------------------------
+ * 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 = "htmlFileList.js";
+var htmlfileinfoList = "htmlFileInfoList.js";
+var useCJKTokenizing = false;
+
+/* Cette fonction verifie la validite de la recherche entrre par l utilisateur */
+function Verifie(ditaSearch_Form) {
+
+ // Check browser compatibitily
+ if (navigator.userAgent.indexOf("Konquerer") > -1) {
+
+ alert(txt_browser_not_supported);
+ return;
+ }
+
+
+ var expressionInput = document.ditaSearch_Form.textToSearch.value;
+ //Set a cookie to store the searched keywords
+ $.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.ditaSearch_Form.textToSearch.focus();
+ }
+ else {
+
+ // Effectuer la recherche
+ Effectuer_recherche(expressionInput);
+
+ // reactive la fenetre de search (utile car cadres)
+ document.ditaSearch_Form.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 = "";
+
+
+ /*nqu: expressionInput, la recherche est lower cased, plus remplacement des char speciaux*/
+ 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_");
+
+ searchFor = searchFor.replace(/ +/g, " ");
+ searchFor = searchFor.replace(/ $/, "").replace(/^ /, "");
+
+ wordsList = searchFor.split(" ");
+ wordsList.sort();
+
+ //set the tokenizing method
+ if(typeof indexerLanguage != "undefined" && (indexerLanguage=="zh" || indexerLanguage=="ja" ||indexerLanguage=="ko")){
+ useCJKTokenizing=true;
+ } else {
+ useCJKTokenizing=false;
+ }
+ //If Lucene CJKTokenizer was used as the indexer, then useCJKTokenizing will be true. Else, do normal tokenizing.
+ // 2-gram tokenizinghappens in CJKTokenizing,
+ if(useCJKTokenizing){
+ finalWordsList = cjkTokenize(wordsList);
+ } else {
+ finalWordsList = tokenize(wordsList);
+ }
+
+ //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();
+ for (var t in finalWordsList) {
+ if (w[finalWordsList[t].toString()] == undefined) {
+ txt_wordsnotfound += finalWordsList[t] + " ";
+ } else {
+ tempTab.push(finalWordsList[t]);
+ }
+ }
+ finalWordsList = tempTab;
+
+ if (finalWordsList.length) {
+
+ //search 'and' and 'or' one time
+ fileAndWordList = SortResults(finalWordsList);
+
+ var cpt = fileAndWordList.length;
+ for (var i = cpt - 1; i >= 0; i--) {
+ 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]) {
+ //DEBUG: alert(": "+ fileAndWordList[i][t].filenb+" " +fileAndWordList[i][t].motsliste);
+ //linkTab.push("<li><a href=\"../"+fl[fileAndWordList[i][t].filenb]+"\">"+fl[fileAndWordList[i][t].filenb]+"</a></li>");
+ var tempInfo = fil[fileAndWordList[i][t].filenb];
+ 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);
+
+ //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>";
+ if ((tempShortdesc != "null")) {
+ linkString += "\n<div class=\"shortdesclink\">" + tempShortdesc + "</div>";
+ }
+ linkString += "</li>";
+ linkTab.push(linkString);
+ }
+ 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>" + "Your search returned no results for " + "<span class=\"searchExpression\">" + txt_wordsnotfound + "</span>" + "</p>";
+ }
+ //alert(results);
+ document.getElementById('searchResults').innerHTML = results;
+}
+
+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
+ for(var j in wordsList){
+ var word = wordsList[j];
+ if(typeof stemmer != "undefined" ){
+ stemQueryMap[stemmer(word)] = word;
+ } else {
+ stemQueryMap[word] = word;
+ }
+ }
+ //stemmedWordsList is the stemmed list of words separated by spaces.
+ for (var t in wordsList) {
+ 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]);
+ stemmedWordsList.push(stemWord);
+ }
+ } 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]+"&nbsp;&nbsp;&nbsp;"+ 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) {
+ return null;
+ }
+
+ for (var t in mots) {
+ // get the list of the indices of the files.
+ var listNumerosDesFicStr = w[mots[t].toString()];
+ //alert ("listNumerosDesFicStr "+listNumerosDesFicStr);
+ var tab = listNumerosDesFicStr.split(",");
+
+ //for each file (file's index):
+ for (var t2 in tab) {
+ var temp = tab[t2].toString();
+ if (fileAndWordList[temp] == undefined) {
+
+ fileAndWordList[temp] = "" + mots[t];
+ } else {
+
+ fileAndWordList[temp] += "," + mots[t];
+ }
+ }
+ }
+
+ var fileAndWordListValuesOnly = new Array();
+
+ // sort results according to values
+ var temptab = new Array();
+ for (t in fileAndWordList) {
+ tab = fileAndWordList[t].split(',');
+
+ var tempDisplay = new Array();
+ for (var x in tab) {
+ if(stemQueryMap[tab[x]] != undefined){
+ 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(", ");
+
+ temptab.push(new resultPerFile(t, fileAndWordList[t], tab.length, tempDispString));
+ fileAndWordListValuesOnly.push(fileAndWordList[t]);
+ }
+
+
+ //alert("t"+fileAndWordListValuesOnly.toString());
+
+ fileAndWordListValuesOnly = unique(fileAndWordListValuesOnly);
+ fileAndWordListValuesOnly = fileAndWordListValuesOnly.sort(compare_nbMots);
+ //alert("t: "+fileAndWordListValuesOnly.join(';'));
+
+ var listToOutput = new Array();
+
+ for (var j in fileAndWordListValuesOnly) {
+ for (t in temptab) {
+ if (temptab[t].motsliste == fileAndWordListValuesOnly[j]) {
+ if (listToOutput[j] == undefined) {
+ listToOutput[j] = new Array(temptab[t]);
+ } else {
+ listToOutput[j].push(temptab[t]);
+ }
+ }
+ }
+ }
+ return listToOutput;
+}
+
+function resultPerFile(filenb, motsliste, motsnb, motslisteDisplay) {
+ this.filenb = filenb;
+ this.motsliste = motsliste;
+ this.motsnb = motsnb;
+ this.motslisteDisplay= motslisteDisplay;
+}
+
+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);
+} \ No newline at end of file
diff --git a/3rdParty/SCons/scons-3.0.1/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/stemmers/en_stemmer.js b/3rdParty/SCons/scons-3.0.1/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/stemmers/en_stemmer.js
new file mode 100644
index 0000000..f58012f
--- /dev/null
+++ b/3rdParty/SCons/scons-3.0.1/engine/SCons/Tool/docbook/docbook-xsl-1.76.1/webhelp/docs/content/search/stemmers/en_stemmer.js
@@ -0,0 +1,187 @@
+// 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 be 'andargor', Jul 2004
+// Release 2 (substantially revised) by Christopher McKenzie, Aug 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 = /^(.+?)y$/;
+ if (re.test(w)) {
+ var fp = re.exec(w);
+ stem = fp[1];
+ re = new RegExp(s_v);
+ if (re.test(stem)) { 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);
+ }
+
+ return w;
+ }
+})(); \ No newline at end of file