From 39451af644929d2210b19673ef57e917e2f8b00a Mon Sep 17 00:00:00 2001
From: Claire Revillet
Date: Mon, 9 Jul 2012 14:49:12 +0000
Subject: - add EL, EO, FR, NL, PT_BR and UK pages (still no link from index)
---
installer/2/el/content/search/default.props | 1 +
installer/2/el/content/search/en-us.props | 45 ++
installer/2/el/content/search/es-es.props | 179 +++++++
installer/2/el/content/search/htmlFileInfoList.js | 23 +
installer/2/el/content/search/htmlFileList.js | 24 +
installer/2/el/content/search/index-1.js | 447 ++++++++++++++++++
installer/2/el/content/search/index-2.js | 446 ++++++++++++++++++
installer/2/el/content/search/index-3.js | 443 ++++++++++++++++++
installer/2/el/content/search/ja-jp.props | 1 +
installer/2/el/content/search/nwSearchFnt.js | 513 +++++++++++++++++++++
installer/2/el/content/search/punctuation.props | 31 ++
.../2/el/content/search/stemmers/de_stemmer.js | 247 ++++++++++
.../2/el/content/search/stemmers/en_stemmer.js | 187 ++++++++
.../2/el/content/search/stemmers/fr_stemmer.js | 299 ++++++++++++
14 files changed, 2886 insertions(+)
create mode 100644 installer/2/el/content/search/default.props
create mode 100644 installer/2/el/content/search/en-us.props
create mode 100644 installer/2/el/content/search/es-es.props
create mode 100644 installer/2/el/content/search/htmlFileInfoList.js
create mode 100644 installer/2/el/content/search/htmlFileList.js
create mode 100644 installer/2/el/content/search/index-1.js
create mode 100644 installer/2/el/content/search/index-2.js
create mode 100644 installer/2/el/content/search/index-3.js
create mode 100644 installer/2/el/content/search/ja-jp.props
create mode 100644 installer/2/el/content/search/nwSearchFnt.js
create mode 100644 installer/2/el/content/search/punctuation.props
create mode 100644 installer/2/el/content/search/stemmers/de_stemmer.js
create mode 100644 installer/2/el/content/search/stemmers/en_stemmer.js
create mode 100644 installer/2/el/content/search/stemmers/fr_stemmer.js
(limited to 'installer/2/el/content/search')
diff --git a/installer/2/el/content/search/default.props b/installer/2/el/content/search/default.props
new file mode 100644
index 00000000..22edf439
--- /dev/null
+++ b/installer/2/el/content/search/default.props
@@ -0,0 +1 @@
+DEF01=a
\ No newline at end of file
diff --git a/installer/2/el/content/search/en-us.props b/installer/2/el/content/search/en-us.props
new file mode 100644
index 00000000..da284ce5
--- /dev/null
+++ b/installer/2/el/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/installer/2/el/content/search/es-es.props b/installer/2/el/content/search/es-es.props
new file mode 100644
index 00000000..fb73bdcc
--- /dev/null
+++ b/installer/2/el/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/installer/2/el/content/search/htmlFileInfoList.js b/installer/2/el/content/search/htmlFileInfoList.js
new file mode 100644
index 00000000..344e476b
--- /dev/null
+++ b/installer/2/el/content/search/htmlFileInfoList.js
@@ -0,0 +1,23 @@
+fil = new Array();
+fil["0"]= "exitInstall.html@@@22. Συγχαρητήρια@@@null";
+fil["1"]= "formatPartitions.html@@@13. Μορφοποίηση@@@null";
+fil["2"]= "diskdrake.html@@@12. Προσαρμοσμένη κατάτμηση δίσκων με το DiskDrake@@@null";
+fil["3"]= "setupX.html@@@16. Διαμόρφωση του X, της κάρτας γραφικών και της οθόνης@@@null";
+fil["4"]= "selectLanguage.html@@@2. Παρακαλώ επιλέξτε τη γλώσσα που θα χρησιμοποιηθεί@@@null";
+fil["5"]= "installer.html@@@1. DrakX, ο οδηγός εγκατάστασης της Mageia@@@null";
+fil["6"]= "selectKeyboard.html@@@6. Πληκτρολόγιο@@@null";
+fil["7"]= "installUpdates.html@@@21. Ενημερώσεις@@@null";
+fil["8"]= "setupBootloaderBeginner.html@@@17. Κύριες επιλογές του προγράμματος εκκίνησης@@@null";
+fil["9"]= "ask_mntpoint_s.html@@@11. Επιλογή των σημείων προσάρτησης@@@null";
+fil["10"]= "setupBootloaderExpert.html@@@18. Προχωρημένη χρήση προγράμματος εκκίνησης@@@null";
+fil["11"]= "addUser.html@@@15. Διαχείριση χρήστη και διαχειριστή@@@null";
+fil["12"]= "choosePackages.html@@@14. Επιλογή των πακέτων προς εγκατάσταση@@@null";
+fil["13"]= "acceptLicense.html@@@3. Άδεια χρήσης και Σημειώσεις έκδοσης@@@null";
+fil["14"]= "takeOverHdChoose.html@@@9. Επιλέξτε το σκληρό δίσκο που θα διαγραφεί για τη Mageia@@@null";
+fil["15"]= "selectInstallClass.html@@@5. Εγκατάσταση ή αναβάθμιση@@@null";
+fil["16"]= "setupSCSI.html@@@4. Διαμόρφωση SCSI@@@null";
+fil["17"]= "resizeFATChoose.html@@@8. Αλλαγή μεγέθους κατάτμησης των Windows®@@@null";
+fil["18"]= "misc-params.html@@@19. Σύνοψη των διάφορων παραμέτρων@@@null";
+fil["19"]= "doPartitionDisks.html@@@7. Διαμερισμός@@@null";
+fil["20"]= "takeOverHdConfirm.html@@@10. Επιβεβαίωση του σκληρού δίσκου προς μορφοποίηση@@@null";
+fil["21"]= "selectMouse.html@@@20. Επιλογή ποντικιού@@@null";
diff --git a/installer/2/el/content/search/htmlFileList.js b/installer/2/el/content/search/htmlFileList.js
new file mode 100644
index 00000000..2cff2761
--- /dev/null
+++ b/installer/2/el/content/search/htmlFileList.js
@@ -0,0 +1,24 @@
+//List of files which are indexed.
+fl = new Array();
+fl["0"]= "exitInstall.html";
+fl["1"]= "formatPartitions.html";
+fl["2"]= "diskdrake.html";
+fl["3"]= "setupX.html";
+fl["4"]= "selectLanguage.html";
+fl["5"]= "installer.html";
+fl["6"]= "selectKeyboard.html";
+fl["7"]= "installUpdates.html";
+fl["8"]= "setupBootloaderBeginner.html";
+fl["9"]= "ask_mntpoint_s.html";
+fl["10"]= "setupBootloaderExpert.html";
+fl["11"]= "addUser.html";
+fl["12"]= "choosePackages.html";
+fl["13"]= "acceptLicense.html";
+fl["14"]= "takeOverHdChoose.html";
+fl["15"]= "selectInstallClass.html";
+fl["16"]= "setupSCSI.html";
+fl["17"]= "resizeFATChoose.html";
+fl["18"]= "misc-params.html";
+fl["19"]= "doPartitionDisks.html";
+fl["20"]= "takeOverHdConfirm.html";
+fl["21"]= "selectMouse.html";
diff --git a/installer/2/el/content/search/index-1.js b/installer/2/el/content/search/index-1.js
new file mode 100644
index 00000000..c21aafe4
--- /dev/null
+++ b/installer/2/el/content/search/index-1.js
@@ -0,0 +1,447 @@
+var indexerLanguage="en";
+//Auto generated index for searching.
+w["-"]="10,12,18,21";
+w["-h"]="10";
+w["0"]="10";
+w["1"]="5,8,10,11,12,13,18";
+w["10"]="10,20";
+w["11"]="9";
+w["11η"]="10";
+w["12"]="2";
+w["13"]="1";
+w["14"]="12";
+w["15"]="11";
+w["16"]="3";
+w["17"]="8";
+w["18"]="10";
+w["19"]="18";
+w["2"]="4,5,8,10,11,12,13,18,21";
+w["20"]="21";
+w["2012"]="10";
+w["21"]="7";
+w["22"]="0";
+w["256mb"]="5";
+w["256m»"]="5";
+w["3"]="5,8,11,12,13,18";
+w["4"]="12,16,18";
+w["40_custom"]="10";
+w["5"]="12,15,18";
+w["53"]="10";
+w["6"]="6,18";
+w["7"]="18,19";
+w["8"]="17,18";
+w["8ης"]="10";
+w["9"]="10,14,18";
+w["97»"]="10";
+w["98"]="10";
+w["99"]="10";
+w["access"]="18";
+w["allow"]="18";
+w["alt"]="5,8,15";
+w["awk"]="10";
+w["bash"]="11";
+w["bear"]="18";
+w["bio"]="18";
+w["boot"]="2,8,10";
+w["boot»"]="10";
+w["cauldron"]="9";
+w["cauldron-hom"]="9";
+w["cfg"]="10";
+w["comput"]="18";
+w["core"]="10";
+w["ctrl"]="5,8,15";
+w["d"]="10";
+w["dash"]="11";
+w["debian"]="8,10";
+w["delet"]="5,15";
+w["depend"]="18";
+w["dev"]="10";
+w["df"]="8,10";
+w["diskdrak"]="2";
+w["drakx"]="1,3,5,6,8,9,11,16,18,19";
+w["dvd"]="8,18";
+w["en"]="6";
+w["enter"]="5";
+w["esc"]="5";
+w["etc"]="10";
+w["evdev"]="21";
+w["everyth"]="18";
+w["exit"]="10";
+w["f1"]="5";
+w["f2"]="5,8,15";
+w["f7"]="8";
+w["firewal"]="18";
+w["ftp"]="18";
+w["gcin"]="18";
+w["gmt"]="18";
+w["gnome"]="3,10,12";
+w["gnu-linux"]="5";
+w["grub"]="8,10,18";
+w["grub-instal"]="10";
+w["grub2"]="8,10";
+w["grub2-instal"]="10";
+w["grub2»"]="10";
+w["guest"]="11";
+w["hd0"]="10";
+w["hd1"]="10";
+w["hime"]="18";
+w["home"]="9,11,15,18";
+w["http"]="18";
+w["i386-pc"]="10";
+w["ibus"]="18";
+w["id"]="11";
+w["img"]="10";
+w["kde"]="3,12";
+w["kernel"]="10";
+w["keyboard_layout"]="6";
+w["kwrite"]="10";
+w["legaci"]="10";
+w["lilo"]="18";
+w["linux"]="8,9,11,19";
+w["live-cd"]="18";
+w["localedrak"]="18";
+w["lst"]="10";
+w["lxde"]="3,12";
+w["mageia"]="0,3,4,5,7,8,10,11,12,13,14,15,17,18,19";
+w["mandriva"]="10";
+w["master"]="8";
+w["may"]="18";
+w["mbr"]="8";
+w["mem"]="5";
+w["menu"]="10";
+w["mind"]="18";
+w["no"]="18";
+w["note"]="11";
+w["org"]="0,6";
+w["os-prob"]="10";
+w["os-prober-1"]="10";
+w["print"]="10";
+w["prober"]="10";
+w["problem"]="10";
+w["ps"]="21";
+w["ram"]="5";
+w["rbash"]="11";
+w["read"]="10";
+w["record"]="8";
+w["riski"]="18";
+w["root"]="8,9,10,11,18";
+w["scim"]="18";
+w["scsi"]="16";
+w["sda"]="2,8";
+w["sda1"]="10";
+w["sda7"]="8";
+w["sdb"]="2";
+w["sdb11"]="10";
+w["sdc"]="2";
+w["section 16"]="18";
+w["select"]="18";
+w["servic"]="18";
+w["sh"]="11";
+w["stick"]="2,11,12";
+w["su"]="10";
+w["sudo"]="10";
+w["system"]="3,18";
+w["that"]="18";
+w["titl"]="10";
+w["tmp"]="8";
+w["tty2"]="8";
+w["ubuntu"]="8,10";
+w["unicod"]="4";
+w["usb"]="2,11,12,21";
+w["use"]="18";
+w["utc"]="18";
+w["utf-8"]="4";
+w["var"]="9";
+w["veri"]="18";
+w["version"]="10";
+w["video"]="9";
+w["what"]="18";
+w["wiki"]="6";
+w["wikipedia"]="6";
+w["will"]="18";
+w["window"]="3,8,17,19";
+w["windows®"]="17";
+w["wish"]="18";
+w["www"]="0";
+w["x"]="3,12,18";
+w["x201c"]="5,8,10,12,18";
+w["x201d"]="5,8,10,12,18";
+w["xx"]="10";
+w["xxx"]="5";
+w["xxxm"]="5";
+w[" "]="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21";
+w[" άδεια"]="13";
+w[" αλλαγή"]="17";
+w[" διαμερισμός"]="19";
+w[" διαμόρφωση"]="3,16";
+w[" διαχείριση"]="11";
+w[" εγκατάσταση"]="15";
+w[" εισαγωγή"]="11";
+w[" ενημερώσεις"]="7";
+w[" επιβεβαίωση"]="20";
+w[" επιλέξτε"]="14";
+w[" επιλογή"]="9,21";
+w[" μορφοποίηση"]="1";
+w[" ορίστε"]="11";
+w[" παρακαλώ"]="4";
+w[" πληκτρολόγιο"]="6";
+w[" προσαρμοσμένη"]="2";
+w[" προχωρημένη"]="11";
+w[" σημειώσεις"]="13";
+w[" συγχαρητήρια"]="0";
+w["«"]="10";
+w["«10»"]="10";
+w["«boot"]="5";
+w["«gedit»"]="10";
+w["«gnu"]="10";
+w["«grub2-install»"]="10";
+w["«grub»"]="10";
+w["«hd1»"]="10";
+w["«kwrite»"]="10";
+w["«mem"]="5";
+w["«noauto»"]="5";
+w["«non-free»"]="18";
+w["«root»"]="10";
+w["«sda5»"]="9";
+w["«sda»"]="8";
+w["«text»"]="5";
+w["«ubuntu»"]="10";
+w["«vgalo»"]="5";
+w["«αριθμός"]="9";
+w["«εγκατάσταση"]="8,15";
+w["«καθαρή»"]="19";
+w["«ναι»"]="3";
+w["«παγώνει»"]="5";
+w["«πολλαπλές"]="4";
+w["«ρυθμίστε"]="18";
+w["«σημείο"]="9";
+w["«σκληρός"]="9";
+w["«συσκευή»"]="9";
+w["«σύστημα»"]="18";
+w["«τύπος»"]="9";
+w["«χωρητικότητα»"]="9";
+w["®"]="8,17";
+w["»"]="5";
+w["΄στη"]="10";
+w["άδειας"]="13";
+w["άκρη"]="11";
+w["άλλα"]="8";
+w["άλλες"]="9,18";
+w["άλλη"]="2,6";
+w["άλλο"]="3,8,11,12,21";
+w["άλλον"]="19";
+w["άλλους"]="4";
+w["άλλων"]="18";
+w["άμεσης"]="3";
+w["έγγραφα"]="18";
+w["έγινε"]="2";
+w["έκδοση"]="7,8,10,13,15";
+w["έκδοσης"]="13";
+w["έκτατο"]="10";
+w["έλεγχο"]="19";
+w["έλεγχος"]="1";
+w["έμπειρος"]="5";
+w["ένα"]="0,2,5,6,8,10,11,12,15,18,19,21";
+w["έναν"]="6,10,11,12";
+w["ένας"]="5,11,12,18";
+w["έξι"]="21";
+w["έξοδο"]="10";
+w["έξοδος"]="13";
+w["έξυπνες"]="18";
+w["έπειτα"]="7,13";
+w["έρχονται"]="12";
+w["έτοιμος-η"]="2";
+w["έτσι"]="3,10";
+w["έχει"]="1,3,5,8,10,11,15,18";
+w["έχετε"]="0,1,2,6,8,9,10,11,15,17,18,19";
+w["έχουν"]="1,7,12,18,19";
+w["έως"]="2,3";
+w["ή"]="0,2,3,4,5,6,7,8,9,10,11,12,15,18,19,21";
+w["ήδη"]="8,10,19";
+w["ήθελαν"]="18";
+w["ήταν"]="5,10,15";
+w["ήχου"]="18";
+w["ίδια"]="4,5,10,12,15,18";
+w["ίδιο"]="11,12";
+w["ίδιος"]="11";
+w["ίσως"]="5,6,8,12,18";
+w["α"]="6";
+w["αγνοήσετε"]="6,18";
+w["αδύνατη"]="5";
+w["αιτία"]="5";
+w["ακολουθήσει"]="18";
+w["ακολουθήσετε"]="8";
+w["ακολουθεί"]="9";
+w["ακολούθως"]="9,10";
+w["ακριβής"]="8";
+w["ακριβώς"]="8";
+w["ακόμα"]="8,9,10,11";
+w["αλλά"]="5,11,15,18";
+w["αλλάζετε"]="18";
+w["αλλάξει"]="0,11";
+w["αλλάξετε"]="2,4,8,9,11,18";
+w["αλλάξτε"]="2,10,18";
+w["αλλαγή"]="9";
+w["αλληλογραφία"]="18";
+w["αμέσως"]="11";
+w["αμφιβάλλετε"]="3";
+w["αν"]="0,1,2,3,4,5,6,7,8,9,10,11,12,13,15,16,18,19,20,21";
+w["ανάλογα"]="11,12,18,19";
+w["ανάλυση"]="3,5";
+w["ανάπτυξή"]="18";
+w["αναβάθμισή"]="5";
+w["αναβάθμιση"]="10,15";
+w["αναβάθμιση»"]="15";
+w["αναβάθμισης»"]="8";
+w["αναβαθμίσετε"]="15";
+w["αναγνωρίσει"]="16";
+w["αναγνωριστικό"]="6,11";
+w["αναζητήστε"]="10";
+w["αναιρεθεί"]="14";
+w["ανακαλύψετε"]="15";
+w["αναλάβει"]="16";
+w["ανανέωσης"]="3";
+w["αναπτύσσοντας"]="4";
+w["αναφέρει"]="5";
+w["ανοίξει"]="5";
+w["ανοίξετε"]="10";
+w["ανοίξτε"]="10";
+w["αντίγραφα"]="19";
+w["αντικαταστήσετε"]="8";
+w["αντικαταστήστε"]="10";
+w["αντικατασταθεί"]="10";
+w["αντικείμενο"]="8,10";
+w["αντιμετώπιση"]="10";
+w["απαντήσετε"]="3";
+w["απαραίτητο"]="3,5";
+w["απαραίτητων"]="16";
+w["απενεργοποίηση"]="3,4,18";
+w["απενεργοποιήσετε"]="11";
+w["απενεργοποιηθεί"]="4,12";
+w["απλά"]="3,13";
+w["αποδεχτείτε"]="13";
+w["αποδοχή"]="13";
+w["αποεπιλέγοντας"]="12";
+w["αποθήκευση"]="9,12";
+w["αποθήκευσης"]="2";
+w["αποθετήρια"]="18";
+w["αποθηκεύει"]="11";
+w["αποθηκεύσετε"]="12";
+w["αποθηκεύστε"]="10";
+w["αποκερμάτωση"]="19";
+w["αποκτήσει"]="18";
+w["απολαύστε"]="0";
+w["απορίες"]="0";
+w["αποτέλεσμα"]="8,16";
+w["αποτελεί"]="19";
+w["αποτύχει"]="5,10,16";
+w["αποφασίσετε"]="5,8,13,15";
+w["από"]="0,2,3,4,5,6,7,8,9,10,11,12,15,17,18,19,21";
+w["απόκριση"]="21";
+w["απόλυτα"]="5,15";
+w["αργότερα"]="5";
+w["αργότερη"]="8";
+w["αριθμό"]="11";
+w["αριθμών"]="11";
+w["αρκετά"]="11";
+w["αρχεία"]="11,18,19";
+w["αρχείο"]="8,10,12";
+w["αρχείων"]="2,19";
+w["αρχική"]="5";
+w["αρχικής"]="5";
+w["ασία"]="18";
+w["ασιατικές"]="18";
+w["ασπίδα"]="11";
+w["ασπίδας"]="11";
+w["ασφάλεια"]="0,18";
+w["ασφάλειας"]="18";
+w["ασφαλείας"]="18,19";
+w["ασφαλώς"]="6";
+w["ασύρματου"]="18";
+w["αυτά"]="2,5,7,8,15,18";
+w["αυτές"]="4,15";
+w["αυτή"]="1,4,5,6,8,10,11,12,13,14,15,18,19";
+w["αυτήν"]="3,6,8,12,17,18,19";
+w["αυτής"]="12,18";
+w["αυτοί"]="13";
+w["αυτούς"]="12";
+w["αυτό"]="3,4,5,6,8,10,11,12,15,16,18,19";
+w["αυτόματα"]="0,8,10";
+w["αυτόματο"]="4";
+w["αυτόματος"]="5";
+w["αυτόν"]="11,12";
+w["αυτών"]="18";
+w["αφήσει"]="5,15";
+w["αφήσετε"]="9";
+w["αφήστε"]="18";
+w["αφαιρέσετε"]="2";
+w["αφαιρέστε"]="10";
+w["αφού"]="12,18";
+w["αφρική"]="18";
+w["αφρικανικές"]="18";
+w["βάθος"]="3";
+w["βέβαιος-η"]="1";
+w["βήμα"]="5";
+w["βήματα"]="5,8,12,15";
+w["βασισμένα"]="3";
+w["βασισμένο"]="6,8,10";
+w["βελτιωθεί"]="7";
+w["βημάτων"]="5";
+w["βλέπετε"]="9,10";
+w["βοήθεια"]="5,8";
+w["βοήθειας"]="5,12,18";
+w["βοηθά"]="8";
+w["βοηθήσει"]="5";
+w["βρέθηκαν"]="9";
+w["βρήκε"]="19";
+w["βρίσκεται"]="6,8,10";
+w["βρίσκονται"]="10";
+w["βρείτε"]="5";
+w["βρεθεί"]="6,19";
+w["γίνει"]="1,8";
+w["γίνεται"]="5";
+w["γενική"]="18";
+w["γενικού"]="3";
+w["γενικό"]="10,21";
+w["για"]="1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21";
+w["γλωσσών"]="4";
+w["γλώσσα"]="4,6,15,18";
+w["γλώσσας"]="4,5,15";
+w["γλώσσες"]="4";
+w["γλώσσες»"]="4";
+w["γνωρίζετε"]="4,6,8,11,18";
+w["γνωστή"]="18";
+w["γνωστό"]="3,10";
+w["γράμμα"]="9";
+w["γρήγορη"]="8";
+w["γραμμάτων"]="11";
+w["γραμμή"]="10";
+w["γραφείου"]="11";
+w["γραφική"]="3";
+w["γραφικό"]="3,5,8,12";
+w["γραφικών"]="3,5,18";
+w["δίκτυο"]="18";
+w["δίκτυό"]="18";
+w["δίνει"]="19";
+w["δίπλα"]="8";
+w["δίσκο"]="2,8,14,19,20";
+w["δίσκος"]="10";
+w["δίσκος»"]="9";
+w["δίσκου"]="8,9,14,19,20";
+w["δίσκου»"]="9";
+w["δίσκους"]="16,19";
+w["δίσκων"]="2,10,19";
+w["δαίμονες"]="18";
+w["δείτε"]="1,2,3,5,6,8,9,10,11,12,13,18,19";
+w["δείχνει"]="10,11";
+w["δεδομένα"]="1,14,19";
+w["δεδομένων"]="9,18,20";
+w["δει"]="18";
+w["δεν"]="0,1,2,3,4,5,6,7,8,9,10,11,14,15,16,18,19,20,21";
+w["δεύτερη"]="10";
+w["δεύτερος"]="10";
+w["δηλαδή"]="8,19";
+w["δηλώσετε"]="16";
+w["δημιουργήσει"]="8";
+w["δημιουργήσετε"]="2,9";
+
diff --git a/installer/2/el/content/search/index-2.js b/installer/2/el/content/search/index-2.js
new file mode 100644
index 00000000..66bbceb1
--- /dev/null
+++ b/installer/2/el/content/search/index-2.js
@@ -0,0 +1,446 @@
+//Auto generated index for searching.
+w["δημιουργία"]="19";
+w["δημιουργεί"]="8";
+w["δημιουργηθεί"]="17";
+w["δημιουργούν"]="10";
+w["διάκριση"]="11";
+w["διάλογο"]="6";
+w["διάρκεια"]="12";
+w["διάταξη"]="2,6,18";
+w["διάταξης"]="4,6";
+w["διάφορες"]="0,5";
+w["διάφορων"]="18";
+w["διαβάσει"]="10";
+w["διαβάστε"]="10,13";
+w["διαγράφεται"]="11";
+w["διαγράψει"]="19";
+w["διαγραφή"]="9,19,20";
+w["διαγραφεί"]="14";
+w["διαγραφούν"]="14";
+w["διαδίκτυο"]="7,11,18";
+w["διαδικασία"]="8";
+w["διαδικτύου"]="18";
+w["διαθέσιμες"]="5,19";
+w["διαθέσιμη"]="5,19";
+w["διαθέσιμο"]="3";
+w["διαθέτετε"]="16,19";
+w["διαθέτουν"]="5";
+w["διακρίνεται"]="12";
+w["διακόψετε"]="5,15";
+w["διαμερισμού"]="19";
+w["διαμερισμό"]="8,19";
+w["διαμεσολαβητές"]="18";
+w["διαμεσολαβητή"]="18";
+w["διαμορφωθεί"]="14";
+w["διαμορφώσετε"]="18,21";
+w["διαμορφώστε"]="18";
+w["διαμόρφωση"]="0,16,18";
+w["διαμόρφωσης"]="3,8";
+w["διανομή"]="13";
+w["διανομών"]="8";
+w["διατήρηση"]="8";
+w["διατηρηθούν"]="1,3";
+w["διατρέχει"]="19";
+w["διαφορετικά"]="2,8,9";
+w["διαφορετική"]="10";
+w["διαχείριση"]="11,18";
+w["διαχειριστή"]="11,18";
+w["διαχειριστείτε"]="4";
+w["διαχωρισμένη"]="5";
+w["διεπαφή"]="3";
+w["διεργασία"]="5";
+w["διευκολύνουν"]="12";
+w["δικά"]="18";
+w["δικαιώματα"]="11";
+w["δικτύου"]="18";
+w["δικό"]="9,18";
+w["διορθωθεί"]="10";
+w["διορθώσετε"]="18";
+w["δισκέτας"]="12";
+w["διόρθωση"]="10";
+w["δοκιμάσετε"]="5";
+w["δοκιμάστε"]="10";
+w["δοκιμή"]="3";
+w["δοκιμής"]="3";
+w["δουλεύουν"]="21";
+w["δρα"]="18";
+w["δυνατή"]="2,4,10";
+w["δυνατό"]="18";
+w["δυνατόν"]="5";
+w["δυο"]="12";
+w["δυσλειτουργία"]="18";
+w["δύο"]="12";
+w["είναι"]="2,3,4,5,6,8,9,10,11,12,15,16,18,19,21";
+w["είσαστε"]="18";
+w["είστε"]="1,2,5,7,8,9,10,15,19,20,21";
+w["είτε"]="5";
+w["εγγυόμαστε"]="8";
+w["εγγύηση"]="19";
+w["εγκατάστασή"]="0,5,12";
+w["εγκατάσταση"]="0,3,4,5,6,8,10,12,13,14,15,16,17,18,19";
+w["εγκατάστασης"]="4,5,8,9,12,15,19";
+w["εγκαταστάσεις"]="11,15";
+w["εγκαταστήσει"]="8";
+w["εγκαταστήσετε"]="4,7,8,10,12";
+w["εγκαταστήστε"]="8";
+w["εγκατασταθούν"]="18";
+w["εγκατεστημένα"]="8,12";
+w["εγκατεστημένες"]="4";
+w["εγκατεστημένο"]="4";
+w["εγκατεστημένου"]="18";
+w["εδώ"]="1,2,3,6,8,9,11,12,18,21";
+w["ειδικές"]="5";
+w["ειδική"]="12";
+w["ειδών"]="18";
+w["εικονίδιο"]="11,12";
+w["εικόνες"]="18";
+w["εισάγετε"]="10,11,18";
+w["εισάγοντας"]="10";
+w["εισάγουν"]="18";
+w["εισαγωγής"]="11,18";
+w["εκ"]="3,10,18";
+w["εκδόσεις"]="8,10";
+w["εκεί"]="6,10,18";
+w["εκθέσουν"]="18";
+w["εκκίνηση"]="2,8,18";
+w["εκκίνησης"]="0,8,10,18";
+w["εκκινήσει"]="5";
+w["εκκινήσετε"]="8,10";
+w["εκκινήστε"]="10";
+w["εκκινηθεί"]="0";
+w["εκκινηθούν"]="18";
+w["εκτέλεση"]="8";
+w["εκτελέστε"]="10";
+w["εκτελούνται"]="18";
+w["εκτελώντας"]="18";
+w["εκτός"]="18,19";
+w["ελάχιστη"]="12";
+w["ελέγξει"]="11";
+w["ελέγξετε"]="3,8,18,19";
+w["ελέγξτε"]="10";
+w["ελέγχου"]="4,18";
+w["ελαφρύ"]="12";
+w["ελεγκτών"]="16";
+w["ελεγχθεί"]="11";
+w["ελεύθερου"]="8,19";
+w["ελεύθερους"]="18";
+w["εμφανίζεται"]="3,9,10,18";
+w["εμφανίζονται"]="12";
+w["εμφανιστεί"]="11,18";
+w["εν"]="8,10";
+w["ενέργεια"]="14,19";
+w["ενέργειες"]="2";
+w["εναλλαγή"]="6";
+w["ενεργοποίηση"]="3,11,18";
+w["ενεργοποιήσει"]="18";
+w["ενεργοποιήσετε"]="11";
+w["ενημέρωση"]="10";
+w["ενημερωθεί"]="7";
+w["ενημερώσεων"]="5,15";
+w["εντάξει"]="18";
+w["εντολή"]="10";
+w["εντοπίζει"]="16";
+w["εντοπίσει"]="8";
+w["εντοπίστηκε"]="18";
+w["εντοπισμένο"]="2";
+w["εντοπισμό"]="5,16";
+w["εντοπισμός"]="5";
+w["ενός"]="6,8,10,11";
+w["ενότητα"]="8,12,18";
+w["εξαναγκασμός"]="21";
+w["εξαρτάται"]="10,18";
+w["εξειδικευμένο"]="12";
+w["εξηγούνται"]="8";
+w["εξυπηρετητής"]="12,18";
+w["επέλεξε"]="18";
+w["επίπεδο"]="18";
+w["επίσης"]="3,4,5,6,11,12,18,19";
+w["επαναλάβετε"]="11";
+w["επανεκκίνηση"]="0,5,8,10,13,15,18";
+w["επανεκκινήσετε"]="0";
+w["επαφών"]="18";
+w["επεξεργασία"]="10";
+w["επεξεργαστή"]="10";
+w["επεξεργαστείτε"]="10,11";
+w["επιβεβαιώστε"]="5";
+w["επιθεωρείστε"]="8";
+w["επιθυμείτε"]="1,2,3,6,7,9,12,20";
+w["επιθυμητή"]="2,3";
+w["επιλέγει"]="6,18";
+w["επιλέγετε"]="3";
+w["επιλέγοντας"]="12,18";
+w["επιλέξατε"]="6,8,20";
+w["επιλέξει"]="1,3,6";
+w["επιλέξετε"]="0,1,3,4,5,6,8,9,12,15,18,21";
+w["επιλέξτε"]="2,3,4,6,7,8,9,12,13,14,17,18,21";
+w["επιλεγμένες"]="18";
+w["επιλεγμένη"]="2,4,18";
+w["επιλεγμένο"]="14,19";
+w["επιλεχθεί"]="0";
+w["επιλογές"]="3,5,8,9,10,11,12,18,19";
+w["επιλογή"]="1,2,3,4,5,6,12,14,15,18,19,21";
+w["επιλογής"]="4,5,6,12,15";
+w["επιπλέον"]="4,5,6,11,12,15,18";
+w["επιπροσθέτως"]="2";
+w["επισκέπτη"]="11";
+w["επισκέπτης"]="11";
+w["επιστρέφετε"]="8";
+w["επιστρέψει"]="10";
+w["επιστρέψετε"]="1,3,6,15";
+w["επιτρέπει"]="11,18";
+w["επιτρέπουν"]="18";
+w["επιτρέψει"]="8,15,19";
+w["επιτρέψετε"]="8";
+w["επιτυχής"]="3";
+w["επιφάνειας"]="12";
+w["επιφέρει"]="8";
+w["εποπτεία"]="18";
+w["επόμενα"]="15";
+w["επόμενη"]="8,12,18";
+w["επόμενο"]="1,7,9,11,13,20";
+w["εργαλείο"]="18";
+w["εργαλείων"]="12";
+w["εργασίας"]="3,12";
+w["εργασιών"]="18";
+w["ερωτηθείτε"]="3,6,12";
+w["εσάς"]="4,18";
+w["εσείς"]="16";
+w["εσφαλμένα"]="10";
+w["εσφαλμένη"]="3,12,18";
+w["ετικέτα"]="6";
+w["ευκολότερα"]="5";
+w["ευρύτερο"]="18";
+w["ευχαριστημένος"]="21";
+w["εφαρμογές"]="11";
+w["εφαρμογών"]="12";
+w["εφαρμοστεί"]="4";
+w["εφικτή"]="5,15";
+w["εφικτό"]="3";
+w["εύκολα"]="12";
+w["εύκολη"]="10";
+w["ζώνη"]="18";
+w["ζώνης"]="18";
+w["η"]="0,2,3,4,5,6,7,8,9,10,11,12,14,15,16,18,19";
+w["ημερομηνία"]="8";
+w["ηπείρου"]="4";
+w["θέλατε"]="19";
+w["θέλετε"]="0,5,15,18";
+w["θέλουν"]="12";
+w["θέσει"]="16";
+w["θέση"]="3,8,10,16,18";
+w["θα"]="0,1,2,3,4,5,6,8,10,11,12,13,14,15,16,17,18,19";
+w["θυμηθείτε"]="8";
+w["ιαπωνικά"]="18";
+w["ιδιότητες"]="19";
+w["ικανοποιούν"]="8";
+w["ινδία"]="18";
+w["ινδίας"]="18";
+w["ισχυρός"]="11";
+w["ισχύουν"]="13";
+w["κάθε"]="2,5,8,9,19";
+w["κάθετες"]="3";
+w["κάλλιστα"]="5,15";
+w["κάνατε"]="11,18";
+w["κάνει"]="1,8,10,11,19";
+w["κάνετε"]="1,5,6,7,8,9,10,11,12,15,18";
+w["κάνοντας"]="3,12,18";
+w["κάνουν"]="11,12,18";
+w["κάντε"]="1,2,6,7,8,9,10,12,13,18,20";
+w["κάποια"]="2,3,5,6,15,19";
+w["κάποιο"]="6,12,21";
+w["κάποιον"]="19";
+w["κάποιου"]="8";
+w["κάπου"]="10";
+w["κάρτα"]="3,18";
+w["κάρτας"]="3,18";
+w["κάρτες"]="5,18";
+w["κάτι"]="10,11,12,18,19";
+w["κάτω"]="12,18";
+w["κέλυφος"]="11";
+w["κέντρο"]="4,18";
+w["κέντρου"]="18";
+w["κίνδυνο"]="19";
+w["καθένας"]="18";
+w["καθαρίσετε"]="2";
+w["καθαρίστε"]="2";
+w["καθαρισμό"]="8";
+w["καθαρισμός"]="2";
+w["καθενός"]="12";
+w["καθορίζει"]="5";
+w["καθώς"]="11";
+w["και"]="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,18,19,20,21";
+w["καλά"]="5,15,18";
+w["καλές"]="18";
+w["καλή"]="21";
+w["καλλωπιστικά"]="12";
+w["καλωσορίσματος"]="5";
+w["καλύτερα"]="18";
+w["κανονιστικός"]="18";
+w["καρτέλα"]="2";
+w["κατά"]="3,5,8,10,11,12,15,18";
+w["κατάδειξης"]="18";
+w["κατάληξη"]="10";
+w["κατάλληλο"]="4,6";
+w["κατάλληλος"]="17";
+w["κατάλληλου"]="19";
+w["κατάλογο"]="18";
+w["κατάλογό"]="11";
+w["κατάσταση"]="5,15";
+w["κατάτμησή"]="8";
+w["κατάτμηση"]="2,5,8,9,10,15,19";
+w["κατάτμησης"]="2,17,19";
+w["κατάτμησης»"]="9";
+w["καταλληλότερο"]="18";
+w["κατασκευαστών"]="3";
+w["καταστρέψει"]="3";
+w["κατατμήσεις"]="1,2,9,10,17,19";
+w["κατατμήσεων"]="9,19,20";
+w["καταχώρηση"]="10";
+w["κατεργάρηδες"]="18";
+w["κειμένου"]="5,11";
+w["κενό"]="9";
+w["κεφαλαίων"]="11";
+w["κινέζικα"]="18";
+w["κλέψουν"]="18";
+w["κλείσει"]="19";
+w["κλείσετε"]="10";
+w["κλειδί"]="10";
+w["κλικ"]="1,2,3,6,7,8,9,11,12,13,18,20";
+w["κλπ"]="18";
+w["κοντά"]="18";
+w["κορεάτικα"]="18";
+w["κουμπί"]="3,8,11,12,13,18";
+w["κουμπιά"]="5,21";
+w["κουμπιού"]="5";
+w["κριθεί"]="5";
+w["κρυπτογράφηση"]="2";
+w["κρυπτογράφησης"]="2";
+w["κυκλοφόρησε"]="7";
+w["κυλήστε"]="12,18";
+w["κυλιόμενη"]="11";
+w["κυλιόμενο"]="9";
+w["κωδικοί"]="11";
+w["κωδικού"]="11";
+w["κωδικό"]="10,11";
+w["κωδικός"]="11";
+w["κόκκινο"]="11";
+w["κύρια"]="1";
+w["κύριες"]="8,10,18";
+w["λάβετε"]="18";
+w["λάθος"]="11";
+w["λέγεται"]="10,11";
+w["λέξη"]="5,10";
+w["λήψη"]="7";
+w["λίστα"]="3,4,6,11,18,19";
+w["λίστας"]="18";
+w["λανθασμένα"]="5";
+w["λατινικού"]="6";
+w["λατινικούς"]="6";
+w["λειτουργήσιμο"]="5,15";
+w["λειτουργήσουν"]="18";
+w["λειτουργία"]="5,8,16";
+w["λειτουργίας"]="3";
+w["λειτουργίες"]="18";
+w["λειτουργεί"]="3,5,8";
+w["λειτουργικά"]="8,18";
+w["λειτουργικού"]="8";
+w["λειτουργικό"]="8";
+w["λειτουργικών"]="0,20";
+w["λεπτομέρειες"]="10,12";
+w["λιγότερα"]="11,12";
+w["λογαριασμού"]="11";
+w["λογαριασμό"]="11";
+w["λογαριασμός"]="11";
+w["λοιπά"]="18";
+w["λοιπών"]="11";
+w["λόγω"]="8,10";
+w["λύσεις"]="5,19";
+w["λύση"]="8,10";
+w["μέγεθος"]="5,17";
+w["μέγεθός"]="2,9";
+w["μέθοδο"]="18";
+w["μέθοδοι"]="18";
+w["μέθοδος"]="18";
+w["μέρη"]="19";
+w["μέρος"]="12,18";
+w["μέσο"]="18";
+w["μέσος"]="11";
+w["μέσω"]="18";
+w["μήνυμα"]="10";
+w["μαϊου"]="10";
+w["μαύρη"]="5";
+w["με"]="0,2,4,5,6,8,9,10,11,12,15,16,18,19,21";
+w["μεγέθους"]="17,19";
+w["μεθόδου"]="18";
+w["μειωθεί"]="17";
+w["μεμονωμένων"]="12";
+w["μενού"]="0,5,8,9,10,18";
+w["μερικά"]="5,7";
+w["μερικές"]="5,10";
+w["μερικών"]="12";
+w["μεσάζοντας"]="18";
+w["μετά"]="0,4,5,6,8,12,18";
+w["μετάβαση"]="5";
+w["μεταβείτε"]="0,5,8,12,15,18";
+w["μετακινηθεί"]="19";
+w["μεταξύ"]="0,6,11,12,18";
+w["μετράνε"]="10";
+w["μη"]="5,6,15,19";
+w["μηδέν"]="10";
+w["μην"]="8,10,11,12,13,15,18,19";
+w["μια"]="2,3,4,5,6,8,9,10,11,12,15,17,18,19,21";
+w["μιας"]="2,9,18";
+w["μικρά"]="18";
+w["μικτών"]="11";
+w["μνήμη"]="5";
+w["μορφή"]="11";
+w["μορφοποίηση"]="1,9,20";
+w["μορφοποιήσετε"]="1";
+w["μορφοποιηθεί"]="5,15";
+w["μορφοποιηθούν"]="1";
+w["μπορεί"]="3,4,5,10,12,14,16,18,19";
+w["μπορείτε"]="0,1,2,3,4,5,6,8,9,10,11,12,15,18,19,21";
+w["μπορούν"]="18,19";
+w["μπορούσε"]="5,15";
+w["μπροστά"]="18";
+w["μόνο"]="18";
+w["νέα"]="10,15,19";
+w["νέο"]="8,10,13";
+w["νέος"]="5";
+w["νέου"]="3,18";
+w["να"]="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,21";
+w["ναι"]="7";
+w["νωρίτερα"]="8,10";
+w["νόμισμα"]="18";
+w["ξανά"]="1,5,11";
+w["ξεκινήσει"]="5,15";
+w["ξεκινήσετε"]="2";
+w["ξεχάσατε"]="15";
+w["ξεχάσετε"]="10,18";
+w["ξεχωριστή"]="2";
+w["ο"]="5,10,11,15,17,18,19";
+w["οδήγησε"]="12,18";
+w["οδηγίες"]="10";
+w["οδηγοί"]="10";
+w["οδηγού"]="16";
+w["οδηγούς"]="16,18";
+w["οδηγό"]="4,5";
+w["οδηγός"]="5,15,19";
+w["οδηγών"]="16";
+w["οθόνες"]="5,18";
+w["οθόνη"]="0,1,3,4,5,6,8,9,11,12,15,18,19";
+w["οθόνης"]="3,5";
+w["οθόνης”"]="18";
+w["οι"]="1,3,5,8,10,11,13,18,19";
+w["ολα"]="19";
+w["ολοκληρώσει"]="0";
+w["ολόκληρη"]="13";
+w["ολόκληρο"]="19";
+w["ολόκληρου"]="19";
+w["ομάδα"]="18";
+w["ομάδας"]="11,12";
+w["ομάδες"]="12,18";
+w["ομάδων"]="12";
+w["ονόματος"]="11";
+w["οποία"]="5,10,18,19";
+
diff --git a/installer/2/el/content/search/index-3.js b/installer/2/el/content/search/index-3.js
new file mode 100644
index 00000000..95ac0fb8
--- /dev/null
+++ b/installer/2/el/content/search/index-3.js
@@ -0,0 +1,443 @@
+//Auto generated index for searching.
+w["οποίες"]="1,5,10";
+w["οποίο"]="6,8,19";
+w["οποίοι"]="18";
+w["οποιαδήποτε"]="9,12";
+w["οποιοδήποτε"]="3,21";
+w["ορίσετε"]="3,5,11,16,18";
+w["ορίστε"]="3";
+w["ορθό"]="4,11";
+w["οριζόντιες"]="3";
+w["ορισμένες"]="5";
+w["ορισμένων"]="3,16,18";
+w["οριστεί"]="2,6,18";
+w["οριστική"]="10";
+w["οτιδήποτε"]="2,11,18";
+w["οφείλεται"]="5";
+w["ούτε"]="12";
+w["π"]="5,6,8,10";
+w["πάγωμα"]="5";
+w["πάντα"]="3,9,12";
+w["πάνω"]="12,18";
+w["πάρει"]="19";
+w["πάρτε"]="10";
+w["πάτημα"]="5";
+w["πέρασμα"]="12";
+w["πίνακα"]="5";
+w["παίξει"]="11";
+w["παιχνίδια"]="11";
+w["πακέτα"]="7,12";
+w["πακέτων"]="12,18";
+w["παλαιότερα"]="5";
+w["παλαιότερες"]="10";
+w["παλαιότερων"]="16";
+w["παλιό"]="5";
+w["πανομοιότυπες"]="18";
+w["παράγωγων"]="8";
+w["παράδειγμα"]="2,9";
+w["παράθυρο"]="5";
+w["παράμετρο"]="5";
+w["παράμετροι"]="18";
+w["παρέχουν"]="18";
+w["παρακάτω"]="3,5,10,12,18,19";
+w["παρακαλώ"]="10,12,13,18";
+w["παρακαμφθεί"]="5";
+w["παρακολουθήσετε"]="5";
+w["παραλείψατε"]="18";
+w["παραμέτρους"]="3,16,18";
+w["παραμέτρων"]="3,18";
+w["παρασκήνιο"]="18";
+w["παρουσιαστούν"]="5";
+w["παρόλα"]="5,15";
+w["παρόλο"]="4";
+w["πατήστε"]="5,15";
+w["πατώντας"]="5,12,15,18";
+w["πεδία"]="11";
+w["πεδίο"]="9";
+w["πεζών"]="11";
+w["περίπτωση"]="5,8,19";
+w["περιέχει"]="8";
+w["περιβάλλον"]="3,5,12";
+w["περιβάλλοντα"]="12";
+w["περιβάλλοντος"]="12";
+w["περιεχόμενο"]="12,19";
+w["περιεχόμενό"]="2,19";
+w["περιορισμένη"]="11";
+w["περιορισμένο"]="8";
+w["περιοχή"]="18";
+w["περιοχής"]="19";
+w["περιπτώσεις"]="5,8,18";
+w["περισσοτέρων"]="4";
+w["περισσότερα"]="0,6,18,21";
+w["περισσότερες"]="4,5,8,10,12,15,17,18";
+w["περισσότερη"]="11";
+w["περισσότερο"]="18";
+w["πια"]="5,15";
+w["πιθανά"]="19";
+w["πιθανές"]="5";
+w["πιθανή"]="8";
+w["πιθανότητα"]="4";
+w["πιθανώς"]="10,12";
+w["πιο"]="8,12";
+w["πλήκτρα"]="5,15";
+w["πλήρες"]="12";
+w["πλήρη"]="6,19";
+w["πλαίσιο"]="8,11";
+w["πλαισίου"]="11";
+w["πλευρικό"]="5";
+w["πληκτρολογήσει"]="11";
+w["πληκτρολογήσετε"]="11";
+w["πληκτρολογήστε"]="5,8";
+w["πληκτρολογίου"]="4,6,18";
+w["πληκτρολογείτε"]="11";
+w["πληκτρολογώντας"]="5";
+w["πληκτρολόγηση"]="11";
+w["πληκτρολόγιο"]="6,18";
+w["πληκτρολόγιό"]="6";
+w["πληροφορίες"]="5,12,18";
+w["πλοηγηθεί"]="11";
+w["ποια"]="6";
+w["ποιες"]="1,16,18";
+w["ποικίλουν"]="19";
+w["πολλές"]="9";
+w["πολλαπλά"]="9";
+w["πολλαπλές"]="4";
+w["πολλαπλών"]="4";
+w["πολυγλωσσικούς"]="18";
+w["πολύ"]="5,8,15,18";
+w["ποντίκι"]="18,21";
+w["ποντικιού"]="12,21";
+w["που"]="1,3,4,5,6,7,8,9,10,11,12,14,15,16,17,18,19,20,21";
+w["πράσινη"]="11";
+w["πράσινο"]="11";
+w["πρέπει"]="2,4,8,10,11,13,14,16,17,18,19";
+w["πραγματική"]="18";
+w["πραγματικού"]="11";
+w["πραγματικό"]="11";
+w["πραγματοποίησε"]="18";
+w["πραγματοποιήσει"]="8,16,18";
+w["πραγματοποιήσετε"]="3,5,7,8,9,12";
+w["πραγματοποιηθεί"]="5";
+w["πριν"]="2,5,8,13,15,18,19";
+w["προβλήματα"]="5";
+w["προβλήματος"]="10";
+w["προβολή"]="12";
+w["προγράμματα"]="18";
+w["προγράμματος"]="0,8,10,18";
+w["προεπιλεγμένα"]="12";
+w["προεπιλογή"]="4,8,11,12";
+w["προηγουμένως"]="18";
+w["προηγούμενα"]="12";
+w["προηγούμενη"]="5,11";
+w["προηγούμενο"]="1,9,20";
+w["προκαθορισμένες"]="18";
+w["προκαθορισμένη"]="5,18";
+w["προκαθορισμένο"]="6,11";
+w["προκαλέσει"]="18,19";
+w["προμηθευτή"]="6";
+w["προορίζεται"]="12";
+w["προς"]="8,11,12,18,20";
+w["προσάρτησης"]="2,9";
+w["προσάρτησης»"]="9";
+w["προσαρμοσμένη"]="9,10,12";
+w["προσαρμοσμένο"]="1,3,12,19";
+w["προσαρμόσετε"]="12";
+w["προσδιορίσετε"]="10";
+w["προσεκτικά"]="13,18,19";
+w["προσεκτικός-ή"]="19";
+w["προσθέσατε"]="18";
+w["προσθέσετε"]="4,8,12,18";
+w["προσθέστε"]="10,11";
+w["προσθέτετε"]="11,18";
+w["προσθήκη"]="4,8,10,12";
+w["προσοχή"]="19";
+w["προσπαθήστε"]="5";
+w["προσπαθεί"]="8";
+w["προστασίας"]="18";
+w["προστεθεί"]="10";
+w["προσωπικό"]="11";
+w["προτάσεις"]="9";
+w["προτείνει"]="9";
+w["προτιμάτε"]="4,12";
+w["προτιμώμενη"]="4,10,18";
+w["προτροπή"]="5";
+w["προχωρημένες"]="5";
+w["προχωρημένη"]="8,10";
+w["προχωρημένους"]="1,8,11";
+w["πρόγραμμα"]="8,18";
+w["πρόκειται"]="5,11";
+w["πρόσβαση"]="9,11";
+w["πρόσβασης"]="10,11";
+w["πρόσφατες"]="8";
+w["πρώτα"]="2,4,10";
+w["πρώτη"]="4,5,18";
+w["πρώτο"]="6";
+w["πρώτου"]="8,11";
+w["πυρήνα"]="5,10";
+w["πως"]="6,18";
+w["πόλη"]="18";
+w["πόσο"]="11";
+w["ρολογιού"]="18";
+w["ρυθμίζετε"]="18";
+w["ρυθμίσεις"]="0,3,5,8,11,18";
+w["ρυθμίσετε"]="2,3,18";
+w["ρυθμίσεων"]="18";
+w["ρυθμιστεί"]="18";
+w["ρωτήστε"]="6";
+w["ρύθμιση"]="18";
+w["σίγουρος"]="5,15";
+w["σίγουρος-η"]="1,9,20";
+w["σαν"]="10";
+w["σας"]="0,1,2,3,4,5,6,8,9,10,11,12,13,15,16,18,19,21";
+w["σας»"]="18";
+w["σε"]="1,2,3,4,5,6,8,9,10,11,12,13,15,16,18,19,21";
+w["σειρά"]="5,10";
+w["σελίδα"]="8,12,18";
+w["σελίδας"]="12,18";
+w["σημαίνει"]="10,11,19";
+w["σημαντικά"]="11";
+w["σημαντικό"]="18";
+w["σημαντικών"]="18,19";
+w["σημασία"]="3";
+w["σημεία"]="9";
+w["σημείο"]="2,9";
+w["σημείου"]="9";
+w["σημείων"]="9";
+w["σημείωση"]="10";
+w["σημειωθεί"]="1,4";
+w["σημειώσεις"]="13";
+w["σημειώσετε"]="10";
+w["σημειώστε"]="8,10,19";
+w["σιγουρευτείτε"]="2,3,6,9,14,18";
+w["σκεφτείτε"]="5,15";
+w["σκληρού"]="8,9,14,20";
+w["σκληρούς"]="16,19";
+w["σκληρό"]="2,14,19,20";
+w["σκληρός"]="10";
+w["σκληρών"]="19";
+w["σκοπεύετε"]="19";
+w["σκοπό"]="19";
+w["σλάιντ"]="12";
+w["σπάνιες"]="5";
+w["στα"]="6,15,18";
+w["σταθμό"]="12";
+w["σταθμός"]="12";
+w["σταματησετε"]="8";
+w["στη"]="0,1,2,5,6,8,9,10,12,15,16,18";
+w["στην"]="0,1,2,3,4,5,8,9,10,11,12,14,15,18,19";
+w["στιγμή"]="5,7,8,15";
+w["στιγμήν"]="8";
+w["στις"]="1,8,12,18";
+w["στο"]="0,1,2,4,5,6,7,8,9,10,11,12,13,15,16,18,19,20";
+w["στοιχεία"]="12";
+w["στον"]="0,5,6,8,9,11,12,14,16,18,19,20";
+w["στους"]="18,19";
+w["στόχο"]="18";
+w["συγκεκριμένη"]="7";
+w["συγκεκριμένο"]="20";
+w["συγκρίνοντάς"]="11";
+w["συζήτηση"]="10";
+w["συμβαίνει"]="16";
+w["συμβατές"]="19";
+w["συμβατό"]="10";
+w["συμβεί"]="5";
+w["συμβουλευτείτε"]="18";
+w["συμπεριλάβει"]="8";
+w["συμπεριφορά"]="6";
+w["συμφωνείτε"]="9";
+w["συνέχεια"]="1,2,5,9,12,15,16";
+w["συνήθως"]="1,5,11,16,18,21";
+w["συνδεδεμένος-η"]="7";
+w["συνδεθεί"]="11";
+w["συνδεθείτε"]="10";
+w["συνδυασμό"]="12";
+w["συνδυαστεί"]="5";
+w["συνεισφέρετε"]="0";
+w["συνεχίσετε"]="1,6,7,13,19";
+w["συνεχίστε"]="2,5";
+w["συνθήκες"]="13";
+w["συνιστάται"]="11";
+w["συντελείται"]="9";
+w["συρρίκνωση"]="19";
+w["συσκευές"]="18";
+w["συσκευή"]="2,8";
+w["συστήματα"]="5,8,18";
+w["συστήματος"]="8,10,18";
+w["συστήματός"]="4,18";
+w["συστημάτων"]="0,18,20";
+w["συχνότητα"]="3";
+w["συχνότητες"]="3";
+w["σφάλμα"]="10,18";
+w["σφαιροδείκτες"]="18";
+w["σχέση"]="11";
+w["σχήμα"]="5";
+w["σχήμα 1"]="5";
+w["σχεδιαστεί"]="5";
+w["σχετικά"]="5,10,12";
+w["σχετικές"]="18";
+w["σχετικό"]="12,18";
+w["σωστά"]="3,8,9,10,16,19";
+w["σωστές"]="3,18";
+w["σωστή"]="1,3,6,12,18";
+w["σωστού"]="14";
+w["σωστό"]="5";
+w["σύνδεσης"]="11";
+w["σύνδεσμο"]="12,18";
+w["σύνδεσμοι"]="12,18";
+w["σύνολο"]="12";
+w["σύνολό"]="18";
+w["σύνοψη"]="18";
+w["σύνοψης"]="8";
+w["σύστημά"]="4,8,10,15";
+w["σύστημα"]="2,4,5,8,10,12,15";
+w["τέλος"]="8";
+w["τέσσερις"]="18";
+w["τέτοιο"]="8";
+w["τίποτα"]="3,18";
+w["τίτλο"]="12";
+w["τα"]="1,5,7,8,9,11,12,14,15,18,19,21";
+w["ταινιών"]="9";
+w["ταιριάζει"]="18";
+w["ταμπλέτες"]="18";
+w["ταξινομηθεί"]="12";
+w["ταυτοποιήσετε"]="10";
+w["ταυτοποιηθεί"]="10";
+w["ταυτοποιηθούν"]="8";
+w["ταυτόχρονα"]="5,15";
+w["τεκμηρίωση"]="8,12";
+w["τελειοποιήσετε"]="18";
+w["τελευταία"]="10,15,19";
+w["τελικά"]="13";
+w["τερματικό"]="5,10,15";
+w["τη"]="2,3,4,5,6,7,8,10,12,13,14,15,18,19";
+w["την"]="0,1,2,3,4,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21";
+w["της"]="0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,17,18,19";
+w["τι"]="1,9,11,13,18";
+w["τις"]="0,1,2,3,4,5,8,9,11,12,13,16,18,19";
+w["τμήμα"]="10,19";
+w["τμήμα 1"]="5";
+w["τμήμα 14"]="12";
+w["τμήμα 17"]="10,18";
+w["τμήμα 18"]="8";
+w["τμήμα 19"]="18";
+w["τμήματα"]="1";
+w["το"]="1,2,3,4,5,6,7,8,9,10,11,12,14,15,16,17,18,19,20";
+w["τοίχο"]="18";
+w["τοίχος"]="18";
+w["τομέας"]="18";
+w["τον"]="0,4,5,6,8,9,10,11,12,16,18,19";
+w["τονίσετε"]="18";
+w["τοπική"]="18";
+w["τοπικότητα"]="4";
+w["τοπικότητες"]="18";
+w["τοποθέτησης"]="3";
+w["τοποθεσία"]="8,18";
+w["του"]="0,2,3,4,5,6,8,9,10,11,12,13,14,16,18,19,20,21";
+w["τουλάχιστον"]="1";
+w["τους"]="11,12,13,16,18,19";
+w["τούτου"]="10";
+w["τρέχον"]="5";
+w["τρία"]="2,5,15";
+w["τρίγωνο"]="18";
+w["τρόπο"]="4,12";
+w["τυπικά"]="5";
+w["τυπικούς"]="11";
+w["τυπικό"]="18";
+w["τυχόν"]="11";
+w["των"]="0,2,3,5,6,8,9,12,15,16,17,18,19,20";
+w["τότε"]="4,5,8,10,12,19";
+w["τύπο"]="9,18";
+w["τύπου"]="3";
+w["τώρα"]="0,4,5,7,10";
+w["υλικού"]="5,18";
+w["υλικό"]="5,18";
+w["υπάρχει"]="1,2,3,4,6,10,11,13";
+w["υπάρχον"]="8";
+w["υπάρχοντος"]="8,10";
+w["υπάρχουν"]="2,12,18";
+w["υπάρχουσα"]="19";
+w["υπαρχουσών"]="19";
+w["υπερχρήστη"]="11";
+w["υπηρεσία"]="18";
+w["υπηρεσίας"]="18";
+w["υπηρεσίες"]="18";
+w["υποδείξεις"]="12";
+w["υπολογιστή"]="0,2,5,6,8,9,11,13,15,18";
+w["υποστήριξη"]="4";
+w["υποστήριξης"]="4";
+w["υποστηρίζονται"]="8";
+w["υπόδειξη"]="18";
+w["υπόλοιπες"]="2";
+w["φάκελος"]="10";
+w["φαίνεται"]="6,18";
+w["φανεί"]="19";
+w["φορά"]="11,19";
+w["φορές"]="5";
+w["φτάσετε"]="5";
+w["φόρουμ"]="10";
+w["φόρτωσή"]="12";
+w["χ"]="5,8,10";
+w["χάσετε"]="19";
+w["χαλασμένα"]="1";
+w["χαμηλή"]="5";
+w["χαρακτήρες"]="6,18";
+w["χαρακτήρων"]="11";
+w["χαρακτηριστικά"]="6";
+w["χειροκίνητα"]="3,5,8,10,12,16,18";
+w["χειροκίνητη"]="12";
+w["χρήση"]="8,10,11,12,18,19";
+w["χρήσης"]="13";
+w["χρήσιμο"]="19";
+w["χρήσιμων"]="12";
+w["χρήστες"]="4,11,18";
+w["χρήστη"]="3,11";
+w["χρήστης"]="5,11";
+w["χρειάζεστε"]="9,12,18";
+w["χρειάζεται"]="1,3,11,16,18";
+w["χρειάστηκε"]="10";
+w["χρειαζόσαστε"]="5";
+w["χρειαστεί"]="5,18";
+w["χρειαστείτε"]="4";
+w["χρειαστούν"]="5";
+w["χρησιμοποιήθηκαν"]="19";
+w["χρησιμοποιήσει"]="4,11,19";
+w["χρησιμοποιήσετε"]="2,4,5,8,10,12,19";
+w["χρησιμοποιήστε"]="10,15";
+w["χρησιμοποιεί"]="4,10";
+w["χρησιμοποιείται"]="11";
+w["χρησιμοποιείτε"]="10";
+w["χρησιμοποιηθεί"]="4,19";
+w["χρησιμοποιηθούν"]="19";
+w["χρησιμοποιούμενο"]="19";
+w["χρησιμοποιούν"]="8";
+w["χρησιμοποιώντας"]="5,8";
+w["χρηστών"]="18";
+w["χρώμα"]="11";
+w["χρώματος"]="3";
+w["χωρίς"]="5,8,18";
+w["χώρα"]="18";
+w["χώρες"]="18";
+w["χώρο"]="8,19";
+w["χώρος"]="17";
+w["χώρου"]="8,19";
+w["ως"]="3,4,6,9,10,18";
+w["ωστόσο"]="8,12,16,19";
+w["όλα"]="3,11,14,18,19";
+w["όλες"]="2,4,11,18";
+w["όλοι"]="11";
+w["όλων"]="2,18,20";
+w["όμορφο"]="8";
+w["όνομα"]="11";
+w["όπου"]="5";
+w["όπως"]="2,8,9,12,18";
+w["όροι"]="13";
+w["όρους"]="13";
+w["όσο"]="5";
+w["όταν"]="1,2,18";
+w["ότι"]="1,2,3,4,5,6,8,9,10,11,15,18,19";
+w["ότου"]="2";
+w["όχι"]="7,10";
+w["ώρα"]="18";
+w["ώρας"]="18";
+w["ώστε"]="3,4,10,11,12,17,18";
+
diff --git a/installer/2/el/content/search/ja-jp.props b/installer/2/el/content/search/ja-jp.props
new file mode 100644
index 00000000..27568054
--- /dev/null
+++ b/installer/2/el/content/search/ja-jp.props
@@ -0,0 +1 @@
+J01=\\u306B
\ No newline at end of file
diff --git a/installer/2/el/content/search/nwSearchFnt.js b/installer/2/el/content/search/nwSearchFnt.js
new file mode 100644
index 00000000..0c4336d7
--- /dev/null
+++ b/installer/2/el/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("" + txt_results_for + " " + "" + fileAndWordList[i][0].motslisteDisplay + "" + "
");
+
+ linkTab.push("");
+ for (t in fileAndWordList[i]) {
+ //DEBUG: alert(": "+ fileAndWordList[i][t].filenb+" " +fileAndWordList[i][t].motsliste);
+ //linkTab.push("- "+fl[fileAndWordList[i][t].filenb]+"
");
+ 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 = "- " + tempTitle + "";
+ // var linkString = "
- " + tempTitle + "";
+ if ((tempShortdesc != "null")) {
+ linkString += "\n
" + tempShortdesc + "
";
+ }
+ linkString += " ";
+ linkTab.push(linkString);
+ }
+ linkTab.push("
");
+ }
+ }
+ }
+
+ var results = "";
+ if (linkTab.length > 0) {
+ /*writeln ("" + txt_results_for + " " + "" + cleanwordsList + "" + "
"+"
");*/
+ results = "";
+ //write("
");
+ for (t in linkTab) {
+ results += linkTab[t].toString();
+ }
+ results += "
";
+ } else {
+ results = "" + "Your search returned no results for " + "" + txt_wordsnotfound + "" + "
";
+ }
+ //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";
+ 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 += "
dada"+sortedTokens+" ";
+// console.log(tokens.length+"dsdsds");
+ /*for(i=0;idada"+un[i]+"- "+stems[i]+" "+ ss;
+ document.getElementById("content").innerHTML += "
"+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/installer/2/el/content/search/punctuation.props b/installer/2/el/content/search/punctuation.props
new file mode 100644
index 00000000..d3e3fcd2
--- /dev/null
+++ b/installer/2/el/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/installer/2/el/content/search/stemmers/de_stemmer.js b/installer/2/el/content/search/stemmers/de_stemmer.js
new file mode 100644
index 00000000..7ff3822a
--- /dev/null
+++ b/installer/2/el/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/installer/2/el/content/search/stemmers/en_stemmer.js b/installer/2/el/content/search/stemmers/en_stemmer.js
new file mode 100644
index 00000000..f58012f2
--- /dev/null
+++ b/installer/2/el/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/installer/2/el/content/search/stemmers/fr_stemmer.js b/installer/2/el/content/search/stemmers/fr_stemmer.js
new file mode 100644
index 00000000..34f97431
--- /dev/null
+++ b/installer/2/el/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