aboutsummaryrefslogtreecommitdiffstats
path: root/draklive/6/et/content/search
diff options
context:
space:
mode:
Diffstat (limited to 'draklive/6/et/content/search')
-rw-r--r--draklive/6/et/content/search/default.props1
-rw-r--r--draklive/6/et/content/search/en-us.props45
-rw-r--r--draklive/6/et/content/search/es-es.props179
-rw-r--r--draklive/6/et/content/search/htmlFileInfoList.js21
-rw-r--r--draklive/6/et/content/search/htmlFileList.js22
-rw-r--r--draklive/6/et/content/search/index-1.js493
-rw-r--r--draklive/6/et/content/search/index-2.js492
-rw-r--r--draklive/6/et/content/search/index-3.js490
-rw-r--r--draklive/6/et/content/search/ja-jp.props1
-rw-r--r--draklive/6/et/content/search/nwSearchFnt.js513
-rw-r--r--draklive/6/et/content/search/punctuation.props31
-rw-r--r--draklive/6/et/content/search/stemmers/de_stemmer.js247
-rw-r--r--draklive/6/et/content/search/stemmers/en_stemmer.js187
-rw-r--r--draklive/6/et/content/search/stemmers/fr_stemmer.js299
14 files changed, 3021 insertions, 0 deletions
diff --git a/draklive/6/et/content/search/default.props b/draklive/6/et/content/search/default.props
new file mode 100644
index 00000000..22edf439
--- /dev/null
+++ b/draklive/6/et/content/search/default.props
@@ -0,0 +1 @@
+DEF01=a \ No newline at end of file
diff --git a/draklive/6/et/content/search/en-us.props b/draklive/6/et/content/search/en-us.props
new file mode 100644
index 00000000..da284ce5
--- /dev/null
+++ b/draklive/6/et/content/search/en-us.props
@@ -0,0 +1,45 @@
+DEF01=this
+DEF02=is
+DEF03=the
+DEF04=in
+DEF05=i
+DEF06=on
+DEF07=a
+DEF08=about
+DEF09=an
+DEF10=are
+DEF11=as
+DEF12=at
+DEF13=be
+DEF14=by
+DEF15=com
+DEF16=de
+DEF17=en
+DEF18=for
+DEF19=from
+DEF20=how
+DEF21=it
+DEF22=la
+DEF23=of
+DEF24=on
+DEF25=or
+DEF26=that
+DEF27=to
+DEF28=was
+DEF29=what
+DEF30=when
+DEF31=where
+DEF32=who
+DEF33=will
+DEF34=with
+DEF35=und
+DEF36=Next
+DEF37=Prev
+DEF38=Home
+DEF39=Motive
+DEF40=Inc
+DEF41=Copyright
+DEF42=All
+DEF43=rights
+DEF44=reserved
+DEF45=Up \ No newline at end of file
diff --git a/draklive/6/et/content/search/es-es.props b/draklive/6/et/content/search/es-es.props
new file mode 100644
index 00000000..fb73bdcc
--- /dev/null
+++ b/draklive/6/et/content/search/es-es.props
@@ -0,0 +1,179 @@
+DEF01=un
+DEF02=una
+DEF03=unas
+DEF04=unos
+DEF05=uno
+DEF06=sobre
+DEF07=todo
+DEF08=tambin
+DEF09=tras
+DEF10=otro
+DEF11=algn
+DEF12=alguno
+DEF13=alguna
+DEF14=algunos
+DEF15=algunas
+DEF16=ser
+DEF17=es
+DEF18=soy
+DEF19=eres
+DEF20=somos
+DEF21=sois
+DEF22=estoy
+DEF23=esta
+DEF24=estamos
+DEF25=estais
+DEF26=estan
+DEF27=como
+DEF28=en
+DEF29=para
+DEF30=atras
+DEF31=porque
+DEF32=por
+DEF33=estado
+DEF34=estaba
+DEF35=ante
+DEF36=antes
+DEF37=siendo
+DEF38=ambos
+DEF39=pero
+DEF40=por
+DEF41=poder
+DEF42=puede
+DEF43=puedo
+DEF44=podemos
+DEF45=podeis
+DEF46=pueden
+DEF47=fui
+DEF48=fue
+DEF49=fuimos
+DEF50=fueron
+DEF51=hacer
+DEF52=hago
+DEF53=hace
+DEF54=hacemos
+DEF55=haceis
+DEF56=hacen
+DEF57=cada
+DEF58=fin
+DEF59=incluso
+DEF60=primero
+DEF61=desde
+DEF62=conseguir
+DEF63=consigo
+DEF64=consigue
+DEF65=consigues
+DEF66=conseguimos
+DEF67=consiguen
+DEF68=ir
+DEF69=voy
+DEF70=va
+DEF71=vamos
+DEF72=vais
+DEF73=van
+DEF74=vaya
+DEF75=gueno
+DEF76=ha
+DEF77=tener
+DEF78=tengo
+DEF79=tiene
+DEF80=tenemos
+DEF81=teneis
+DEF82=tienen
+DEF83=el
+DEF84=la
+DEF85=lo
+DEF86=las
+DEF87=los
+DEF88=su
+DEF89=aqui
+DEF90=mio
+DEF91=tuyo
+DEF92=ellos
+DEF93=ellas
+DEF94=nos
+DEF95=nosotros
+DEF96=vosotros
+DEF97=vosotras
+DEF98=si
+DEF99=dentro
+DEF100=solo
+DEF101=solamente
+DEF102=saber
+DEF103=sabes
+DEF104=sabe
+DEF105=sabemos
+DEF106=sabeis
+DEF107=saben
+DEF108=ultimo
+DEF109=largo
+DEF110=bastante
+DEF111=haces
+DEF112=muchos
+DEF113=aquellos
+DEF114=aquellas
+DEF115=sus
+DEF116=entonces
+DEF117=tiempo
+DEF118=verdad
+DEF119=verdadero
+DEF120=verdadera
+DEF121=cierto
+DEF122=ciertos
+DEF123=cierta
+DEF124=ciertas
+DEF125=intentar
+DEF126=intento
+DEF127=intenta
+DEF128=intentas
+DEF129=intentamos
+DEF130=intentais
+DEF131=intentan
+DEF132=dos
+DEF133=bajo
+DEF134=arriba
+DEF135=encima
+DEF136=usar
+DEF137=uso
+DEF138=usas
+DEF139=usa
+DEF140=usamos
+DEF141=usais
+DEF142=usan
+DEF143=emplear
+DEF144=empleo
+DEF145=empleas
+DEF146=emplean
+DEF147=ampleamos
+DEF148=empleais
+DEF149=valor
+DEF150=muy
+DEF151=era
+DEF152=eras
+DEF153=eramos
+DEF154=eran
+DEF155=modo
+DEF156=bien
+DEF157=cual
+DEF158=cuando
+DEF159=donde
+DEF160=mientras
+DEF161=quien
+DEF162=con
+DEF163=entre
+DEF164=sin
+DEF165=trabajo
+DEF166=trabajar
+DEF167=trabajas
+DEF168=trabaja
+DEF169=trabajamos
+DEF170=trabajais
+DEF171=trabajan
+DEF172=podria
+DEF173=podrias
+DEF174=podriamos
+DEF175=podrian
+DEF176=podriais
+DEF177=yo
+DEF178=aquel
+DEF179=qu \ No newline at end of file
diff --git a/draklive/6/et/content/search/htmlFileInfoList.js b/draklive/6/et/content/search/htmlFileInfoList.js
new file mode 100644
index 00000000..0466e3a7
--- /dev/null
+++ b/draklive/6/et/content/search/htmlFileInfoList.js
@@ -0,0 +1,21 @@
+fil = new Array();
+fil["0"]= "diskdrake.html@@@Ketta kohandatud partitsioneerimine DiskDrake i abil@@@null";
+fil["1"]= "selectKeyboardLive.html@@@Klaviatuuri valimine@@@null";
+fil["2"]= "takeOverHdConfirm.html@@@Kõvaketta vormindamise kinnitamine@@@null";
+fil["3"]= "reboot.html@@@Taaskäivitamine@@@null";
+fil["4"]= "doPartitionDisks.html@@@Partitsioneerimine@@@null";
+fil["5"]= "login.html@@@Sisselogimisekraan@@@null";
+fil["6"]= "uninstall-Mageia.html@@@Mageia eemaldamine@@@null";
+fil["7"]= "testing.html@@@Mageia proovimine Live-süsteemina@@@null";
+fil["8"]= "setupBootloader.html@@@Alglaaduri põhiseadistused@@@null";
+fil["9"]= "selectLanguage.html@@@Kasutatava keele valimine@@@null";
+fil["10"]= "unused.html@@@Kasutuseta materjali säilitamine või kustutamine@@@null";
+fil["11"]= "Select-and-use-ISOs.html@@@ISO-tõmmise valimine ja kasutamine@@@null";
+fil["12"]= "bestTime.html@@@Kellaaja seadistamine@@@null";
+fil["13"]= "setupBootloaderAddEntry.html@@@Alglaadimismenüü kirje lisamine või muutmine@@@null";
+fil["14"]= "acceptLicense.html@@@Litsents ja väljalaskemärkmed@@@null";
+fil["15"]= "addUser.html@@@Kasutajate ja administraatori haldamine@@@null";
+fil["16"]= "formatPartitions.html@@@Vormindamine@@@null";
+fil["17"]= "bootLive.html@@@Mageia laadimine Live-süsteemina@@@null";
+fil["18"]= "ask_mntpoint_s.html@@@Haakepunktide valimine@@@null";
+fil["19"]= "configureTimezoneUTC.html@@@Ajavööndi seadistamine@@@null";
diff --git a/draklive/6/et/content/search/htmlFileList.js b/draklive/6/et/content/search/htmlFileList.js
new file mode 100644
index 00000000..4301b1ec
--- /dev/null
+++ b/draklive/6/et/content/search/htmlFileList.js
@@ -0,0 +1,22 @@
+//List of files which are indexed.
+fl = new Array();
+fl["0"]= "diskdrake.html";
+fl["1"]= "selectKeyboardLive.html";
+fl["2"]= "takeOverHdConfirm.html";
+fl["3"]= "reboot.html";
+fl["4"]= "doPartitionDisks.html";
+fl["5"]= "login.html";
+fl["6"]= "uninstall-Mageia.html";
+fl["7"]= "testing.html";
+fl["8"]= "setupBootloader.html";
+fl["9"]= "selectLanguage.html";
+fl["10"]= "unused.html";
+fl["11"]= "Select-and-use-ISOs.html";
+fl["12"]= "bestTime.html";
+fl["13"]= "setupBootloaderAddEntry.html";
+fl["14"]= "acceptLicense.html";
+fl["15"]= "addUser.html";
+fl["16"]= "formatPartitions.html";
+fl["17"]= "bootLive.html";
+fl["18"]= "ask_mntpoint_s.html";
+fl["19"]= "configureTimezoneUTC.html";
diff --git a/draklive/6/et/content/search/index-1.js b/draklive/6/et/content/search/index-1.js
new file mode 100644
index 00000000..4529341a
--- /dev/null
+++ b/draklive/6/et/content/search/index-1.js
@@ -0,0 +1,493 @@
+var indexerLanguage="en";
+//Auto generated index for searching.
+w["-"]="3,11,17";
+w["-ketast"]="4";
+w["-ketastel"]="4";
+w["-l"]="11";
+w["-sa"]="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19";
+w["0"]="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19";
+w["00"]="11";
+w["0027"]="15";
+w["0x2"]="11";
+w["0x81"]="11";
+w["1"]="4,11";
+w["1-1"]="11";
+w["100"]="11";
+w["1000"]="11";
+w["1024x728"]="17";
+w["1100"]="11";
+w["12"]="4";
+w["128"]="11";
+w["14"]="11";
+w["160"]="4";
+w["18mjtwlmpucc3ssb"]="11";
+w["19"]="4";
+w["1m"]="11";
+w["2"]="4,11";
+w["255"]="11";
+w["27"]="11";
+w["2gb"]="11";
+w["3"]="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19";
+w["32-"]="11";
+w["4"]="4,11";
+w["4096-baidiseid"]="4";
+w["4194304"]="11";
+w["43"]="11";
+w["5"]="17";
+w["50"]="4";
+w["512-baidist"]="4";
+w["512-byte"]="11";
+w["6"]="4";
+w["604531"]="11";
+w["64-bitin"]="11";
+w["64-bitisel"]="11";
+w["640x400"]="17";
+w["7"]="6";
+w["72594"]="11";
+w["72595"]="11";
+w["770528"]="11";
+w["770533"]="11";
+w["770536"]="11";
+w["770537"]="11";
+w["770539"]="11";
+w["770713"]="11";
+w["770719"]="11";
+w["771122"]="11";
+w["772447"]="11";
+w["8"]="8,11";
+w["800x600"]="17";
+w["8564"]="11";
+w["963238"]="11";
+w["963626"]="11";
+w["964104"]="11";
+w["964108"]="11";
+w["965025"]="11";
+w["965031"]="11";
+w["967251"]="11";
+w["969446"]="11";
+w["abi"]="11,17";
+w["abik"]="11";
+w["abil"]="0,11";
+w["abil”"]="4";
+w["abiteksti"]="8";
+w["acpi"]="8,17";
+w["acpi-t"]="8";
+w["administr"]="6";
+w["administra"]="11";
+w["administraatori"]="11,15";
+w["administraatoril"]="15";
+w["aega"]="10";
+w["aeglan"]="17";
+w["aga"]="8,11,14,17";
+w["ahellaadimis"]="8";
+w["ainuk"]="4,8";
+w["ainult"]="4,6,8,11,17,18";
+w["aitab"]="7";
+w["ajal"]="4,8,9,12,15,19";
+w["ajavöönd"]="19";
+w["ajavööndi"]="17,19";
+w["ajavööndil"]="1";
+w["aken"]="11";
+w["alalt"]="4";
+w["alati"]="18";
+w["algkäivitus"]="17";
+w["algkäivitusel"]="17";
+w["alglaadepartisioonil"]="8";
+w["alglaadimin"]="17";
+w["alglaadimis"]="8";
+w["alglaadimisek"]="11";
+w["alglaadimisel"]="8";
+w["alglaadimiskirjet"]="8";
+w["alglaadimismenüü"]="13";
+w["alglaadimismenüüss"]="8";
+w["alglaadimispartitsioon"]="0,4";
+w["alglaadimisseadet"]="8";
+w["alglaadimisvalikud"]="17";
+w["alglaaditavat"]="8";
+w["alglaadur"]="3,8,17";
+w["alglaaduri"]="8";
+w["alglaaduril"]="8";
+w["algoritmiga"]="11";
+w["algoritmil"]="11";
+w["algs"]="11";
+w["algus"]="11";
+w["align"]="4";
+w["all"]="4,18";
+w["alla"]="3,4,6,11";
+w["allalaadimin"]="11";
+w["allalaadimis"]="3";
+w["allalaadimisek"]="11";
+w["allalaadimissaidil"]="11";
+w["allalaaditava"]="11";
+w["allalaaditud"]="11";
+w["allapool"]="8";
+w["allika"]="17";
+w["allolev"]="4";
+w["allpool"]="15";
+w["allserva"]="17";
+w["alltoodud"]="17";
+w["alustamist"]="0";
+w["anda"]="8,11";
+w["andm"]="2,4,6,11,16";
+w["andmeid"]="4,11";
+w["andmekandja"]="11,17";
+w["andmekandjad"]="11";
+w["andmekandjaid"]="11";
+w["andmekandjak"]="11";
+w["andmekandjalt"]="17";
+w["andmekandjat"]="17";
+w["annab"]="4,8,11,13";
+w["annavad"]="3";
+w["ansi"]="11";
+w["antaks"]="6";
+w["antud"]="11";
+w["apic"]="8";
+w["apic-seadm"]="8";
+w["apm"]="8,17";
+w["arhitektuur"]="11";
+w["arhitektuuril"]="11";
+w["arv"]="11";
+w["arvat"]="8";
+w["arvestab"]="6";
+w["arvestavad"]="15";
+w["arvu"]="11";
+w["arvutataks"]="11";
+w["arvuti"]="3,6,8,11,12,14,15,17,19";
+w["arvutiss"]="8";
+w["arvutist"]="18";
+w["arvutit"]="11";
+w["asemel"]="4";
+w["asetada"]="17";
+w["asjad"]="17";
+w["asjakohas"]="8";
+w["assum"]="11";
+w["asub"]="6,19";
+w["asuda"]="11";
+w["asukoha"]="4,6";
+w["asukoht"]="11";
+w["asukohta"]="0";
+w["asutaks"]="11";
+w["asuva"]="17";
+w["asuval"]="4";
+w["asuvass"]="15";
+w["attach"]="11";
+w["automaatselt"]="4,8,17";
+w["avab"]="6";
+w["avag"]="11";
+w["bio"]="4,17";
+w["bios-"]="0,4,8,17";
+w["bittorrenti"]="11";
+w["block"]="11";
+w["boot"]="0,4,6,8,13";
+w["bs"]="11";
+w["cach"]="11";
+w["cauldron-hom"]="18";
+w["cauldroni"]="18";
+w["cc"]="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19";
+w["cd"]="17";
+w["cd-d"]="11";
+w["cd-le"]="11";
+w["cd-rom"]="17";
+w["cfg"]="13";
+w["comput"]="6";
+w["control"]="6";
+w["csm"]="4";
+w["csm-"]="17";
+w["custom"]="13";
+w["dd"]="11";
+w["defragmenteeritud"]="4";
+w["delet"]="6";
+w["desc"]="11";
+w["detect"]="11";
+w["dev"]="11";
+w["devic"]="11";
+w["direct-access"]="11";
+w["disk"]="6,11";
+w["diskdrak"]="0,4";
+w["distributsiooni"]="11";
+w["distributsioonil"]="14";
+w["dmesg"]="11";
+w["dokument"]="7";
+w["dokumentatsiooni"]="8";
+w["download"]="11";
+w["draiver"]="7,17";
+w["draiverid"]="11,17";
+w["draiveriuuendusega"]="17";
+w["drakx"]="8,11,15,16,18";
+w["drakxi"]="4,18";
+w["drakxil"]="15";
+w["drive"]="11";
+w["dvd"]="6,11,17";
+w["dvd-le"]="11";
+w["dvd-rom"]="17";
+w["dvd-seadmess"]="17";
+w["dvd-seadmeta"]="11";
+w["edasi"]="2,14,16,18";
+w["edasijõudnuil"]="8";
+w["edasisek"]="11";
+w["edastada"]="8";
+w["edenemisribasid"]="3";
+w["eelmist"]="7";
+w["eelnevalt"]="4,6";
+w["eemaldada"]="0,3";
+w["eemaldag"]="8,11";
+w["eemaldamin"]="6";
+w["eemaldatud"]="4";
+w["eesmärk"]="7,11";
+w["eespool"]="8";
+w["eest"]="14";
+w["efi"]="0,4,8";
+w["ega"]="8";
+w["ehk"]="12,19";
+w["ehkki"]="4";
+w["ei"]="0,2,4,6,7,8,10,11,14,16,17,18";
+w["eirak"]="8";
+w["ekraan"]="7,17";
+w["ekraani"]="7,8,10";
+w["ekraanil"]="4,17,18,19";
+w["ekraanilahutus"]="17";
+w["ekraanist"]="17";
+w["ekspertrežiim"]="0";
+w["ekspertrežiimi"]="0";
+w["elementidest"]="18";
+w["en"]="13";
+w["enam"]="6";
+w["enamasti"]="8";
+w["enamiku"]="7";
+w["end"]="10";
+w["endal"]="6";
+w["energiat"]="8";
+w["enn"]="0,8,14";
+w["ep"]="11";
+w["eraldada"]="4";
+w["eraldataks"]="4";
+w["eraldi"]="0,4";
+w["eri"]="11";
+w["erinevalt"]="6";
+w["eriti"]="11";
+w["esimen"]="8,17";
+w["esimes"]="8";
+w["esimesel"]="8";
+w["esimess"]="15";
+w["esimest"]="17";
+w["esimestek"]="17";
+w["esp"]="0,4,8";
+w["esp-"]="8";
+w["esp-l"]="8";
+w["esp-sid"]="8";
+w["et"]="3,4,8,11,15,16,17,18,19";
+w["etapil"]="15";
+w["ett"]="5";
+w["ettepanek"]="10";
+w["ettepanekutega"]="18";
+w["ettevaatlik"]="4,6";
+w["f1"]="17";
+w["f2"]="17";
+w["f3"]="17";
+w["f4"]="17";
+w["f6"]="17";
+w["fail"]="11";
+w["faili"]="11,13";
+w["failid"]="4,10";
+w["failidest"]="4";
+w["failihaldurit"]="11";
+w["failisüsteemi"]="0";
+w["failisüsteemid"]="11";
+w["failisüsteemik"]="4";
+w["fat32"]="6";
+w["fdisk"]="11";
+w["film"]="18";
+w["found"]="11";
+w["free"]="4";
+w["ftp-"]="17";
+w["füüsilist"]="11";
+w["garanteeri"]="4";
+w["gb"]="4,11";
+w["gib"]="11";
+w["gmt-le"]="19";
+w["gnome"]="5,11";
+w["gnu"]="11";
+w["gpart"]="4,6";
+w["gpt"]="0,8";
+w["gpt-kettaga"]="4";
+w["graafilin"]="8";
+w["graafilis"]="8,11";
+w["graafilist"]="11";
+w["grub-custom"]="13";
+w["grub2"]="8,13";
+w["grub2-efi"]="8";
+w["grub2-efi_and_mageia"]="13";
+w["haagitaks"]="4";
+w["haagitud"]="0";
+w["haakepunkt"]="18";
+w["haakepunkti"]="0,18";
+w["haakepunktid"]="18";
+w["haakepunktita"]="4";
+w["haakig"]="11";
+w["hakata"]="5,11";
+w["haldab"]="8";
+w["haldamin"]="15";
+w["haldamis"]="6";
+w["haldamist"]="8";
+w["hallata"]="7";
+w["hangumisi"]="8";
+w["hea"]="10";
+w["heidutada"]="10";
+w["helesinisena"]="4";
+w["helikaart"]="7";
+w["hetk"]="5";
+w["high-spe"]="11";
+w["hiir"]="6";
+w["hinnataks"]="15";
+w["hoiatus"]="0,4,11,18";
+w["hoiatust"]="8";
+w["hoidk"]="11";
+w["home"]="4,11,18";
+w["home-partitsiooni"]="18";
+w["hoolikalt"]="14";
+w["host8"]="11";
+w["http"]="11";
+w["https"]="13";
+w["huvi"]="14";
+w["huvid"]="15";
+w["hävitab"]="11";
+w["hübriids"]="11";
+w["id"]="11";
+w["ide"]="17";
+w["idproduct"]="11";
+w["idvendor"]="11";
+w["if"]="11";
+w["iga"]="4,11";
+w["igal"]="0";
+w["igasugust"]="11";
+w["ikka"]="0,6,7,8,15";
+w["ikoon"]="15";
+w["ikooni"]="15";
+w["ikoonil"]="7";
+w["ilma"]="4,8,11,17";
+w["ilmub"]="5,7,11";
+w["ilmuv"]="18";
+w["imag"]="11";
+w["inglis"]="11";
+w["interneti"]="11,15";
+w["internetiühendus"]="11";
+w["interv"]="11";
+w["irq"]="8";
+w["ise"]="8";
+w["isegi"]="0";
+w["iso"]="11";
+w["iso-d"]="11";
+w["iso-faili"]="11";
+w["iso-failid"]="11";
+w["iso-tõmmi"]="11";
+w["iso-tõmmis"]="11,17";
+w["iso-tõmmisefaili"]="11";
+w["iso-tõmmist"]="11";
+w["isodump"]="11";
+w["ja"]="0,1,2,3,4,5,6,7,8,10,11,14,15,16,17,18";
+w["jagab"]="4";
+w["jagamin"]="4,18";
+w["jagamist"]="0";
+w["jah"]="17";
+w["jaok"]="0,4,11";
+w["jetflash"]="11";
+w["jms"]="11";
+w["juba"]="4,5,7,8,15";
+w["juhtimiskeskus"]="7,9";
+w["juhtu"]="7,17";
+w["juhtub"]="0";
+w["juhtudel"]="17";
+w["juhul"]="4,7,8,11,17";
+w["just"]="3,10,11";
+w["juurd"]="7,11";
+w["juurpartitsioon"]="18";
+w["jäetaks"]="7";
+w["järel"]="3,8,11,17";
+w["järele"]="7";
+w["järeleproovimin"]="7";
+w["järgi"]="6,11";
+w["järgmine"]="8";
+w["järgmisel"]="6,10,19";
+w["järgmisi"]="11";
+w["järgmist"]="4,11";
+w["järgmistest"]="18";
+w["järjekorra"]="3";
+w["jätkake"]="0";
+w["jätkamisek"]="16";
+w["jätkamist"]="14";
+w["jätkata"]="7,11";
+w["jätmine"]="8";
+w["jätmist"]="8";
+w["jätta"]="18";
+w["jääks"]="18";
+w["jäävat"]="4";
+w["jõuat"]="7";
+w["jõuda"]="16";
+w["ka"]="0,4,6,7,8,9,11,15,17,18,19";
+w["kaadril"]="12";
+w["kaart"]="0,8";
+w["kaasneb"]="4";
+w["kahest"]="8,17";
+w["kaht"]="11,15,17";
+w["kak"]="17";
+w["kaotada"]="4";
+w["kaotsi"]="11";
+w["kas"]="0,4,6,7,8,11,12,15,18,19";
+w["kasti"]="8,15";
+w["kastik"]="8";
+w["kastikesest"]="8";
+w["kasulik"]="8";
+w["kasut"]="4,5";
+w["kasuta"]="8";
+w["kasutab"]="8,9";
+w["kasutad"]="4";
+w["kasutada"]="1,4,6,8,11,13,15";
+w["kasutag"]="11";
+w["kasutaj"]="15";
+w["kasutaja"]="15";
+w["kasutajad"]="15";
+w["kasutajaliid"]="8";
+w["kasutajanim"]="8,15";
+w["kasutajanimek"]="8";
+w["kasutajanimi"]="5";
+w["kasutajatunnus"]="15";
+w["kasutama"]="5,11";
+w["kasutamata"]="4,8";
+w["kasutamin"]="4,8,11";
+w["kasutamisek"]="11,15";
+w["kasutamist"]="8";
+w["kasutataks"]="4,15";
+w["kasutatava"]="9,11";
+w["kasutatavad"]="17";
+w["kasutatavat"]="4";
+w["kasutavad"]="4,11";
+w["kasutuseta"]="10";
+w["katkestusi"]="8";
+w["katkestusnõud"]="8";
+w["katkestust"]="8";
+w["kaudu"]="11";
+w["kavandatud"]="4";
+w["kavatset"]="4";
+w["kde"]="5";
+w["kdm-"]="5";
+w["keel"]="9,11,17";
+w["keelamin"]="8";
+w["keelata"]="8";
+w["keelel"]="1";
+w["keeli"]="11";
+w["keelt"]="9";
+w["keerata"]="6";
+w["keerulisemaid"]="8";
+w["kehtivad"]="14";
+w["kehtivast"]="17";
+w["kell"]="12,19";
+w["kellaaega"]="12";
+w["kellaaja"]="12";
+w["kena"]="8";
+w["kern"]="17";
+w["kernelil"]="8";
+w["kes"]="11";
+w["keskel"]="17";
+w["ketast"]="0,4";
+w["ketastega"]="4";
+
diff --git a/draklive/6/et/content/search/index-2.js b/draklive/6/et/content/search/index-2.js
new file mode 100644
index 00000000..0adac57c
--- /dev/null
+++ b/draklive/6/et/content/search/index-2.js
@@ -0,0 +1,492 @@
+//Auto generated index for searching.
+w["ketta"]="0,4,11,18";
+w["kettad"]="4";
+w["kettal"]="4,6,11,17";
+w["kettalt"]="17";
+w["kettast"]="4";
+w["kilbi"]="15";
+w["kilp"]="15";
+w["kindel"]="2,8,15,16,18";
+w["kindla"]="11";
+w["kindlak"]="8,19";
+w["kindlasti"]="0,4,6,11";
+w["kinnitamin"]="2";
+w["kirj"]="6,13";
+w["kirja"]="15";
+w["kirjutab"]="8";
+w["kirjutad"]="15";
+w["kirjutada"]="8,11,15";
+w["kirjutag"]="5,11";
+w["kirjutama"]="11";
+w["kirjutamata"]="17";
+w["kirjutamin"]="11";
+w["kirjutamisprogrammi"]="11";
+w["kirjutanud"]="17";
+w["kirjutasit"]="17";
+w["kirjutati"]="15";
+w["kirjutatud"]="15";
+w["kirjutuskaitstud"]="15";
+w["klahvi"]="17";
+w["klassikalin"]="11";
+w["klassikalis"]="11";
+w["klaviatuuri"]="1,17";
+w["klaviatuuripaigutus"]="1";
+w["klõps"]="14";
+w["klõpsake"]="0,2,3,6,7,8,14,16,18";
+w["klõpsata"]="16";
+w["klõpsate"]="4,8,15,18";
+w["kodukataloog"]="15";
+w["kogu"]="4,14";
+w["koguruumist"]="4";
+w["kohaliku"]="8";
+w["kohalikul"]="11,12,19";
+w["kohalikus"]="11";
+w["kohandada"]="0";
+w["kohandatud"]="0,4,11,16";
+w["kohaselt"]="4";
+w["kohe"]="11,15,17";
+w["kohta"]="8,11,15";
+w["kokku"]="4,8";
+w["kokkuvõtt"]="15";
+w["kollasek"]="15";
+w["kolm"]="0,4,17";
+w["kolmnurgal"]="8";
+w["konfiguratsiooni-"]="8";
+w["konkreets"]="8";
+w["konkreetseid"]="17";
+w["konkreetsest"]="4";
+w["konsool"]="11";
+w["konsooli"]="11";
+w["kontoritöörakendust"]="15";
+w["kontrolleril"]="8";
+w["kontrolli"]="4";
+w["kontrollib"]="8,15";
+w["kontrollida"]="4,7";
+w["kontrollig"]="0,4,11,18,19";
+w["kontrollimin"]="11";
+w["kontrollimisek"]="11";
+w["kontrollitaks"]="15,16";
+w["kontrollitud"]="11";
+w["kontrollsummad"]="11";
+w["koodekid"]="11";
+w["koosneb"]="18";
+w["kopeerimin"]="11";
+w["kopeeritaks"]="10";
+w["kopeeritud"]="11";
+w["kord"]="16";
+w["korda"]="8,15";
+w["korra"]="7,11";
+w["korral"]="4,6,7,8,11,15,17";
+w["korralikult"]="6";
+w["korrekts"]="0";
+w["korrektselt"]="0,4,7";
+w["kriipsukest"]="11";
+w["krüptida"]="0";
+w["krüptimisvalikut"]="0";
+w["kuhu"]="4,18";
+w["kui"]="0,2,3,4,6,7,8,9,10,11,14,15,16,17,18,19";
+w["kuid"]="4,8,15";
+w["kuida"]="4,8,11";
+w["kujul"]="18";
+w["kulg"]="6";
+w["kuni"]="0";
+w["kus"]="11";
+w["kustuta"]="0";
+w["kustutada"]="0,2,10";
+w["kustutamin"]="10";
+w["kustutamisek"]="0";
+w["kustutataks"]="4";
+w["kuueteistkümnendarvud"]="11";
+w["käesoleva"]="8,14";
+w["käigus"]="7,11,17";
+w["käivitab"]="17";
+w["käivitada"]="11,17";
+w["käivitamin"]="7,17";
+w["käivitamis"]="11";
+w["käivitamisek"]="11";
+w["käivitamisel"]="6,17";
+w["käivitamist"]="8";
+w["käivitataks"]="8,17";
+w["käivitatav"]="8,11";
+w["käivituda"]="17";
+w["käsitsi"]="11,13";
+w["käsk"]="6,11";
+w["käsuga"]="11";
+w["käsurea"]="11";
+w["käsutus"]="6";
+w["kättesaadav"]="6";
+w["kõigek"]="15";
+w["kõigepealt"]="0";
+w["kõigi"]="0,4,15";
+w["kõigil"]="7,17";
+w["kõigist"]="4";
+w["kõik"]="0,2,4,6,7,11,15,16,17,19";
+w["kõiki"]="8,11,18";
+w["kõlanud"]="7";
+w["kõll"]="7";
+w["kõneldaks"]="11";
+w["kõvaketa"]="18";
+w["kõvaketast"]="4";
+w["kõvakett"]="2,4,11,17";
+w["kõvaketta"]="2,4,8";
+w["kõvakettal"]="0,7,10,11,17";
+w["kõvakettalt"]="4,17";
+w["kõvakettanumb"]="18";
+w["küll"]="8";
+w["küsitaks"]="8";
+w["laadida"]="0,8,11";
+w["laadimin"]="7,17";
+w["laadinud"]="17";
+w["laaditaks"]="3";
+w["lahendusi"]="4";
+w["lahku"]="17";
+w["lahti"]="6";
+w["laiendada"]="6";
+w["langetanud"]="16";
+w["langetatud"]="7,9";
+w["lasta"]="8,10,15";
+w["lastaks"]="11";
+w["leiab"]="5,11,12,13,17";
+w["leida"]="11";
+w["leidk"]="11";
+w["leidmisek"]="4,11";
+w["leidub"]="6,16";
+w["leiti"]="4,18";
+w["leitud"]="0";
+w["levitataks"]="11";
+w["ligipääsu"]="8";
+w["ligipääsuõigusi"]="15";
+w["lihtsalt"]="7,14,17";
+w["lihtsam"]="11";
+w["liid"]="8";
+w["liiga"]="11";
+w["liikumisek"]="15";
+w["linna"]="19";
+w["linuxi"]="6,11,15,18";
+w["linuxiga"]="4";
+w["lisaargumendid"]="8";
+w["lisab"]="8";
+w["lisada"]="8,15";
+w["lisaketta"]="17";
+w["lisamin"]="0,13,15";
+w["lisasammud"]="17";
+w["lisaseadm"]="17";
+w["lisatud"]="15,17";
+w["litsent"]="14";
+w["litsentsi"]="14";
+w["litsentsilep"]="14";
+w["live-andmekandja"]="11";
+w["live-andmekandjad"]="11";
+w["live-andmekandjat"]="5";
+w["live-cd"]="3";
+w["live-režiim"]="7";
+w["live-režiimi"]="7,17";
+w["live-süsteemina"]="7,17";
+w["livecd"]="7";
+w["livedvd"]="7,11";
+w["liveiso-sid"]="11";
+w["loader"]="6";
+w["logic"]="11";
+w["lohistad"]="4";
+w["lokaadi-"]="10";
+w["lokaliseerimin"]="9";
+w["loob"]="4,8";
+w["looda"]="4";
+w["loodud"]="4,8";
+w["loog"]="4";
+w["loogilisi"]="4";
+w["loomisek"]="4";
+w["lubab"]="4,11";
+w["lubada"]="8";
+w["lubamin"]="8";
+w["lugeda"]="11";
+w["lugeg"]="14";
+w["lugemis-"]="15";
+w["luua"]="0,4,6,11,18";
+w["luuaks"]="4";
+w["läbi"]="14,17";
+w["lähe"]="18";
+w["lähedal"]="19";
+w["lähemalt"]="8";
+w["lähevad"]="11,17";
+w["lõpeta"]="3";
+w["lõpuk"]="5";
+w["lõpus"]="10,11,15";
+w["lülitab"]="8";
+w["lülitad"]="8";
+w["lülitu"]="0";
+w["lültiatud"]="19";
+w["maailmaajal"]="19";
+w["mageia"]="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19";
+w["mageia-6-x86_64-dvd"]="11";
+w["mageiat"]="5,8,11";
+w["maht"]="11";
+w["mahu"]="11";
+w["maksimaals"]="4,11";
+w["manag"]="6";
+w["manufactur"]="11";
+w["masinaga"]="17";
+w["mass"]="11";
+w["master"]="8";
+w["materjali"]="10";
+w["mb"]="11";
+w["mbr"]="8";
+w["mbr-"]="8";
+w["md5sum"]="11";
+w["meeld"]="7";
+w["meetodit"]="8";
+w["megabaitid"]="4";
+w["meie"]="13";
+w["menüü"]="8,17";
+w["menüüga"]="8";
+w["mfr"]="11";
+w["mib"]="4";
+w["microfram"]="11";
+w["mida"]="0,1,4,6,8,11,14,15,17,18";
+w["midagi"]="17,18";
+w["mill"]="1,8,11,16";
+w["millegi"]="4";
+w["millel"]="11,16,17";
+w["millest"]="10,17";
+w["millis"]="16";
+w["millist"]="5,11";
+w["mingeid"]="8";
+w["mingi"]="7";
+w["minukonto@localhost"]="11";
+w["minuti"]="10";
+w["mis"]="4,6,8,11,15,16,17,18,19";
+w["mistõttu"]="4";
+w["mitm"]="8";
+w["mitmiktöötlus"]="8";
+w["mitt"]="6,7,11";
+w["mittevaba"]="11";
+w["mitu"]="8";
+w["mode"]="11";
+w["mudeleid"]="8";
+w["muid"]="15";
+w["muidu"]="17";
+w["muu"]="4,8,11,17";
+w["muud"]="4,12,16";
+w["muudat"]="18";
+w["muuk"]="15";
+w["muul"]="0,11";
+w["muut"]="8";
+w["muuta"]="0,4,8,9,13,15,18";
+w["muutk"]="8";
+w["muutmin"]="13";
+w["muutmis"]="6";
+w["muutub"]="15";
+w["mälu"]="11";
+w["mängimisek"]="15";
+w["märge"]="8";
+w["märgitud"]="16";
+w["märke"]="15";
+w["märkige"]="8,11,18";
+w["märku"]="3";
+w["märkus"]="0,4,13,15,18,19";
+w["määrake"]="19";
+w["määramata"]="18";
+w["määramin"]="15";
+w["määramis"]="8";
+w["määrata"]="0,1,4,8,15,17";
+w["määratlus"]="11";
+w["määratud"]="11";
+w["mõistagi"]="15";
+w["mõistlik"]="4,15";
+w["mõlemad"]="11";
+w["mõlemal"]="11";
+w["mõnda"]="4,8,10,11";
+w["mõne"]="5,10,11";
+w["mõned"]="4,11";
+w["mõnel"]="11";
+w["mõnele"]="6";
+w["mõnest"]="8";
+w["mõnestki"]="6";
+w["mõningat"]="11";
+w["mõte"]="10";
+w["mööda"]="4,18";
+w["nad"]="19";
+w["nagu"]="0,3,4,6,7,17";
+w["natuk"]="11";
+w["need"]="0,3,8,10,11,14";
+w["neid"]="4,11,15";
+w["neil"]="11,18";
+w["neist"]="11,17";
+w["nend"]="4";
+w["nendega"]="14";
+w["net_applet"]="7";
+w["netinstal"]="11";
+w["netinstall-nonfre"]="11";
+w["new"]="11";
+w["nfs-serveri"]="17";
+w["nii"]="0,6,9,11,15";
+w["niinimetatud"]="16";
+w["niisugun"]="4";
+w["niisugust"]="4";
+w["nime"]="0,11,15";
+w["nimetam"]="11";
+w["nimi"]="11";
+w["ning"]="0,2,3,4,5,6,11,15,17,18";
+w["no"]="11";
+w["nt"]="11";
+w["ntfs-vorminguss"]="6";
+w["number"]="11";
+w["numbreid"]="15";
+w["nupuga"]="6";
+w["nupul"]="0,3,14,15";
+w["näeb"]="4,8,10,11,17,18";
+w["näete"]="3,4,8,17";
+w["nägite"]="7";
+w["näha"]="0,4,11,18";
+w["nähtava"]="17";
+w["näidataks"]="18";
+w["näidatav"]="7";
+w["näidatuga"]="11";
+w["näide"]="11";
+w["näitab"]="4,15";
+w["näitek"]="0,4,6,7,8,11,17,18";
+w["nõuab"]="17";
+w["nõus"]="11,14,18";
+w["nõustuda"]="14";
+w["nõustumisek"]="14";
+w["nõustun"]="14";
+w["nõutud"]="3";
+w["nüüd"]="4,5,11";
+w["off"]="11";
+w["ohtlik"]="11";
+w["ole"]="0,2,4,11,14,16";
+w["olek"]="4,11";
+w["oleksid"]="19";
+w["olema"]="0,4,7,8,11";
+w["olemasolev"]="4";
+w["olemasoleva"]="8";
+w["olemasolevad"]="4";
+w["olemasoleval"]="8";
+w["olemasolevat"]="6";
+w["olemasolust"]="17";
+w["olet"]="2,6,11,16,17,18";
+w["olev"]="17";
+w["olevass"]="15";
+w["olg"]="4,6";
+w["olgu"]="8";
+w["olla"]="0,4,8,17";
+w["olulis"]="4";
+w["olulisemad"]="6";
+w["olulistest"]="4";
+w["oma"]="0,2,4,5,6,8,9,11,15,16,17,18,19";
+w["omadus"]="11";
+w["omaett"]="0";
+w["omavahel"]="15";
+w["ongi"]="4,6";
+w["oodataks"]="8";
+w["ootama"]="11";
+w["ooteaeg"]="8";
+w["operatsioonisüsteem"]="8,19";
+w["operatsioonisüsteemi"]="6,8";
+w["operatsioonisüsteemid"]="2,8";
+w["operatsioonisüsteemil"]="8";
+w["operatsioonisüsteemist"]="6,8";
+w["org"]="13";
+w["osa"]="4,8";
+w["osad"]="11";
+w["osast"]="3";
+w["ots"]="17";
+w["otsepaigaldus"]="7";
+w["otsib"]="10";
+w["otsimin"]="8";
+w["paarisarv"]="4";
+w["page"]="11";
+w["paiga"]="18";
+w["paigald"]="0";
+w["paigaldada"]="11,17";
+w["paigaldamata"]="11";
+w["paigaldamin"]="6,7,11,17";
+w["paigaldamis"]="7,8,9,11,15,17";
+w["paigaldamisega"]="7,11";
+w["paigaldamisek"]="4,7,11";
+w["paigaldamist"]="9,14,15";
+w["paigaldataks"]="4,17";
+w["paigaldatud"]="3,8,9";
+w["paigaldus"]="11,17,18";
+w["paigaldusandmekandja"]="11,17";
+w["paigaldusandmekandjad"]="11";
+w["paigaldusandmekandjalt"]="17";
+w["paigaldusek"]="10";
+w["paigaldusel"]="4";
+w["paigaldusprogramm"]="4,8,10";
+w["paigaldusprogrammi"]="4,11";
+w["paigaldust"]="15";
+w["paika"]="8";
+w["paindlikkus"]="11";
+w["pakkuda"]="15";
+w["pakub"]="0,4";
+w["pakutaks"]="11";
+w["pakutavad"]="4";
+w["palju"]="8,18";
+w["paljusid"]="11";
+w["paluda"]="11";
+w["palun"]="14";
+w["palutaks"]="1,3";
+w["panel"]="6";
+w["pang"]="4";
+w["panna"]="8,15";
+w["parajasti"]="3";
+w["parandada"]="11";
+w["parema"]="6";
+w["parool"]="5,8,15";
+w["parooli"]="8,15";
+w["paroolid"]="15";
+w["partit"]="4";
+w["partitsioneerida"]="4,11";
+w["partitsioneerimin"]="0,4,7";
+w["partitsioneerimisnõustaja"]="4";
+w["partitsioneerimistööriista"]="4";
+w["partitsioneerimistööriistu"]="6";
+w["partitsioon"]="0,4,18";
+w["partitsiooni"]="0,4,6,8,11";
+w["partitsioonid"]="0,2,4,6,16,18";
+w["partitsioonidel"]="16";
+w["partitsioonil"]="0,4,6,18";
+w["partitsiooninumb"]="18";
+w["password"]="15";
+w["pea"]="11";
+w["peab"]="0,4";
+w["peaekraanil"]="16";
+w["peak"]="4,8,11";
+w["pealt"]="11";
+w["peamiselt"]="11";
+w["peat"]="11";
+w["peegelsaidi"]="11";
+w["piisavalt"]="15";
+w["pildil"]="11";
+w["pilt"]="4,11";
+w["pisut"]="8";
+w["plasma"]="11";
+w["plokk"]="16";
+w["pole"]="4,8,16,17,18";
+w["poolehoidu"]="6";
+w["potentsiaalselt"]="11";
+w["pq"]="11";
+w["preced"]="4";
+w["printer"]="7";
+w["prioriteedi"]="8";
+w["probleem"]="8";
+w["product"]="11";
+w["programm"]="11";
+w["programmeeritaval"]="8";
+w["programmi"]="8";
+w["proovida"]="7,11";
+w["proovimin"]="7";
+w["protect"]="11";
+w["protseduur"]="8";
+w["protsessori"]="8";
+w["protsessorit"]="8";
+w["puha"]="4";
+w["puhta"]="11";
+w["puhul"]="17,18";
+w["punasest"]="15";
+w["puudub"]="8";
+w["puudumis"]="4";
+w["puudutata"]="8";
+w["pärand"]="0,8";
+
diff --git a/draklive/6/et/content/search/index-3.js b/draklive/6/et/content/search/index-3.js
new file mode 100644
index 00000000..0e01cc50
--- /dev/null
+++ b/draklive/6/et/content/search/index-3.js
@@ -0,0 +1,490 @@
+//Auto generated index for searching.
+w["pärandrežiimi"]="17";
+w["pärandsüsteemi"]="4";
+w["pärast"]="5,9,15";
+w["pärisnimest"]="15";
+w["pärisnimi"]="15";
+w["päästesüsteem"]="6,11";
+w["põhimõtteliselt"]="8";
+w["põhiseadistus"]="8";
+w["põhjal"]="11";
+w["põhjustada"]="8";
+w["püüab"]="8";
+w["püüda"]="11";
+w["raadionupp"]="11";
+w["raamest"]="8";
+w["rakendust"]="11,13";
+w["record"]="8";
+w["reeglit"]="4";
+w["remov"]="11";
+w["restor"]="6";
+w["režiimi"]="17";
+w["ribalaius"]="11";
+w["rida"]="17";
+w["riigi"]="19";
+w["riistvar"]="10";
+w["riistvara"]="4,7,11,17";
+w["riistvaralin"]="19";
+w["riistvarapakett"]="10";
+w["riistvarast"]="17";
+w["riknenud"]="16";
+w["rippmenüüst"]="18";
+w["riskantn"]="4";
+w["rohelin"]="15";
+w["rohelisek"]="15";
+w["rohkem"]="0,4,5,8,11,12,18";
+w["root"]="8,15";
+w["round"]="11";
+w["rufus"]="11";
+w["ruum"]="6";
+w["ruumi"]="4,6";
+w["ruumist"]="6";
+w["saa"]="8,11";
+w["saab"]="0,4,6,7,8,9,11,15,16,17,18,19";
+w["saada"]="6,11,17";
+w["saadaoleva"]="4";
+w["saadaolevaid"]="11";
+w["saadaolevast"]="4";
+w["saadav"]="4";
+w["saadud"]="11";
+w["saaleala"]="4";
+w["saalealak"]="4";
+w["saat"]="0,6,8,11,16";
+w["sai"]="15";
+w["salvestada"]="18";
+w["salvestama"]="11";
+w["salvestusseadet"]="0";
+w["salvestusseadm"]="0";
+w["salvestusseadmel"]="0";
+w["sama"]="8,11,15,19";
+w["samal"]="4";
+w["samasugus"]="17";
+w["samm"]="7";
+w["sammu"]="7";
+w["sammudek"]="17";
+w["sammul"]="10";
+w["samuti"]="4,6,11";
+w["say"]="11";
+w["scsi"]="11";
+w["sd"]="11";
+w["sda"]="0";
+w["sda5"]="18";
+w["sdb"]="0,11";
+w["sdc"]="0,11";
+w["sdd"]="11";
+w["sdd1"]="11";
+w["sdx"]="11";
+w["sead"]="4,11,18";
+w["seadet"]="11";
+w["seadistada"]="7,11,12,17";
+w["seadistamin"]="12,19";
+w["seadistamisvalikud"]="7";
+w["seadistusest"]="17";
+w["seadistusi"]="8";
+w["seadm"]="8,11";
+w["seadmeid"]="7";
+w["seadmenimi"]="11";
+w["seadmetel"]="7";
+w["seal"]="15,16";
+w["seast"]="8";
+w["seatud"]="12,19";
+w["seda"]="0,4,7,8,11,17";
+w["see"]="4,7,8,10,11,15,17";
+w["seejärel"]="6,7,8,10,11,17";
+w["seepärast"]="4";
+w["seisab"]="11";
+w["seisata"]="3";
+w["sektoreid"]="4";
+w["sektorit"]="4";
+w["sektsiooni"]="7";
+w["sekundit"]="8";
+w["sel"]="7,11,17";
+w["selgitab"]="17";
+w["selja"]="6";
+w["sell"]="4,6,8,11,13,15,17,18";
+w["sellega"]="4,7,8,15";
+w["sellek"]="11,13";
+w["sellel"]="4,5,8,10,15";
+w["sellelt"]="8";
+w["sellepärast"]="4";
+w["sellest"]="6,8";
+w["selleta"]="8";
+w["sellin"]="11";
+w["sellis"]="3";
+w["sellisel"]="8";
+w["sellist"]="11";
+w["sens"]="11";
+w["serialnumb"]="11";
+w["serveril"]="17";
+w["sest"]="0,8";
+w["sha1sum"]="11";
+w["sii"]="0,4,7,8,11,14,16,17,19";
+w["siia"]="8,15";
+w["siin"]="0,7,8,11,12,15,16,17,18";
+w["siinkoh"]="11";
+w["siiski"]="8,11,15";
+w["siit"]="11";
+w["sisaldab"]="0,11";
+w["sisaldavad"]="11";
+w["sisemin"]="12";
+w["sisestag"]="11";
+w["sisestasid"]="8";
+w["siss"]="8";
+w["sissejuhatus"]="11";
+w["sisselogimisekraan"]="5";
+w["sisu"]="4";
+w["sisust"]="4";
+w["skanner"]="7";
+w["skannida"]="7";
+w["slp-serveriga"]="17";
+w["smp"]="8";
+w["smp-süsteemi"]="8";
+w["sobib"]="8";
+w["sobiva"]="4,11";
+w["sooritataks"]="17";
+w["sootuk"]="10,11";
+w["soov"]="6";
+w["soovi"]="4,6,8,11";
+w["sooviga"]="6";
+w["soovikohast"]="11";
+w["soovit"]="0,1,2,8,18";
+w["soovitab"]="18";
+w["soovitam"]="4";
+w["soovitatav"]="4,8,15";
+w["space"]="4";
+w["splash"]="17";
+w["ssd-kettal"]="7";
+w["standard"]="8";
+w["standardajal"]="12";
+w["standardi"]="4";
+w["start"]="6";
+w["storag"]="6,11";
+w["string"]="11";
+w["su"]="11";
+w["suletud"]="4";
+w["suudab"]="7";
+w["suur-"]="15";
+w["suurtähti"]="15";
+w["suurun"]="4,11";
+w["suurus"]="4,6,8,11,18";
+w["suurusega"]="4";
+w["suurusel"]="11";
+w["suurusi"]="4";
+w["suurust"]="0,18";
+w["suvalisi"]="8";
+w["sync"]="11";
+w["säilitamin"]="10";
+w["säilivad"]="16";
+w["säästa"]="8";
+w["sõltumata"]="8";
+w["sõltuvad"]="4";
+w["sõltuvalt"]="8,17";
+w["sümmeetrilis"]="8";
+w["süsteem"]="8,9,17";
+w["süsteemi"]="0,4,8,9,11,17";
+w["süsteemist"]="8";
+w["süsteemn"]="0,4";
+w["süsteems"]="8";
+w["taaskäivitab"]="14";
+w["taaskäivitada"]="3";
+w["taaskäivitag"]="6";
+w["taaskäivitamin"]="3";
+w["taaskäivitamis"]="3,17";
+w["taaskäivitusi"]="8";
+w["taastamisek"]="11";
+w["tagapool"]="0";
+w["tagasi"]="2,16,18";
+w["tagasisaamisek"]="6";
+w["tahat"]="8";
+w["tahtmist"]="4,18";
+w["talitag"]="3";
+w["tarbek"]="4,8,18";
+w["tarbetuid"]="10";
+w["tarkvara"]="11";
+w["tarkvaraallikaid"]="3";
+w["tarkvarahaldus"]="3";
+w["tarkvarahoidlast"]="13";
+w["tarvitada"]="11";
+w["tasu"]="10";
+w["tavalin"]="11,15";
+w["tavaliselt"]="15,17";
+w["te"]="2,4,5,8,10,11,14,16,18";
+w["teadlik"]="17";
+w["teat"]="8";
+w["teavet"]="5,8,11,13";
+w["teeb"]="15";
+w["teet"]="8";
+w["tegeliku"]="15";
+w["teha"]="4,11,17";
+w["tehaks"]="10,17";
+w["tehtud"]="0,4";
+w["teid"]="14";
+w["teie"]="4,5,6,8,11,17,19";
+w["teil"]="0,1,3,4,6,18";
+w["tein"]="4,11,17";
+w["teisest"]="8";
+w["teisi"]="6,19";
+w["teisigi"]="8";
+w["teist"]="0,8,15";
+w["teistsugun"]="8";
+w["teistsugusel"]="10";
+w["tekkida"]="6";
+w["tekst"]="17";
+w["tekstikasti"]="15";
+w["terv"]="11";
+w["terviklikkus"]="11";
+w["tervitusekraanil"]="11";
+w["testimin"]="11";
+w["testitud"]="4";
+w["testlehekülj"]="7";
+w["through"]="11";
+w["tingimus"]="14";
+w["tingimustega"]="14";
+w["toeta"]="8";
+w["toetab"]="9";
+w["tohi"]="0";
+w["toimetamin"]="11";
+w["toimi"]="17";
+w["toimingut"]="0";
+w["toimiva"]="11";
+w["toitehaldus"]="8";
+w["toiteliid"]="8";
+w["toodud"]="11";
+w["tool"]="6";
+w["traditsioonilist"]="11";
+w["transcend"]="11";
+w["trükkida"]="7";
+w["tugev"]="15";
+w["tugevak"]="15";
+w["tugevus"]="15";
+w["tugevust"]="15";
+w["tuleb"]="4,8,11,12,13,14,15,17";
+w["tulek"]="4,11";
+w["tulemusek"]="11";
+w["tuletatud"]="15";
+w["tulevast"]="4";
+w["tumesinisena"]="4";
+w["tundmaõppimisek"]="11";
+w["tunneb"]="6";
+w["tunnet"]="14";
+w["tuntud"]="4";
+w["turvalisus"]="8";
+w["tuumaga"]="8";
+w["tuvastab"]="8";
+w["tuvastamis"]="11";
+w["tuvastataks"]="4";
+w["tähele"]="4";
+w["tähelepanu"]="4";
+w["tähendab"]="4,8,11,15,17";
+w["täht"]="6,18";
+w["täieliku"]="4";
+w["täielikult"]="6";
+w["täiesti"]="8";
+w["täiustatud"]="8";
+w["täname"]="14";
+w["täpne"]="8";
+w["täpsemalt"]="3,12";
+w["täpsemat"]="13";
+w["tõepoolest"]="4";
+w["tõmmise"]="11,17";
+w["tõmmisefail"]="11";
+w["tõmmist"]="11";
+w["tõstutundlik"]="15";
+w["tõstutundlikud"]="15";
+w["tõttu"]="4,17";
+w["töökeskkond"]="11";
+w["töökeskkonda"]="11";
+w["töökeskkondi"]="11";
+w["töölaud"]="5";
+w["tööriist"]="11";
+w["tööriista"]="6,11";
+w["tööriistad"]="11";
+w["tühialal"]="4";
+w["tühja"]="10";
+w["tühjendamin"]="4";
+w["tüübi"]="0";
+w["tüübiga"]="0";
+w["tüüp"]="18";
+w["tüüpi"]="11,18";
+w["uefi"]="0,4,8,17";
+w["umask"]="15";
+w["umb"]="4,11";
+w["unicod"]="9";
+w["unknown"]="6";
+w["unustag"]="11";
+w["usb"]="11,17";
+w["usb-pulga"]="11";
+w["usb-pulgal"]="0,11";
+w["usb-pulgalt"]="17";
+w["usb-pulk"]="11,17";
+w["usb-storag"]="11";
+w["use"]="11";
+w["user"]="11";
+w["utc"]="12,19";
+w["utf-8"]="9";
+w["uue"]="6,8";
+w["uuel"]="4,6";
+w["uuemad"]="4";
+w["uuendada"]="11";
+w["uuendamis"]="11";
+w["uuesti"]="8,11,15";
+w["uurida"]="0,16";
+w["uurig"]="8";
+w["uut"]="14";
+w["vaba"]="4,11";
+w["vabanebki"]="6";
+w["vabanenud"]="6";
+w["vahel"]="4,17";
+w["vahendusel"]="11";
+w["vahetada"]="11";
+w["vaid"]="8,11";
+w["vaiida"]="8";
+w["vaikimisi"]="1,8,9";
+w["vaja"]="11,16,18";
+w["vajadustel"]="11";
+w["vajalik"]="9,17";
+w["vajalikku"]="8";
+w["vajalikud"]="15";
+w["vajalikul"]="0";
+w["vajavad"]="11,17";
+w["vajutada"]="17";
+w["valesti"]="11";
+w["valid"]="9,19";
+w["valida"]="0,6,7,8,11,12,16,17,18,19";
+w["valig"]="0,4,6,9,14,15,18";
+w["valik"]="4,8,17";
+w["valiku"]="4,16";
+w["valikud"]="4,8,16";
+w["valikuga"]="4,11";
+w["valikuid"]="11,17";
+w["valikus"]="2,16";
+w["valikut"]="8,9,12,17";
+w["valimak"]="11";
+w["valimata"]="8";
+w["valimin"]="0,1,9,11,17,18";
+w["valimis"]="11";
+w["valimisel"]="4";
+w["valinud"]="11,16";
+w["valisit"]="1";
+w["valitu"]="1";
+w["valitud"]="0,4";
+w["valmi"]="0,11";
+w["valmistu"]="10";
+w["var"]="18";
+w["varasema"]="4";
+w["varasemad"]="11";
+w["varasemalt"]="11";
+w["varasematelt"]="11";
+w["varem"]="1,8";
+w["variandi"]="15";
+w["varuk"]="11";
+w["varukoopia"]="4";
+w["varundada"]="4";
+w["varundag"]="6";
+w["varundanud"]="6";
+w["vasakul"]="6";
+w["vastab"]="1,11";
+w["vastava"]="8";
+w["vastavalt"]="5,11,15";
+w["vastavat"]="17";
+w["vastset"]="5";
+w["veebikaamera"]="7";
+w["veel"]="4,6,16,17";
+w["versioonilt"]="11";
+w["video"]="18";
+w["videokaart"]="7";
+w["videorežiim"]="8";
+w["vihj"]="8,16";
+w["viimasel"]="4,11";
+w["vista"]="6";
+w["vms"]="17";
+w["vormindada"]="6,11,16,18";
+w["vormindamin"]="16";
+w["vormindamis"]="2";
+w["vormindamisek"]="16";
+w["vt"]="0,3,8,15";
+w["väga"]="4,6,8,11,17";
+w["vähegi"]="4,6";
+w["vähem"]="11,15";
+w["vähemalt"]="4,16";
+w["vähendamin"]="4";
+w["väheneb"]="11";
+w["väike"]="11";
+w["väike-"]="15";
+w["väikes"]="11";
+w["väiketähti"]="15";
+w["väliseid"]="8";
+w["välja"]="7,8";
+w["väljalasetelt"]="11";
+w["väljalask"]="14";
+w["väljalaskemärkm"]="14";
+w["väljendit"]="15";
+w["välju"]="14";
+w["väljub"]="8";
+w["väljuda"]="7";
+w["värv"]="15";
+w["värvisügavus"]="8";
+w["või"]="0,4,5,6,7,8,10,11,12,13,15,17,18,19";
+w["võib"]="4,6,7,8,11,17,18";
+w["võida"]="6";
+w["võik"]="11";
+w["võimaldab"]="6,11,17";
+w["võimaldavad"]="8";
+w["võimalik"]="0,7,11";
+w["võimalus"]="4,6,11,17";
+w["võimalusest"]="8";
+w["võimalusi"]="0,12";
+w["võimalust"]="4";
+w["võite"]="5,11,17,18";
+w["võivad"]="0,11";
+w["võrguliid"]="7";
+w["võrgus"]="11,17";
+w["võrreld"]="15";
+w["võrrelg"]="11";
+w["võtab"]="8,10";
+w["võtke"]="11";
+w["võtmed"]="17";
+w["võtmeid"]="17";
+w["võttis"]="6";
+w["võõrast"]="8";
+w["wiki"]="13";
+w["wikist"]="5,11";
+w["win32"]="11";
+w["window"]="4,6,8";
+w["windowsi"]="4,6,8,11";
+w["write"]="11";
+w["x"]="11";
+w["xfce"]="11";
+w["xhci_hcd"]="11";
+w["xp"]="6";
+w[" "]="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19";
+w["©"]="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19";
+w["ära"]="4,6,8";
+w["ärge"]="4,8,11";
+w["äärmiselt"]="4";
+w["õige"]="16";
+w["õigesti"]="4,15";
+w["õigus"]="11";
+w["õigusi"]="15";
+w["õpetus"]="6";
+w["ühendag"]="11";
+w["ühendamist"]="17";
+w["ühendatud"]="17";
+w["ühilduvad"]="4";
+w["ühise"]="11";
+w["üht"]="8,11,17";
+w["ühtegi"]="11";
+w["ühtlasi"]="4,11,17";
+w["ühtmoodi"]="17";
+w["üks"]="4,6,7,11,17";
+w["üksikasjadest"]="11";
+w["ülal"]="15";
+w["üldiselt"]="10";
+w["üldjuhul"]="16";
+w["üldse"]="0,2,6,11";
+w["üle"]="4,11";
+w["ülejäänu"]="4";
+w["ülemiss"]="15";
+w["ülesehitusest"]="4";
+w["ümber"]="17";
+
diff --git a/draklive/6/et/content/search/ja-jp.props b/draklive/6/et/content/search/ja-jp.props
new file mode 100644
index 00000000..27568054
--- /dev/null
+++ b/draklive/6/et/content/search/ja-jp.props
@@ -0,0 +1 @@
+J01=\\u306B \ No newline at end of file
diff --git a/draklive/6/et/content/search/nwSearchFnt.js b/draklive/6/et/content/search/nwSearchFnt.js
new file mode 100644
index 00000000..0111559c
--- /dev/null
+++ b/draklive/6/et/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/draklive/6/et/content/search/punctuation.props b/draklive/6/et/content/search/punctuation.props
new file mode 100644
index 00000000..d3e3fcd2
--- /dev/null
+++ b/draklive/6/et/content/search/punctuation.props
@@ -0,0 +1,31 @@
+Punct01=\\u3002
+Punct02=\\u3003
+Punct03=\\u300C
+Punct04=\\u300D
+Punct05=\\u300E
+Punct06=\\u300F
+Punct07=\\u301D
+Punct08=\\u301E
+Punct09=\\u301F
+Punct10=\\u309B
+Punct11=\\u2018
+Punct12=\\u2019
+Punct13=\\u201A
+Punct14=\\u201C
+Punct15=\\u201D
+Punct16=\\u201E
+Punct17=\\u2032
+Punct18=\\u2033
+Punct19=\\u2035
+Punct20=\\u2039
+Punct21=\\u203A
+Punct22=\\u201E
+Punct23=\\u00BB
+Punct24=\\u00AB
+Punct25=
+Punct26=
+Punct27=\\u00A0
+Punct28=\\u2014
+
+
+
diff --git a/draklive/6/et/content/search/stemmers/de_stemmer.js b/draklive/6/et/content/search/stemmers/de_stemmer.js
new file mode 100644
index 00000000..7ff3822a
--- /dev/null
+++ b/draklive/6/et/content/search/stemmers/de_stemmer.js
@@ -0,0 +1,247 @@
+/*
+ * Author: Joder Illi
+ *
+ * Copyright (c) 2010, FormBlitz AG
+ * All rights reserved.
+ * Implementation of the stemming algorithm from http://snowball.tartarus.org/algorithms/german/stemmer.html
+ * Copyright of the algorithm is: Copyright (c) 2001, Dr Martin Porter and can be found at http://snowball.tartarus.org/license.php
+ *
+ * Redistribution and use in source and binary forms, with or without modification, is covered by the standard BSD license.
+ *
+ */
+
+//var stemmer = function Stemmer() {
+ /*
+ German includes the following accented forms,
+ ä ö ü
+ and a special letter, ß, equivalent to double s.
+ The following letters are vowels:
+ a e i o u y ä ö ü
+ */
+
+ var stemmer = function(word) {
+ /*
+ Put u and y between vowels into upper case
+ */
+ word = word.replace(/([aeiouyäöü])u([aeiouyäöü])/g, '$1U$2');
+ word = word.replace(/([aeiouyäöü])y([aeiouyäöü])/g, '$1Y$2');
+
+ /*
+ and then do the following mappings,
+ (a) replace ß with ss,
+ (a) replace ae with ä, Not doing these, have trouble with diphtongs
+ (a) replace oe with ö, Not doing these, have trouble with diphtongs
+ (a) replace ue with ü unless preceded by q. Not doing these, have trouble with diphtongs
+ So in quelle, ue is not mapped to ü because it follows q, and in feuer it is not mapped because the first part of the rule changes it to feUer, so the u is not found.
+ */
+ word = word.replace(/ß/g, 'ss');
+ //word = word.replace(/ae/g, 'ä');
+ //word = word.replace(/oe/g, 'ö');
+ //word = word.replace(/([^q])ue/g, '$1ü');
+
+ /*
+ R1 and R2 are first set up in the standard way (see the note on R1 and R2), but then R1 is adjusted so that the region before it contains at least 3 letters.
+ R1 is the region after the first non-vowel following a vowel, or is the null region at the end of the word if there is no such non-vowel.
+ R2 is the region after the first non-vowel following a vowel in R1, or is the null region at the end of the word if there is no such non-vowel.
+ */
+
+ var r1Index = word.search(/[aeiouyäöü][^aeiouyäöü]/);
+ var r1 = '';
+ if (r1Index != -1) {
+ r1Index += 2;
+ r1 = word.substring(r1Index);
+ }
+
+ var r2Index = -1;
+ var r2 = '';
+
+ if (r1Index != -1) {
+ var r2Index = r1.search(/[aeiouyäöü][^aeiouyäöü]/);
+ if (r2Index != -1) {
+ r2Index += 2;
+ r2 = r1.substring(r2Index);
+ r2Index += r1Index;
+ } else {
+ r2 = '';
+ }
+ }
+
+ if (r1Index != -1 && r1Index < 3) {
+ r1Index = 3;
+ r1 = word.substring(r1Index);
+ }
+
+ /*
+ Define a valid s-ending as one of b, d, f, g, h, k, l, m, n, r or t.
+ Define a valid st-ending as the same list, excluding letter r.
+ */
+
+ /*
+ Do each of steps 1, 2 and 3.
+ */
+
+ /*
+ Step 1:
+ Search for the longest among the following suffixes,
+ (a) em ern er
+ (b) e en es
+ (c) s (preceded by a valid s-ending)
+ */
+ var a1Index = word.search(/(em|ern|er)$/g);
+ var b1Index = word.search(/(e|en|es)$/g);
+ var c1Index = word.search(/([bdfghklmnrt]s)$/g);
+ if (c1Index != -1) {
+ c1Index++;
+ }
+ var index1 = 10000;
+ var optionUsed1 = '';
+ if (a1Index != -1 && a1Index < index1) {
+ optionUsed1 = 'a';
+ index1 = a1Index;
+ }
+ if (b1Index != -1 && b1Index < index1) {
+ optionUsed1 = 'b';
+ index1 = b1Index;
+ }
+ if (c1Index != -1 && c1Index < index1) {
+ optionUsed1 = 'c';
+ index1 = c1Index;
+ }
+
+ /*
+ and delete if in R1. (Of course the letter of the valid s-ending is not necessarily in R1.) If an ending of group (b) is deleted, and the ending is preceded by niss, delete the final s.
+ (For example, äckern -> äck, ackers -> acker, armes -> arm, bedürfnissen -> bedürfnis)
+ */
+
+ if (index1 != 10000 && r1Index != -1) {
+ if (index1 >= r1Index) {
+ word = word.substring(0, index1);
+ if (optionUsed1 == 'b') {
+ if (word.search(/niss$/) != -1) {
+ word = word.substring(0, word.length -1);
+ }
+ }
+ }
+ }
+ /*
+ Step 2:
+ Search for the longest among the following suffixes,
+ (a) en er est
+ (b) st (preceded by a valid st-ending, itself preceded by at least 3 letters)
+ */
+
+ var a2Index = word.search(/(en|er|est)$/g);
+ var b2Index = word.search(/(.{3}[bdfghklmnt]st)$/g);
+ if (b2Index != -1) {
+ b2Index += 4;
+ }
+
+ var index2 = 10000;
+ var optionUsed2 = '';
+ if (a2Index != -1 && a2Index < index2) {
+ optionUsed2 = 'a';
+ index2 = a2Index;
+ }
+ if (b2Index != -1 && b2Index < index2) {
+ optionUsed2 = 'b';
+ index2 = b2Index;
+ }
+
+ /*
+ and delete if in R1.
+ (For example, derbsten -> derbst by step 1, and derbst -> derb by step 2, since b is a valid st-ending, and is preceded by just 3 letters)
+ */
+
+ if (index2 != 10000 && r1Index != -1) {
+ if (index2 >= r1Index) {
+ word = word.substring(0, index2);
+ }
+ }
+
+ /*
+ Step 3: d-suffixes (*)
+ Search for the longest among the following suffixes, and perform the action indicated.
+ end ung
+ delete if in R2
+ if preceded by ig, delete if in R2 and not preceded by e
+ ig ik isch
+ delete if in R2 and not preceded by e
+ lich heit
+ delete if in R2
+ if preceded by er or en, delete if in R1
+ keit
+ delete if in R2
+ if preceded by lich or ig, delete if in R2
+ */
+
+ var a3Index = word.search(/(end|ung)$/g);
+ var b3Index = word.search(/[^e](ig|ik|isch)$/g);
+ var c3Index = word.search(/(lich|heit)$/g);
+ var d3Index = word.search(/(keit)$/g);
+ if (b3Index != -1) {
+ b3Index ++;
+ }
+
+ var index3 = 10000;
+ var optionUsed3 = '';
+ if (a3Index != -1 && a3Index < index3) {
+ optionUsed3 = 'a';
+ index3 = a3Index;
+ }
+ if (b3Index != -1 && b3Index < index3) {
+ optionUsed3 = 'b';
+ index3 = b3Index;
+ }
+ if (c3Index != -1 && c3Index < index3) {
+ optionUsed3 = 'c';
+ index3 = c3Index;
+ }
+ if (d3Index != -1 && d3Index < index3) {
+ optionUsed3 = 'd';
+ index3 = d3Index;
+ }
+
+ if (index3 != 10000 && r2Index != -1) {
+ if (index3 >= r2Index) {
+ word = word.substring(0, index3);
+ var optionIndex = -1;
+ var optionSubsrt = '';
+ if (optionUsed3 == 'a') {
+ optionIndex = word.search(/[^e](ig)$/);
+ if (optionIndex != -1) {
+ optionIndex++;
+ if (optionIndex >= r2Index) {
+ word = word.substring(0, optionIndex);
+ }
+ }
+ } else if (optionUsed3 == 'c') {
+ optionIndex = word.search(/(er|en)$/);
+ if (optionIndex != -1) {
+ if (optionIndex >= r1Index) {
+ word = word.substring(0, optionIndex);
+ }
+ }
+ } else if (optionUsed3 == 'd') {
+ optionIndex = word.search(/(lich|ig)$/);
+ if (optionIndex != -1) {
+ if (optionIndex >= r2Index) {
+ word = word.substring(0, optionIndex);
+ }
+ }
+ }
+ }
+ }
+
+ /*
+ Finally,
+ turn U and Y back into lower case, and remove the umlaut accent from a, o and u.
+ */
+ word = word.replace(/U/g, 'u');
+ word = word.replace(/Y/g, 'y');
+ word = word.replace(/ä/g, 'a');
+ word = word.replace(/ö/g, 'o');
+ word = word.replace(/ü/g, 'u');
+
+ return word;
+ };
+//} \ No newline at end of file
diff --git a/draklive/6/et/content/search/stemmers/en_stemmer.js b/draklive/6/et/content/search/stemmers/en_stemmer.js
new file mode 100644
index 00000000..f58012f2
--- /dev/null
+++ b/draklive/6/et/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
diff --git a/draklive/6/et/content/search/stemmers/fr_stemmer.js b/draklive/6/et/content/search/stemmers/fr_stemmer.js
new file mode 100644
index 00000000..34f97431
--- /dev/null
+++ b/draklive/6/et/content/search/stemmers/fr_stemmer.js
@@ -0,0 +1,299 @@
+/*
+ * Author: Kasun Gajasinghe
+ * E-Mail: kasunbg AT gmail DOT com
+ * Date: 09.08.2010
+ *
+ * usage: stemmer(word);
+ * ex: var stem = stemmer(foobar);
+ * Implementation of the stemming algorithm from http://snowball.tartarus.org/algorithms/french/stemmer.html
+ *
+ * LICENSE:
+ *
+ * Copyright (c) 2010, Kasun Gajasinghe. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without modification,
+ * are permitted provided that the following conditions are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *
+ *
+ * THIS SOFTWARE IS PROVIDED BY KASUN GAJASINGHE ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
+ * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL KASUN GAJASINGHE BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+ * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
+ * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ */
+
+var stemmer = function(word){
+// Letters in French include the following accented forms,
+// â à ç ë é ê è ï î ô û ù
+// The following letters are vowels:
+// a e i o u y â à ë é ê è ï î ô û ù
+
+ word = word.toLowerCase();
+ var oriWord = word;
+ word = word.replace(/qu/g, 'qU'); //have to perform first, as after the operation, capital U is not treated as a vowel
+ word = word.replace(/([aeiouyâàëéêèïîôûù])u([aeiouyâàëéêèïîôûù])/g, '$1U$2');
+ word = word.replace(/([aeiouyâàëéêèïîôûù])i([aeiouyâàëéêèïîôûù])/g, '$1I$2');
+ word = word.replace(/([aeiouyâàëéêèïîôûù])y/g, '$1Y');
+ word = word.replace(/y([aeiouyâàëéêèïîôûù])/g, 'Y$1');
+
+ var rv='';
+ var rvIndex = -1;
+ if(word.search(/^(par|col|tap)/) != -1 || word.search(/^[aeiouyâàëéêèïîôûù]{2}/) != -1){
+ rv = word.substring(3);
+ rvIndex = 3;
+ } else {
+ rvIndex = word.substring(1).search(/[aeiouyâàëéêèïîôûù]/);
+ if(rvIndex != -1){
+ rvIndex +=2; //+2 is to supplement the substring(1) used to find rvIndex
+ rv = word.substring(rvIndex);
+ } else {
+ rvIndex = word.length;
+ }
+ }
+
+// R1 is the region after the first non-vowel following a vowel, or the end of the word if there is no such non-vowel.
+// R2 is the region after the first non-vowel following a vowel in R1, or the end of the word if there is no such non-vowel
+ var r1Index = word.search(/[aeiouyâàëéêèïîôûù][^aeiouyâàëéêèïîôûù]/);
+ var r1 = '';
+ if (r1Index != -1) {
+ r1Index += 2;
+ r1 = word.substring(r1Index);
+ } else {
+ r1Index = word.length;
+ }
+
+ var r2Index = -1;
+ var r2 = '';
+ if (r1Index != -1) {
+ r2Index = r1.search(/[aeiouyâàëéêèïîôûù][^aeiouyâàëéêèïîôûù]/);
+ if (r2Index != -1) {
+ r2Index += 2;
+ r2 = r1.substring(r2Index);
+ r2Index += r1Index;
+ } else {
+ r2 = '';
+ r2Index = word.length;
+ }
+ }
+ if (r1Index != -1 && r1Index < 3) {
+ r1Index = 3;
+ r1 = word.substring(r1Index);
+ }
+
+ /*
+ Step 1: Standard suffix removal
+ */
+ var a1Index = word.search(/(ance|iqUe|isme|able|iste|eux|ances|iqUes|ismes|ables|istes)$/);
+ var a2Index = word.search(/(atrice|ateur|ation|atrices|ateurs|ations)$/);
+ var a3Index = word.search(/(logie|logies)$/);
+ var a4Index = word.search(/(usion|ution|usions|utions)$/);
+ var a5Index = word.search(/(ence|ences)$/);
+ var a6Index = word.search(/(ement|ements)$/);
+ var a7Index = word.search(/(ité|ités)$/);
+ var a8Index = word.search(/(if|ive|ifs|ives)$/);
+ var a9Index = word.search(/(eaux)$/);
+ var a10Index = word.search(/(aux)$/);
+ var a11Index = word.search(/(euse|euses)$/);
+ var a12Index = word.search(/[^aeiouyâàëéêèïîôûù](issement|issements)$/);
+ var a13Index = word.search(/(amment)$/);
+ var a14Index = word.search(/(emment)$/);
+ var a15Index = word.search(/[aeiouyâàëéêèïîôûù](ment|ments)$/);
+
+ if(a1Index != -1 && a1Index >= r2Index){
+ word = word.substring(0,a1Index);
+ } else if(a2Index != -1 && a2Index >= r2Index){
+ word = word.substring(0,a2Index);
+ var a2Index2 = word.search(/(ic)$/);
+ if(a2Index2 != -1 && a2Index2 >= r2Index){
+ word = word.substring(0, a2Index2); //if preceded by ic, delete if in R2,
+ } else { //else replace by iqU
+ word = word.replace(/(ic)$/,'iqU');
+ }
+ } else if(a3Index != -1 && a3Index >= r2Index){
+ word = word.replace(/(logie|logies)$/,'log'); //replace with log if in R2
+ } else if(a4Index != -1 && a4Index >= r2Index){
+ word = word.replace(/(usion|ution|usions|utions)$/,'u'); //replace with u if in R2
+ } else if(a5Index != -1 && a5Index >= r2Index){
+ word = word.replace(/(ence|ences)$/,'ent'); //replace with ent if in R2
+ } else if(a6Index != -1 && a6Index >= rvIndex){
+ word = word.substring(0,a6Index);
+ if(word.search(/(iv)$/) >= r2Index){
+ word = word.replace(/(iv)$/, '');
+ if(word.search(/(at)$/) >= r2Index){
+ word = word.replace(/(at)$/, '');
+ }
+ } else if(word.search(/(eus)$/) != -1){
+ var a6Index2 = word.search(/(eus)$/);
+ if(a6Index2 >=r2Index){
+ word = word.substring(0, a6Index2);
+ } else if(a6Index2 >= r1Index){
+ word = word.substring(0,a6Index2)+"eux";
+ }
+ } else if(word.search(/(abl|iqU)$/) >= r2Index){
+ word = word.replace(/(abl|iqU)$/,''); //if preceded by abl or iqU, delete if in R2,
+ } else if(word.search(/(ièr|Ièr)$/) >= rvIndex){
+ word = word.replace(/(ièr|Ièr)$/,'i'); //if preceded by abl or iqU, delete if in R2,
+ }
+ } else if(a7Index != -1 && a7Index >= r2Index){
+ word = word.substring(0,a7Index); //delete if in R2
+ if(word.search(/(abil)$/) != -1){ //if preceded by abil, delete if in R2, else replace by abl, otherwise,
+ var a7Index2 = word.search(/(abil)$/);
+ if(a7Index2 >=r2Index){
+ word = word.substring(0, a7Index2);
+ } else {
+ word = word.substring(0,a7Index2)+"abl";
+ }
+ } else if(word.search(/(ic)$/) != -1){
+ var a7Index3 = word.search(/(ic)$/);
+ if(a7Index3 != -1 && a7Index3 >= r2Index){
+ word = word.substring(0, a7Index3); //if preceded by ic, delete if in R2,
+ } else { //else replace by iqU
+ word = word.replace(/(ic)$/,'iqU');
+ }
+ } else if(word.search(/(iv)$/) != r2Index){
+ word = word.replace(/(iv)$/,'');
+ }
+ } else if(a8Index != -1 && a8Index >= r2Index){
+ word = word.substring(0,a8Index);
+ if(word.search(/(at)$/) >= r2Index){
+ word = word.replace(/(at)$/, '');
+ if(word.search(/(ic)$/) >= r2Index){
+ word = word.replace(/(ic)$/, '');
+ } else { word = word.replace(/(ic)$/, 'iqU'); }
+ }
+ } else if(a9Index != -1){ word = word.replace(/(eaux)/,'eau')
+ } else if(a10Index >= r1Index){ word = word.replace(/(aux)/,'al')
+ } else if(a11Index != -1 ){
+ var a11Index2 = word.search(/(euse|euses)$/);
+ if(a11Index2 >=r2Index){
+ word = word.substring(0, a11Index2);
+ } else if(a11Index2 >= r1Index){
+ word = word.substring(0, a11Index2)+"eux";
+ }
+ } else if(a12Index!=-1 && a12Index>=r1Index){
+ word = word.substring(0,a12Index+1); //+1- amendment to non-vowel
+ } else if(a13Index!=-1 && a13Index>=rvIndex){
+ word = word.replace(/(amment)$/,'ant');
+ } else if(a14Index!=-1 && a14Index>=rvIndex){
+ word = word.replace(/(emment)$/,'ent');
+ } else if(a15Index!=-1 && a15Index>=rvIndex){
+ word = word.substring(0,a15Index+1);
+ }
+
+ /* Step 2a: Verb suffixes beginning i*/
+ var wordStep1 = word;
+ var step2aDone = false;
+ if(oriWord == word.toLowerCase() || oriWord.search(/(amment|emment|ment|ments)$/) != -1){
+ step2aDone = true;
+ var b1Regex = /([^aeiouyâàëéêèïîôûù])(îmes|ît|îtes|i|ie|ies|ir|ira|irai|iraIent|irais|irait|iras|irent|irez|iriez|irions|irons|iront|is|issaIent|issais|issait|issant|issante|issantes|issants|isse|issent|isses|issez|issiez|issions|issons|it)$/i;
+ if(word.search(b1Regex) >= rvIndex){
+ word = word.replace(b1Regex,'$1');
+ }
+ }
+
+ /* Step 2b: Other verb suffixes*/
+ if (step2aDone && wordStep1 == word) {
+ if (word.search(/(ions)$/) >= r2Index) {
+ word = word.replace(/(ions)$/, '');
+ } else {
+ var b2Regex = /(é|ée|ées|és|èrent|er|era|erai|eraIent|erais|erait|eras|erez|eriez|erions|erons|eront|ez|iez)$/i;
+ if (word.search(b2Regex) >= rvIndex) {
+ word = word.replace(b2Regex, '');
+ } else {
+ var b3Regex = /e(âmes|ât|âtes|a|ai|aIent|ais|ait|ant|ante|antes|ants|as|asse|assent|asses|assiez|assions)$/i;
+ if (word.search(b3Regex) >= rvIndex) {
+ word = word.replace(b3Regex, '');
+ } else {
+ var b3Regex2 = /(âmes|ât|âtes|a|ai|aIent|ais|ait|ant|ante|antes|ants|as|asse|assent|asses|assiez|assions)$/i;
+ if (word.search(b3Regex2) >= rvIndex) {
+ word = word.replace(b3Regex2, '');
+ }
+ }
+ }
+ }
+ }
+
+ if(oriWord != word.toLowerCase()){
+ /* Step 3 */
+ var rep = '';
+ if(word.search(/Y$/) != -1) {
+ word = word.replace(/Y$/, 'i');
+ } else if(word.search(/ç$/) != -1){
+ word = word.replace(/ç$/, 'c');
+ }
+ } else {
+ /* Step 4 */
+ //If the word ends s, not preceded by a, i, o, u, è or s, delete it.
+ if (word.search(/([^aiouès])s$/) >= rvIndex) {
+ word = word.replace(/([^aiouès])s$/, '$1');
+ }
+ var e1Index = word.search(/ion$/);
+ if (e1Index >= r2Index && word.search(/[st]ion$/) >= rvIndex) {
+ word = word.substring(0, e1Index);
+ } else {
+ var e2Index = word.search(/(ier|ière|Ier|Ière)$/);
+ if (e2Index != -1 && e2Index >= rvIndex) {
+ word = word.substring(0, e2Index) + "i";
+ } else {
+ if (word.search(/e$/) >= rvIndex) {
+ word = word.replace(/e$/, ''); //delete last e
+ } else if (word.search(/guë$/) >= rvIndex) {
+ word = word.replace(/guë$/, 'gu');
+ }
+ }
+ }
+ }
+
+ /* Step 5: Undouble */
+ //word = word.replace(/(en|on|et|el|eil)(n|t|l)$/,'$1');
+ word = word.replace(/(en|on)(n)$/,'$1');
+ word = word.replace(/(ett)$/,'et');
+ word = word.replace(/(el|eil)(l)$/,'$1');
+
+ /* Step 6: Un-accent */
+ word = word.replace(/[éè]([^aeiouyâàëéêèïîôûù]+)$/,'e$1');
+ word = word.toLowerCase();
+ return word;
+};
+
+var eqOut = new Array();
+var noteqOut = new Array();
+var eqCount = 0;
+/*
+To test the stemming, create two arrays named "voc" and "COut" which are for vocabualary and the stemmed output.
+Then add the vocabulary strings and output strings. This method will generate the stemmed output for "voc" and will
+compare the output with COut.
+ (I used porter's voc and out files and did a regex to convert them to js objects. regex: /");\nvoc.push("/g . This
+ will add strings to voc array such that output would look like: voc.push("foobar"); ) drop me an email for any help.
+ */
+function testFr(){
+ var start = new Date().getTime(); //execution time
+ eqCount = 0;
+ eqOut = new Array();
+ noteqOut = new Array();
+ for(var k=0;k<voc.length;k++){
+ if(COut[k]==stemmer(voc[k])){
+ eqCount++;
+ eqOut.push("v: "+voc[k]+" c: "+COut[k]);
+ } else {
+ noteqOut.push(voc[k]+", c: "+COut[k]+" s:"+stemmer(voc[k]));
+ }
+ }
+ var end = new Date().getTime(); //execution time
+ var time = end-start;
+ alert("equal count= "+eqCount+" out of "+voc.length+" words. time= "+time+" ms");
+ //console.log("equal count= "+eqCount+" out of "+voc.length+" words. time= "+time+" ms");
+}
+
+