diff options
author | Claire Revillet <grenoya@mageia.org> | 2013-05-18 16:18:30 +0000 |
---|---|---|
committer | Claire Revillet <grenoya@mageia.org> | 2013-05-18 16:18:30 +0000 |
commit | 635b81d3a608ebf7d2f55fe2b8b54f3d7fddafad (patch) | |
tree | fcb011f4731932d4632ede00716db519cdd0ed0c /installer/3/pt_br/content/search | |
parent | 33e4ce923d60d3bd13f4c3d5d807d753ca76ba8f (diff) | |
download | doc-635b81d3a608ebf7d2f55fe2b8b54f3d7fddafad.tar doc-635b81d3a608ebf7d2f55fe2b8b54f3d7fddafad.tar.gz doc-635b81d3a608ebf7d2f55fe2b8b54f3d7fddafad.tar.bz2 doc-635b81d3a608ebf7d2f55fe2b8b54f3d7fddafad.tar.xz doc-635b81d3a608ebf7d2f55fe2b8b54f3d7fddafad.zip |
- add new languages for installer/3
- new versions of mcc/3
Diffstat (limited to 'installer/3/pt_br/content/search')
-rw-r--r-- | installer/3/pt_br/content/search/default.props | 1 | ||||
-rw-r--r-- | installer/3/pt_br/content/search/en-us.props | 45 | ||||
-rw-r--r-- | installer/3/pt_br/content/search/es-es.props | 179 | ||||
-rw-r--r-- | installer/3/pt_br/content/search/htmlFileInfoList.js | 32 | ||||
-rw-r--r-- | installer/3/pt_br/content/search/htmlFileList.js | 33 | ||||
-rw-r--r-- | installer/3/pt_br/content/search/index-1.js | 379 | ||||
-rw-r--r-- | installer/3/pt_br/content/search/index-2.js | 378 | ||||
-rw-r--r-- | installer/3/pt_br/content/search/index-3.js | 374 | ||||
-rw-r--r-- | installer/3/pt_br/content/search/ja-jp.props | 1 | ||||
-rw-r--r-- | installer/3/pt_br/content/search/nwSearchFnt.js | 513 | ||||
-rw-r--r-- | installer/3/pt_br/content/search/punctuation.props | 31 | ||||
-rw-r--r-- | installer/3/pt_br/content/search/stemmers/de_stemmer.js | 247 | ||||
-rw-r--r-- | installer/3/pt_br/content/search/stemmers/en_stemmer.js | 187 | ||||
-rw-r--r-- | installer/3/pt_br/content/search/stemmers/fr_stemmer.js | 299 |
14 files changed, 2699 insertions, 0 deletions
diff --git a/installer/3/pt_br/content/search/default.props b/installer/3/pt_br/content/search/default.props new file mode 100644 index 00000000..22edf439 --- /dev/null +++ b/installer/3/pt_br/content/search/default.props @@ -0,0 +1 @@ +DEF01=a
\ No newline at end of file diff --git a/installer/3/pt_br/content/search/en-us.props b/installer/3/pt_br/content/search/en-us.props new file mode 100644 index 00000000..da284ce5 --- /dev/null +++ b/installer/3/pt_br/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/3/pt_br/content/search/es-es.props b/installer/3/pt_br/content/search/es-es.props new file mode 100644 index 00000000..fb73bdcc --- /dev/null +++ b/installer/3/pt_br/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/3/pt_br/content/search/htmlFileInfoList.js b/installer/3/pt_br/content/search/htmlFileInfoList.js new file mode 100644 index 00000000..6303c6db --- /dev/null +++ b/installer/3/pt_br/content/search/htmlFileInfoList.js @@ -0,0 +1,32 @@ +fil = new Array(); +fil["0"]= "exitInstall.html@@@Parabéns@@@null"; +fil["1"]= "chooseDesktop.html@@@Seleção de Área de Trabalho@@@null"; +fil["2"]= "formatPartitions.html@@@Formatação@@@null"; +fil["3"]= "diskdrake.html@@@Personalização do particionamento de disco com DiskDrake@@@null"; +fil["4"]= "configureX_monitor.html@@@Escolhendo seu Monitor@@@null"; +fil["5"]= "selectLanguage.html@@@Por favor, escolha um idioma para usar@@@null"; +fil["6"]= "choosePackageGroups.html@@@Seleção de Grupo de Pacotes@@@null"; +fil["7"]= "minimal-install.html@@@Instalação Mínima@@@null"; +fil["8"]= "choosePackagesTree.html@@@Escolha Pacotes Individuais@@@null"; +fil["9"]= "installer.html@@@DrakX, o Instalador da Mageia@@@null"; +fil["10"]= "selectKeyboard.html@@@Teclado@@@null"; +fil["11"]= "selectCountry.html@@@Selecione seu país / região@@@null"; +fil["12"]= "setupBootloader.html@@@Principais Opções do Gerenciador de Inicialização@@@null"; +fil["13"]= "installUpdates.html@@@Atualizações@@@null"; +fil["14"]= "media_selection.html@@@Seleção de Mídia (Nonfree)@@@null"; +fil["15"]= "setupBootloaderAddEntry.html@@@Adicionando ou Modificando uma Entrada do Menu de Inicialização@@@null"; +fil["16"]= "add_supplemental_media.html@@@Seleção de Mídia (Configurar a Instalação de Mídias Suplementares )@@@null"; +fil["17"]= "ask_mntpoint_s.html@@@Escolha os pontos de montagem@@@null"; +fil["18"]= "addUser.html@@@Gerenciador de Usuário e Superusuário@@@null"; +fil["19"]= "configureTimezoneUTC.html@@@Configure o seu fuso horário@@@null"; +fil["20"]= "configureX_chooser.html@@@Configuração da placa de vídeo e monitor@@@null"; +fil["21"]= "acceptLicense.html@@@Licenças e Notas de Lançamento@@@null"; +fil["22"]= "securityLevel.html@@@Nível de Segurança@@@null"; +fil["23"]= "selectInstallClass.html@@@Instalar ou atualizar@@@null"; +fil["24"]= "setupSCSI.html@@@Detecção de disco rígido@@@null"; +fil["25"]= "misc-params.html@@@Resumo de diversos parâmetros@@@null"; +fil["26"]= "doPartitionDisks.html@@@Particionamento@@@null"; +fil["27"]= "takeOverHdConfirm.html@@@Confirme o disco rígido para ser formatado@@@null"; +fil["28"]= "configureX_card_list.html@@@Escolha um Servidor X (Configure sua Placa de Vídeo)@@@null"; +fil["29"]= "configureServices.html@@@Configurar os seus serviços@@@null"; +fil["30"]= "selectMouse.html@@@Selecione o mouse@@@null"; diff --git a/installer/3/pt_br/content/search/htmlFileList.js b/installer/3/pt_br/content/search/htmlFileList.js new file mode 100644 index 00000000..e38dd6d7 --- /dev/null +++ b/installer/3/pt_br/content/search/htmlFileList.js @@ -0,0 +1,33 @@ +//List of files which are indexed. +fl = new Array(); +fl["0"]= "exitInstall.html"; +fl["1"]= "chooseDesktop.html"; +fl["2"]= "formatPartitions.html"; +fl["3"]= "diskdrake.html"; +fl["4"]= "configureX_monitor.html"; +fl["5"]= "selectLanguage.html"; +fl["6"]= "choosePackageGroups.html"; +fl["7"]= "minimal-install.html"; +fl["8"]= "choosePackagesTree.html"; +fl["9"]= "installer.html"; +fl["10"]= "selectKeyboard.html"; +fl["11"]= "selectCountry.html"; +fl["12"]= "setupBootloader.html"; +fl["13"]= "installUpdates.html"; +fl["14"]= "media_selection.html"; +fl["15"]= "setupBootloaderAddEntry.html"; +fl["16"]= "add_supplemental_media.html"; +fl["17"]= "ask_mntpoint_s.html"; +fl["18"]= "addUser.html"; +fl["19"]= "configureTimezoneUTC.html"; +fl["20"]= "configureX_chooser.html"; +fl["21"]= "acceptLicense.html"; +fl["22"]= "securityLevel.html"; +fl["23"]= "selectInstallClass.html"; +fl["24"]= "setupSCSI.html"; +fl["25"]= "misc-params.html"; +fl["26"]= "doPartitionDisks.html"; +fl["27"]= "takeOverHdConfirm.html"; +fl["28"]= "configureX_card_list.html"; +fl["29"]= "configureServices.html"; +fl["30"]= "selectMouse.html"; diff --git a/installer/3/pt_br/content/search/index-1.js b/installer/3/pt_br/content/search/index-1.js new file mode 100644 index 00000000..ef8c979f --- /dev/null +++ b/installer/3/pt_br/content/search/index-1.js @@ -0,0 +1,379 @@ +var indexerLanguage="en"; +//Auto generated index for searching. +w["-"]="14,25,30"; +w["1"]="9,26"; +w["1024x768"]="4"; +w["2"]="9,23,26,30"; +w["256m"]="9"; +w["256mb"]="9"; +w["30"]="4"; +w["40"]="28"; +w["4096"]="26"; +w["512"]="26"; +w["60hz"]="4"; +w["@"]="4"; +w["aba"]="3,22"; +w["abaixo"]="18,26,29"; +w["aberto"]="28"; +w["abrir"]="15"; +w["abrirá"]="9"; +w["aceita"]="21"; +w["aceitar"]="21"; +w["acessando"]="11"; +w["acessar"]="18"; +w["acesso"]="16,17,18,25,28"; +w["acessá-lo"]="11,28"; +w["acha"]="20"; +w["acompanham"]="10"; +w["aconselhável"]="5,18"; +w["acontec"]="9,24"; +w["acordo"]="21"; +w["adapta"]="25"; +w["adequada"]="25"; +w["adequado"]="10,12,28"; +w["adicion"]="12,23"; +w["adiciona"]="25"; +w["adicionai"]="1,5"; +w["adicionando"]="15,18"; +w["adicionar"]="5,6,8,12,15,16,18,25"; +w["adicionou"]="11"; +w["adicioná-lo"]="5,12"; +w["adição"]="12"; +w["administrador"]="18,25"; +w["africano"]="11"; +w["agora"]="0,5,9,12,13,26"; +w["agradecemo"]="21"; +w["ainda"]="17,26,28"; +w["ajuda"]="9,12"; +w["ajudar"]="9"; +w["ajust"]="3,25"; +w["ajustar"]="0,1,3,22"; +w["algo"]="1,4,15"; +w["algum"]="9,12"; +w["alguma"]="9,15,17,29"; +w["algun"]="7,9,13,14,24,26,28"; +w["alt"]="9,12,23"; +w["altament"]="26"; +w["alter"]="18,25"; +w["altera"]="25"; +w["alterar"]="3,5,17,25"; +w["alternar"]="10"; +w["alternativo"]="26"; +w["alterá-la"]="12,25"; +w["além"]="4,12,18"; +w["amarelo"]="18"; +w["ambient"]="1,6,20"; +w["ambo"]="1"; +w["ampliação"]="5"; +w["anomalia"]="10"; +w["ant"]="3,9,11,21,23,25,26"; +w["anterior"]="1,2,12,17,18,26,27"; +w["antiga"]="28"; +w["antigo"]="9,24"; +w["ao"]="9,10,12,23,24,25,26"; +w["apagada"]="18"; +w["apagar"]="26,27"; +w["apagará"]="26"; +w["aparec"]="20"; +w["aparecerá"]="9"; +w["apena"]="11,28,29"; +w["apesar"]="9,23"; +w["aplicada"]="5"; +w["aplicam-s"]="21"; +w["aplicativo"]="18"; +w["aplicaçõ"]="1"; +w["aplicável"]="20"; +w["apontador"]="25"; +w["apresenta"]="4"; +w["apresentação"]="1"; +w["apó"]="1,5,9,22,25,28"; +w["aquel"]="7,10"; +w["aquela"]="25"; +w["aqui"]="1,2,3,8,10,12,14,17,18,20,22,25,29,30"; +w["armazenamento"]="3"; +w["armazenar"]="17"; +w["arquivo"]="3,8,14,18,26"; +w["arredondar"]="26"; +w["arriscada"]="26"; +w["arriscado"]="25"; +w["asiático"]="11"; +w["assinal"]="17"; +w["assistent"]="26"; +w["atenção"]="3,4,5,10,12,15,17,18,20,25,26"; +w["ati"]="14"; +w["ativar"]="18,20"; +w["ativação"]="16"; +w["atua"]="25"; +w["atual"]="9,23"; +w["atualizada"]="4"; +w["atualizado"]="13"; +w["atualizar"]="23"; +w["atualização"]="4,9,20"; +w["atualizaçõ"]="9,13,23"; +w["atualment"]="12"; +w["até"]="3,10,20"; +w["autoexplicativo"]="6"; +w["automaticament"]="0,4,12,16"; +w["automática"]="9"; +w["autorai"]="14"; +w["avançada"]="12"; +w["avançado"]="2,9,12,18"; +w["avançar"]="21,27"; +w["açõ"]="3"; +w["background"]="25"; +w["backup"]="26"; +w["bad"]="2"; +w["baixa"]="9"; +w["banco"]="4,28"; +w["barreira"]="25"; +w["base"]="14"; +w["baseado"]="10,20"; +w["bash"]="18"; +w["basta"]="21"; +w["bastant"]="4,6"; +w["bem"]="20,23,29"; +w["block"]="2,26"; +w["boa"]="4,25,29,30"; +w["boas-vinda"]="9"; +w["bom"]="20"; +w["boot"]="3,9,12"; +w["bootlad"]="12"; +w["bootload"]="12"; +w["botão"]="1,5,8,11,12,15,18,20,21"; +w["botõ"]="9,30"; +w["branco"]="17,18"; +w["byte"]="26"; +w["básico"]="28"; +w["cada"]="3,6,9,12,17,18,25,27"; +w["caixa"]="10,12,15,18,29"; +w["caldeirão"]="17"; +w["campo"]="17"; +w["capacidad"]="4,17"; +w["capaz"]="11,20,24"; +w["caracter"]="10,11,18"; +w["característica"]="4"; +w["carregá-lo"]="8"; +w["case"]="18"; +w["caso"]="3,4,9,12,16,20,25,28"; +w["categoria"]="28"; +w["cauldron-hom"]="17"; +w["cauteloso"]="4"; +w["cd-rom"]="16"; +w["centro"]="5,22,25"; +w["cerca"]="4"; +w["certa"]="2,25"; +w["certeza"]="2,17,26,27"; +w["certifique-s"]="10,17,19,20,26"; +w["certo"]="9,23"; +w["chamada"]="20"; +w["chamado"]="2,18"; +w["chave"]="3"; +w["chegou"]="9"; +w["chinê"]="11"; +w["cidad"]="19"; +w["cient"]="28"; +w["cima"]="15,18"; +w["claro"]="12"; +w["class"]="7"; +w["clicado"]="18"; +w["clicando"]="21"; +w["clicar"]="2,3,8,11,12,17,18"; +w["click"]="3"; +w["cliqu"]="2,9,10,11,12,17,21,27,29"; +w["codec"]="14"; +w["coisa"]="15,17,18,25,29"; +w["colocar"]="14"; +w["colírio"]="1"; +w["com"]="1,3,4,7,9,12,15,17,18,23,25,26,30"; +w["comando"]="28"; +w["combinada"]="7,9"; +w["comerci"]="14"; +w["começar"]="3,29"; +w["começaram"]="9,23"; +w["como"]="3,4,5,7,10,11,12,16,17,19,20,22,25,30"; +w["comparando-"]="18"; +w["compartilhamento"]="16"; +w["compatívei"]="26"; +w["completa"]="10,26"; +w["completament"]="15"; +w["completo"]="1,28"; +w["composto"]="17"; +w["compromet"]="25"; +w["computador"]="0,9,10,11,17,18,19,21,23,25"; +w["comument"]="9"; +w["concorda"]="17"; +w["condiçõ"]="21"; +w["conectado"]="13"; +w["confiant"]="2"; +w["configur"]="11,19,28"; +w["configura"]="25"; +w["configurado"]="19"; +w["configurar"]="0,12,16,19,24,25,29,30"; +w["configuração"]="4,11,15,20,25,26,29"; +w["configuraçõ"]="0,4,11,12,18,20,22,25"; +w["configurá-lo"]="11"; +w["confirm"]="9,27"; +w["conform"]="9"; +w["congela"]="9"; +w["congelar"]="9"; +w["conhecida"]="19"; +w["conhecido"]="20"; +w["conhecimento"]="4"; +w["conjunto"]="1"; +w["consegu"]="28"; +w["conseguiu"]="28"; +w["conservadora"]="4"; +w["consult"]="4,9,12,25"; +w["consultar"]="25"; +w["conta"]="18"; +w["conteúdo"]="6,26"; +w["continent"]="5"; +w["continu"]="3,9"; +w["continuar"]="2,10,13,21"; +w["contribuir"]="0"; +w["control"]="5,22,25,26"; +w["controlador"]="24"; +w["controlar"]="20"; +w["contrário"]="3"; +w["contudo"]="24"; +w["contém"]="9,12,14"; +w["contêm"]="14"; +w["convidado"]="18"; +w["cor"]="18,20"; +w["core"]="14"; +w["coreano"]="11"; +w["correspondent"]="15"; +w["correta"]="9,10,15,20"; +w["corretament"]="4,18,24,25,26,28"; +w["correto"]="17"; +w["corrija"]="25"; +w["criada"]="26"; +w["criar"]="3"; +w["crie"]="12"; +w["criptografia"]="3"; +w["critério"]="14"; +w["ctrl"]="9,12,23"; +w["cuidado"]="26"; +w["cuidadosament"]="21,25"; +w["código"]="28"; +w["código-font"]="14"; +w["da"]="4,5,8,9,10,11,12,13,14,15,16,17,18,20,21,23,25,26,28"; +w["dado"]="2,4,25,26,27,28"; +w["daemon"]="25"; +w["danificar"]="4,20"; +w["danificá-lo"]="4"; +w["daquela"]="10,12"; +w["dará"]="26"; +w["das"]="4,9,18,25"; +w["dash"]="18"; +w["daí"]="14"; +w["de"]="0,1,2,3,4,5,6,7,8,9,10,11,12,14,15,16,17,18,19,20,21,22,23,24,25,26,28,29"; +w["decidir"]="9,12,21,23"; +w["defin"]="25"; +w["defina"]="18,20"; +w["definido"]="11"; +w["definir"]="4,11,18,20,29"; +w["deix"]="18,22"; +w["deixar"]="17,24"; +w["deixá-lo"]="9,23"; +w["dela"]="15,23"; +w["dele"]="3,5,25"; +w["delet"]="9,23"; +w["depend"]="25"; +w["dependendo"]="1,14,18,25,26"; +w["depoi"]="0,8,9,10,11,23,25"; +w["desabilitado"]="14"; +w["desabilitar"]="25"; +w["desativada"]="1"; +w["desativado"]="5"; +w["desativar"]="18,20"; +w["desativação"]="5"; +w["descobriu"]="23"; +w["descrição"]="4"; +w["desd"]="13"; +w["deseja"]="2,3,12,13,17,25,26,27"; +w["desejada"]="3,20"; +w["desejar"]="3"; +w["desenvolvimento"]="17"; +w["desfragmentado"]="26"; +w["desktop"]="1,20"; +w["desmarcando"]="7"; +w["dest"]="4,26"; +w["desta"]="9,12"; +w["destinado"]="7"; +w["detalh"]="1"; +w["detecta"]="24"; +w["detectado"]="3,25"; +w["detectar"]="24"; +w["detectou"]="4,28"; +w["detectá-lo"]="12"; +w["detecção"]="9,24"; +w["determina"]="4,16"; +w["determinar"]="4"; +w["determinará"]="14"; +w["deve"]="3,5,12,18,21,24,25,26,28"; +w["devem"]="29"; +w["df"]="12"; +w["diant"]="29"; +w["dica"]="2,6,12,23"; +w["diferenciam"]="18"; +w["diferent"]="1,4,12,17,30"; +w["difícil"]="5"; +w["digit"]="18"; +w["digita"]="18"; +w["digitado"]="18"; +w["digitar"]="18"; +w["digitou"]="18"; +w["direito"]="14,18"; +w["diretório"]="18,25"; +w["disco"]="3,12,17,24,26,27"; +w["diskdrak"]="3"; +w["disponívei"]="9,14,16,26,28"; +w["disponível"]="6,9,12,16,20,26"; +w["dispositivo"]="3,12,17,24,25,28"; +w["disquet"]="8"; +w["disso"]="9,18,23"; +w["disto"]="9"; +w["distribuição"]="14,21"; +w["distribuído"]="14"; +w["diverso"]="25"; +w["dividido"]="6,9"; +w["divirta-s"]="0"; +w["dizer"]="24"; +w["diálogo"]="10"; +w["do"]="0,1,3,4,5,6,7,8,9,10,11,12,14,15,17,18,20,22,25,26"; +w["documentação"]="4,7,12"; +w["doi"]="1,4"; +w["domínio"]="11"; +w["dos"]="1,10,12,14,25,28"; +w["download"]="13"; +w["drakx"]="2,4,9,10,11,17,18,20,24,25,26,28,29"; +w["driver"]="4,14,24,25,28"; +w["drop-down"]="17"; +w["dua"]="9,23"; +w["durant"]="1,5,8,9,11,12,14,15,16,20,23"; +w["dvd"]="14"; +w["dvds"]="11"; +w["dúvida"]="0,4"; +w["e"]="0,1,2,3,4,5,7,8,9,10,11,12,13,14,15,16,17,18,20,21,23,24,25,26,27,28,29"; +w["edit"]="18"; +w["editando"]="15"; +w["editar"]="15"; +w["ele"]="6,9,10,14,18,19,20,23,25,29"; +w["em"]="2,3,4,5,6,7,8,9,10,12,13,14,15,17,18,19,20,21,23,25,26,27,28,30"; +w["embora"]="26"; +w["en"]="10"; +w["encontrado"]="10,17,26"; +w["encontrar"]="28"; +w["encontrou"]="26"; +w["entanto"]="6,12"; +w["enter"]="9"; +w["entr"]="0,10,18,25"; +w["entrada"]="11,15"; +w["então"]="5,8,9,12,20,21,24,26"; +w["envolv"]="12,26"; +w["equipamento"]="4"; +w["eras"]="26"; +w["errado"]="11"; +w["erro"]="25"; + diff --git a/installer/3/pt_br/content/search/index-2.js b/installer/3/pt_br/content/search/index-2.js new file mode 100644 index 00000000..93dc0809 --- /dev/null +++ b/installer/3/pt_br/content/search/index-2.js @@ -0,0 +1,378 @@ +//Auto generated index for searching. +w["esc"]="9"; +w["escolh"]="0,2,3,5,7,10,17,20,22"; +w["escolha"]="1,2,4,5,6,8,10,11,13,15,16,17,19,20,23,25,27,28,30"; +w["escolhendo"]="4,8,28"; +w["escolheu"]="10,12,20"; +w["escolhida"]="11,12,29"; +w["escolhido"]="5,10"; +w["escopo"]="12"; +w["escritório"]="18"; +w["escudo"]="18"; +w["espaço"]="12,26"; +w["especiai"]="9"; +w["especializado"]="7"; +w["especificar"]="9"; +w["especificaçõ"]="10"; +w["especifiqu"]="4,16"; +w["específico"]="7,16,26"; +w["esqueceu"]="23"; +w["esqueça"]="25"; +w["essa"]="5,21"; +w["est"]="1,8,14,18,21"; +w["esta"]="4,6,7,9,10,13,16,18,20,23,25,26"; +w["estado"]="9,23"; +w["estar"]="28"; +w["estará"]="23"; +w["estarão"]="14,16"; +w["estação"]="6,7"; +w["esteja"]="16,20,28"; +w["estejam"]="20"; +w["estiv"]="2,3,13,14,26"; +w["está"]="2,4,6,9,10,11,12,15,18,20,23,25,26,28,29,30"; +w["estão"]="17,19,20,22,26"; +w["etapa"]="1,9"; +w["etc"]="11,14,25"; +w["etiqueta"]="10"; +w["eua"]="10"; +w["evdev"]="30"; +w["exato"]="12"; +w["executando"]="11"; +w["execução"]="12"; +w["exemplo"]="3,9,12,14,17"; +w["exibida"]="4,10"; +w["exigir"]="5"; +w["exist"]="18"; +w["existem"]="3"; +w["existent"]="12,26"; +w["expandi-lo"]="29"; +w["experient"]="9"; +w["explicaçõ"]="9"; +w["explicitament"]="28"; +w["extenso"]="4"; +w["extra"]="7,8,9,10,25"; +w["f1"]="9"; +w["f2"]="9,12,23"; +w["f7"]="12"; +w["fabricant"]="4,28"; +w["falhar"]="9"; +w["fase"]="12"; +w["favor"]="4,5,9,11,15,21,23"; +w["faz"]="18"; +w["fazendo"]="4,15,18,29"; +w["fazer"]="6,9,13,15,17,20,23,25,26,28"; +w["faça"]="23"; +w["fechado"]="14,26"; +w["feita"]="3,15"; +w["feito"]="2,8,9"; +w["feliz"]="30"; +w["ferramenta"]="1,6,25"; +w["fez"]="25"; +w["ficar"]="12,20"; +w["figura"]="9"; +w["figura 1"]="9"; +w["film"]="17"; +w["final"]="18"; +w["finalidad"]="26"; +w["fino"]="25"; +w["fio"]="11"; +w["firewal"]="25"; +w["firmwar"]="14"; +w["fizer"]="15"; +w["foi"]="9,10,11,13,26"; +w["font"]="16"; +w["fora"]="25,26"; +w["foram"]="6,13,17,26"; +w["forc"]="30"; +w["forma"]="9,20,30"; +w["formatada"]="2,9,23"; +w["formatado"]="27"; +w["formatar"]="2,17"; +w["formatação"]="2"; +w["fornec"]="28"; +w["fornecedor"]="10,20"; +w["fort"]="18"; +w["força"]="18"; +w["frequentement"]="4"; +w["frequência"]="4"; +w["ftp"]="11"; +w["funcionam"]="30"; +w["funcionar"]="20,25"; +w["funçõ"]="11"; +w["fuso"]="19,25"; +w["fácil"]="6,9"; +w["gama"]="4"; +w["garantia"]="26"; +w["garantir"]="3"; +w["gcin"]="11"; +w["generic"]="4"; +w["genérico"]="20,28"; +w["geral"]="25"; +w["geralment"]="4,28,29,30"; +w["gerenciado"]="16"; +w["gerenciador"]="0,11,12,18,25"; +w["gerenciamento"]="18,25"; +w["gerenciar"]="5"; +w["gmt"]="19"; +w["gnome"]="1,20"; +w["gnu-linux"]="9"; +w["gpart"]="26"; +w["gratuito"]="14"; +w["grava"]="12"; +w["grub"]="12,25"; +w["grub2"]="12"; +w["grupo"]="4,6,7,18,29"; +w["gráfica"]="9,20,25"; +w["gráfico"]="6,12,20"; +w["habilitado"]="25,28"; +w["habilitar"]="25"; +w["hardwar"]="9,25,26"; +w["haver"]="10"; +w["help"]="9"; +w["hime"]="11"; +w["home"]="17,18,23,25"; +w["hora"]="19"; +w["horizont"]="4,20"; +w["horário"]="19,25"; +w["horário”"]="25"; +w["houver"]="9"; +w["how"]="6"; +w["http"]="11"; +w["há"]="3,21,28,29"; +w["ibus"]="11"; +w["id"]="18"; +w["identifica"]="10,28"; +w["identificado"]="4"; +w["identificará"]="4"; +w["identificá-la"]="28"; +w["identificá-lo"]="4"; +w["idioma"]="5,9,10,11,23,25"; +w["ignor"]="11"; +w["ignorada"]="9"; +w["ignorar"]="10"; +w["impedir"]="25"; +w["importa"]="20"; +w["important"]="4,11,18,25,26"; +w["inadequado"]="5"; +w["inclui"]="14"; +w["incluindo"]="4"; +w["incompatível"]="28"; +w["incorreta"]="9,20"; +w["indagação"]="20"; +w["indica"]="18"; +w["indisponibilidad"]="26"; +w["individuai"]="6,8"; +w["individuais”"]="7"; +w["inferior"]="8,11"; +w["informando"]="16"; +w["informação"]="25"; +w["informaçõ"]="6,25,29"; +w["infringir"]="14"; +w["inici"]="9,15"; +w["iniciada"]="0"; +w["inicializar"]="11,15,29"; +w["inicializará"]="3"; +w["inicialização"]="0,12,15,25"; +w["inicialização”"]="25"; +w["iniciar"]="9"; +w["inserir"]="25"; +w["insira"]="18"; +w["instal"]="6"; +w["instalada"]="9,23"; +w["instalado"]="0,1,5,11,12"; +w["instalador"]="4,9,12,23,26,28"; +w["instalar"]="0,5,7,8,21,23,24,26"; +w["instalação"]="0,1,5,7,8,9,10,11,12,14,16,17,20,22,23,26"; +w["instalação”"]="9"; +w["instalação”tela"]="9"; +w["instalaçõ"]="18,23"; +w["instalá-lo"]="13"; +w["instruct"]="6"; +w["inteiro"]="26"; +w["inteligent"]="25"; +w["interfac"]="9,20,25,28"; +w["intermediário"]="25"; +w["internet"]="13,18,25"; +w["interromp"]="9,23"; +w["inutilizável"]="9,23"; +w["invé"]="26"; +w["ir"]="12"; +w["irá"]="5,7,9,12,18,21,23,26"; +w["irão"]="25,26"; +w["isso"]="5,9,11,13,18,23,24,25,26,28"; +w["isto"]="9,12,25,26"; +w["janela"]="15"; +w["japonê"]="11"; +w["jogar"]="18"; +w["jogo"]="18"; +w["já"]="12,26"; +w["kde"]="1,20"; +w["kernel"]="9"; +w["keyboard_layout"]="10"; +w["lançada"]="13"; +w["lançamento"]="21"; +w["laptop"]="4"; +w["later"]="9"; +w["latino"]="10"; +w["layout"]="3,10,25,26"; +w["lei"]="14"; +w["leia"]="21"; +w["lembrar"]="12"; +w["letra"]="17,18"; +w["leva"]="12"; +w["levar"]="11"; +w["leve"]="1"; +w["lhe"]="26"; +w["licença"]="14,21"; +w["lilo"]="12,25"; +w["limitado"]="12"; +w["limpa"]="26"; +w["limpar"]="3,12"; +w["limpá-la"]="3"; +w["linguagen"]="5"; +w["linha"]="4,28"; +w["linux"]="12,17,18,26,28"; +w["lista"]="5,10,11,14,16,18,20,26,28"; +w["listagem"]="28"; +w["live-cd"]="11"; +w["livr"]="12,14,26"; +w["local"]="12,19,26"; +w["localedrak"]="11"; +w["localização"]="5,11,25"; +w["login"]="18"; +w["logo"]="18"; +w["lxde"]="1,20"; +w["lá"]="10,11,20,25"; +w["lógico"]="26"; +w["mageia"]="0,5,7,9,11,12,13,14,16,17,18,20,21,22,23,25,26"; +w["mai"]="0,1,4,5,6,9,10,17,18,19,20,23,25,26,28,30"; +w["maioria"]="9,12,25"; +w["maiúscula"]="18"; +w["maneira"]="26"; +w["mantida"]="20"; +w["manual"]="7"; +w["manualment"]="6,9,11,20,24"; +w["marcada"]="2"; +w["marcado"]="5"; +w["marqu"]="1,12"; +w["mas"]="9,14,18,23,25,26"; +w["master"]="12"; +w["mb"]="26"; +w["mbr"]="12"; +w["medida"]="18"; +w["megabyt"]="26"; +w["melhor"]="12,18,25"; +w["melhorado"]="13"; +w["mem"]="9"; +w["memória"]="9"; +w["meno"]="1,2,9,18,25"; +w["ment"]="7,25"; +w["menu"]="9,12,15,17"; +w["mesma"]="18"; +w["mesmo"]="3,5,8,9,17,18,19,23"; +w["mib"]="26"; +w["minim"]="6"; +w["minuscula"]="18"; +w["minúscula"]="18"; +w["mirror"]="16"; +w["mistura"]="18"; +w["modificando"]="15"; +w["modificar"]="15"; +w["modo"]="9"; +w["modo-texto"]="9"; +w["moeda"]="11"; +w["momento"]="9"; +w["monitor"]="4,20,25"; +w["monitor”"]="25"; +w["montagem"]="3,17"; +w["mostra"]="18"; +w["mostrada"]="17,29"; +w["mous"]="6,25,30"; +w["movido"]="26"; +w["mudar"]="3,15,17,18"; +w["mude"]="12,29"; +w["mudá-lo"]="25"; +w["muito"]="4,6,9,12,23,25,28,29"; +w["multilíngu"]="11"; +w["multimídia"]="14"; +w["máquina"]="12"; +w["médio"]="18"; +w["método"]="11"; +w["mídia"]="0,11,14,16,25"; +w["mínima"]="7"; +w["mínima”"]="6"; +w["múltipla"]="5"; +w["múltiplo"]="5"; +w["n"]="4,20"; +w["na"]="0,3,5,7,8,9,10,11,12,15,17,18,19,22,23,25,26,28,29"; +w["nada"]="20,25"; +w["nas"]="2,6,10,28"; +w["navegar"]="18"; +w["necessária"]="9"; +w["necessário"]="9,14,20,24,25"; +w["nele"]="3,29"; +w["nem"]="14,20"; +w["nenhum"]="10"; +w["nessa"]="2"; +w["nest"]="9,12,14,18"; +w["nesta"]="18,21,26"; +w["nfs"]="16"; +w["no"]="0,3,4,5,6,8,9,10,11,12,18,19,21,23,25,27,28,29"; +w["no-índia"]="11"; +w["noauto"]="9"; +w["nome"]="4,14,18,28"; +w["non-fre"]="14,28"; +w["non-free"]="16"; +w["nonfre"]="14"; +w["normai"]="18"; +w["normalment"]="2,9,18,24"; +w["nos"]="11,28"; +w["nota"]="9,11,17,18,19,21,23"; +w["note"]="26"; +w["nova"]="23,26"; +w["novament"]="2,18"; +w["novo"]="9,12,21"; +w["nvidia"]="14"; +w["não"]="0,2,3,4,5,9,10,11,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30"; +w["não-livr"]="25"; +w["nível"]="22,25"; +w["número"]="9,15,17,18,26"; +w["o"]="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,17,18,19,20,21,22,23,24,25,26,27,28,29,30"; +w["obter"]="10,12,25,26"; +w["oferec"]="12,26"; +w["oferecem"]="11,28"; +w["oferecer-lh"]="7"; +w["oferecido"]="1,18"; +w["ok"]="3,11"; +w["olho"]="1"; +w["ond"]="9,12,17,25,26"; +w["opcion"]="12"; +w["operacion"]="12,19,27"; +w["operacionai"]="0,12"; +w["operação"]="26"; +w["optar"]="19,20"; +w["opção"]="3,4,6,7,9,16,17,23,25,26,28"; +w["opçõ"]="9,12,18,20,25,26"; +w["org"]="0,10"; +w["origin"]="12"; +w["os"]="0,1,2,5,6,8,10,11,12,14,16,17,18,21,24,25,26,27,28,29,30"; +w["ostentando"]="1"; +w["ou"]="0,1,3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,23,25,26,28,29,30"; +w["outra"]="3,9,15,16,18"; +w["outro"]="3,5,8,10,11,12,18,20,25"; +w["pacot"]="1,6,7,8,11,13,14,16"; +w["pacotes”"]="7"; +w["padrão"]="1,4,5,9,10,11,12,15,18,22,25,26"; +w["painel"]="9"; +w["palavra"]="9"; +w["par"]="26"; +w["para"]="0,1,2,3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,23,25,26,27,28,29,30"; +w["parabén"]="0"; +w["parar"]="12"; +w["parec"]="9,10,11"; +w["part"]="8,11,26"; +w["particionamento"]="3,12,17,26"; +w["partir"]="4,10,17,20,23,28"; +w["partição"]="2,3,9,12,17,23,26"; +w["partiçõ"]="2,3,17,26,27"; + diff --git a/installer/3/pt_br/content/search/index-3.js b/installer/3/pt_br/content/search/index-3.js new file mode 100644 index 00000000..f3816d4c --- /dev/null +++ b/installer/3/pt_br/content/search/index-3.js @@ -0,0 +1,374 @@ +//Auto generated index for searching. +w["parâmetro"]="4,9,25"; +w["passado"]="6"; +w["passo"]="9,14,16"; +w["pasta"]="25"; +w["patent"]="14"; +w["patif"]="25"; +w["paí"]="11,19,25"; +w["país"]="11,14"; +w["pc"]="18"; +w["pela"]="5,16"; +w["pelo"]="2,12,18,25,29"; +w["pena"]="9"; +w["pendriv"]="8,18"; +w["pens"]="9,23"; +w["pequeno"]="25"; +w["perder"]="26"; +w["perdeu"]="11"; +w["perguntando"]="10,20"; +w["permit"]="4,18,25"; +w["permite-lh"]="25"; +w["permitem"]="11"; +w["permitir"]="12,23,25"; +w["permitirá"]="12"; +w["personalizado"]="4,26"; +w["personalizar"]="1,2,8,20"; +w["personalização"]="3,17"; +w["pessoai"]="26"; +w["peça"]="10"; +w["placa"]="4,9,14,20,25,28"; +w["plana"]="4"; +w["play"]="4,20"; +w["plug"]="4,20"; +w["pode"]="1,2,3,4,5,6,7,8,9,10,11,12,14,15,16,17,18,19,20,22,23,24,25,26,28,29,30"; +w["podem"]="9,11,14,15,26,28"; +w["poderia"]="23"; +w["poderá"]="0,9"; +w["ponto"]="3,17"; +w["por"]="1,3,4,5,9,11,12,14,15,17,19,20,21,23,26"; +w["porqu"]="28"; +w["portanto"]="24"; +w["porém"]="9"; +w["possa"]="21"; +w["possam"]="25"; +w["possui"]="10,26"; +w["possívei"]="9"; +w["possível"]="9,22,23"; +w["precisa"]="6,12,17,18,25"; +w["precisam"]="2,20,28"; +w["precisar"]="9,25"; +w["precisem"]="11"; +w["prefer"]="1,10"; +w["preferido"]="5,25"; +w["preferir"]="12,20"; +w["pression"]="3,9,13,23"; +w["pressionando"]="1,8,9,15,23"; +w["pressionando-"]="20"; +w["pressionar"]="25"; +w["prest"]="26"; +w["preta"]="9"; +w["pretend"]="25,26"; +w["primeira"]="5,9,10,11,16,18"; +w["primeiro"]="3,5,12,15,28"; +w["princip"]="2,14"; +w["principai"]="12"; +w["problema"]="9"; +w["procedimento"]="12"; +w["processo"]="9"; +w["procur"]="10"; +w["procura"]="21"; +w["procurar"]="10"; +w["profundidad"]="20"; +w["programa"]="12,25,26"; +w["prompt"]="9"; +w["pronto"]="3"; +w["proprietário"]="14,28"; +w["provavelment"]="7"; +w["provável"]="5"; +w["proxi"]="25"; +w["pré-particionamento"]="26"; +w["próprio"]="16,17,25"; +w["próxima"]="7,19"; +w["próximo"]="2,13,14,16,17"; +w["ps"]="30"; +w["página"]="8,12"; +w["quai"]="14,16,29"; +w["quaisquer"]="2,8"; +w["qual"]="2,10,20,24"; +w["qualquer"]="15,18,20,25,30"; +w["quando"]="2,3,4,6,9,18,20,25,29"; +w["quantidad"]="9"; +w["quatro"]="29"; +w["que"]="1,2,3,4,5,6,9,10,11,12,13,14,15,17,18,19,20,21,22,23,24,25,26,28,29,30"; +w["quer"]="1,9,13,23"; +w["questão"]="12"; +w["quiser"]="0,1,17,25"; +w["raiz"]="3,12"; +w["ram"]="9"; +w["rarament"]="9"; +w["razão"]="26"; +w["rbash"]="18"; +w["read"]="6"; +w["reai"]="18"; +w["real"]="11,18"; +w["receb"]="25"; +w["recent"]="26"; +w["recomendável"]="26"; +w["reconfigurar"]="20"; +w["reconhecido"]="12,16"; +w["record"]="12"; +w["recurso"]="28"; +w["rede"]="11,16,25"; +w["redigit"]="18"; +w["redimensioná-la"]="3"; +w["redistribuí-lo"]="14"; +w["redução"]="26"; +w["referem-s"]="25"; +w["região"]="11,25"; +w["região”"]="25"; +w["regulador"]="11"; +w["reiniciar"]="0,9,21,23,25"; +w["reinício"]="28"; +w["relatar"]="9"; +w["relação"]="2"; +w["relógio"]="19"; +w["remota"]="16"; +w["remov"]="0,3,6,8"; +w["renomeá-la"]="15"; +w["repetir"]="18"; +w["repositório"]="14,16,25,28"; +w["reproduzir"]="14"; +w["resolução"]="9,20"; +w["respond"]="20,30"; +w["respositório"]="28"; +w["restrito"]="18"; +w["resumo"]="12,25"; +w["retornar"]="23"; +w["risco"]="15"; +w["rodam"]="25"; +w["rolant"]="17"; +w["root"]="11,17,18"; +w["roubar"]="25"; +w["rígido"]="3,12,17,24,26,27"; +w["rótulo"]="15"; +w["s"]="1,2,3,17,24,25,26"; +w["sabe"]="4,5,10,18,22,28,29"; +w["saber"]="15"; +w["saiba"]="25"; +w["sair"]="18,21"; +w["salva"]="18"; +w["salvar"]="8,18"; +w["salvo"]="2"; +w["scim"]="11"; +w["scsi"]="24"; +w["sda"]="3,12"; +w["sda5"]="17"; +w["sda7"]="12"; +w["sdb"]="3"; +w["sdc"]="3"; +w["se"]="0,1,2,3,4,5,6,7,9,10,11,12,13,15,17,18,19,20,21,22,23,24,25,26,27,28,29,30"; +w["secção"]="25"; +w["segu"]="17"; +w["seguida"]="2,3,7,13,17,21,28"; +w["seguido"]="9"; +w["seguint"]="9,16,17,26"; +w["seguir"]="20"; +w["seguirá"]="11"; +w["segura"]="20"; +w["segurança"]="22,25"; +w["seguro"]="0"; +w["sei"]="30"; +w["seja"]="14,26"; +w["sejam"]="12"; +w["selecion"]="5,11,12,13,16,25,30"; +w["seleciona"]="10,25"; +w["selecionada"]="0,16,25"; +w["selecionado"]="2,3,25,26"; +w["selecionando"]="4,16"; +w["selecionar"]="10,11,12,15,16,21,23,28,29,30"; +w["selecioná-la"]="28"; +w["selecioná-lo"]="4"; +w["seleção"]="1,2,4,5,6,7,9,10,11,14,16"; +w["seleçõ"]="1,4,7"; +w["sem"]="4,9,11,15,25"; +w["semelhant"]="11"; +w["sempr"]="20,22"; +w["senha"]="18"; +w["sensit"]="18"; +w["separada"]="3"; +w["ser"]="1,2,3,4,5,6,9,11,14,15,20,21,23,24,25,26,27,28"; +w["servidor"]="6,7,25,28"; +w["serviço"]="25,29"; +w["será"]="0,4,5,9,10,11,18,22"; +w["serão"]="2,4,9,12,20"; +w["setor"]="26"; +w["seu"]="0,3,4,5,6,10,11,12,16,17,18,19,20,21,22,23,25,26,28,29"; +w["seus"]="17,18,25,26,29"; +w["seção"]="25"; +w["sh"]="18"; +w["shell"]="18"; +w["si"]="5"; +w["sicronização"]="4"; +w["sido"]="9,23,26"; +w["siga"]="16"; +w["significa"]="26"; +w["sim"]="13,20"; +w["simplesment"]="20"; +w["simultaneament"]="9,23"; +w["sincronização"]="4"; +w["sistema"]="0,3,5,6,8,9,10,11,12,15,19,20,23,25,27,29"; +w["site"]="0,28"; +w["slide"]="1"; +w["sob"]="14"; +w["sobr"]="6,9,25,26,27,29"; +w["softwar"]="1"; +w["solução"]="12"; +w["soluçõ"]="9,26"; +w["som"]="25"; +w["ssd"]="26"; +w["standard"]="25"; +w["sua"]="0,1,2,3,4,7,8,9,11,12,20,25,26,27,28"; +w["substituir"]="12"; +w["suficient"]="18"; +w["suger"]="17"; +w["sugerimo"]="26"; +w["sugestõ"]="17"; +w["superusuário"]="18"; +w["suplementar"]="16"; +w["suport"]="5"; +w["suportado"]="12"; +w["suspensa"]="18"; +w["system"]="20"; +w["sábio"]="4"; +w["são"]="6,12,14,15,18,20,29"; +w["só"]="17,28"; +w["tablet"]="25"; +w["tai"]="7"; +w["taint"]="14,16,28"; +w["tal"]="4"; +w["tamanho"]="3,17,26"; +w["também"]="5,8,9,10,11,12,18,19,20,25,26"; +w["tard"]="9,23"; +w["tarefa"]="25"; +w["taxa"]="4,20"; +w["tecl"]="9,12"; +w["tecla"]="9,23"; +w["teclado"]="5,10,25"; +w["teclando"]="9"; +w["tela"]="0,1,2,4,5,7,9,10,11,12,16,17,18,19,20,23,26"; +w["tem"]="2,4,9,12,14,16,18,23,24,26,27,28"; +w["tempo"]="9,23"; +w["tenha"]="3,9,23,25,26"; +w["tenham"]="26"; +w["tent"]="4,9,15"; +w["tenta"]="4"; +w["tentar"]="9"; +w["tentará"]="12"; +w["ter"]="2,8,9,12,17,25,26,28"; +w["termin"]="9,23"; +w["terminou"]="0"; +w["termo"]="21"; +w["terá"]="24"; +w["test"]="20"; +w["testado"]="26"; +w["text"]="9"; +w["texto"]="9,18,23"; +w["tipo"]="4,11,14,17,25,26,28"; +w["tiver"]="0,4,12,17,18,19,26"; +w["tmp"]="12"; +w["toda"]="3,7,18,21,26,27"; +w["todo"]="5,11,14,16,19,20,26,27,29"; +w["tornam"]="6"; +w["torná-la"]="15"; +w["total"]="26"; +w["trabalho"]="1,6,7"; +w["trackbal"]="25"; +w["tratada"]="9"; +w["triângulo"]="29"; +w["três"]="3,9,23"; +w["tty2"]="12"; +w["tudo"]="3,9,20,25"; +w["tão"]="9"; +w["um"]="0,1,3,4,5,6,7,8,9,10,11,12,16,17,18,19,20,23,25,26,28,29,30"; +w["uma"]="1,3,4,7,9,10,11,12,14,15,16,17,18,19,20,23,25,26,28,30"; +w["unicod"]="5"; +w["unidad"]="26"; +w["univers"]="30"; +w["updat"]="16"; +w["url"]="16"; +w["usa"]="4,5,25"; +w["usada"]="4,26"; +w["usado"]="18,26"; +w["usando"]="9,12,14,18,26"; +w["usar"]="1,3,5,6,8,9,11,12,18,26,28"; +w["usb"]="3,8,18,30"; +w["use"]="26"; +w["uso"]="7,25"; +w["usuário"]="5,9,11,18,20,25"; +w["usá-lo"]="26"; +w["utc"]="19"; +w["utf-8"]="5"; +w["util"]="23,26"; +w["utilizada"]="26"; +w["utilizado"]="12,26"; +w["utilizador"]="18"; +w["utilizam"]="12,26"; +w["utilizar"]="5,7,12,25,26"; +w["utilizará"]="26"; +w["vai"]="1,5,10,15,18,20,25"; +w["vale"]="9"; +w["var"]="17"; +w["variar"]="26"; +w["veja"]="9,18"; +w["ver"]="1,2,3,7,17,20,21,25,26,29"; +w["verd"]="18"; +w["verificando"]="18"; +w["verificar"]="2,12,18,25"; +w["verifiqu"]="25"; +w["vermelho"]="18"; +w["versão"]="13,15,17,18,21,23"; +w["vertic"]="4,20"; +w["verá"]="10"; +w["vesa"]="4,28"; +w["vez"]="4,9,14,23,26"; +w["veze"]="9,23"; +w["vgalo"]="9"; +w["via"]="16"; +w["video"]="14,17"; +w["visit"]="0"; +w["visualizá-la"]="3"; +w["visívei"]="6"; +w["você"]="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30"; +w["volta"]="12"; +w["voltar"]="2,10,20"; +w["vá"]="9,23"; +w["vária"]="9,14,17,20"; +w["vário"]="5,14,17"; +w["vão"]="25"; +w["vê"]="17,20"; +w["vêm"]="1"; +w["vídeo"]="4,9,14,20,25,28"; +w["wifi"]="14"; +w["wiki"]="10"; +w["wikipedia"]="10"; +w["window"]="20,26"; +w["wireless"]="11"; +w["www"]="0"; +w["x"]="7,20,28"; +w["xorg"]="28"; +w["xxx"]="9"; +w["xxxm"]="9"; +w[" "]="0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30"; +w["à"]="2,13,21,28"; +w["áfrica"]="11"; +w["área"]="1,26"; +w["árvore"]="4,28"; +w["ásia"]="11"; +w["áudio"]="14"; +w["é"]="0,1,4,5,6,7,9,10,11,12,14,17,18,20,23,25,26,28,30"; +w["ícone"]="8,18"; +w["índia"]="11"; +w["ótimo"]="12"; +w["última"]="23,26"; +w["útei"]="1,7"; +w["útil"]="26"; +w["“configur"]="25"; +w["“configuração"]="25"; +w["“escolha"]="7"; +w["“instalação"]="6"; +w["“opçõ"]="9"; +w["“primeira"]="9"; +w["“principai"]="25"; +w["“selecion"]="25"; + diff --git a/installer/3/pt_br/content/search/ja-jp.props b/installer/3/pt_br/content/search/ja-jp.props new file mode 100644 index 00000000..27568054 --- /dev/null +++ b/installer/3/pt_br/content/search/ja-jp.props @@ -0,0 +1 @@ +J01=\\u306B
\ No newline at end of file diff --git a/installer/3/pt_br/content/search/nwSearchFnt.js b/installer/3/pt_br/content/search/nwSearchFnt.js new file mode 100644 index 00000000..0111559c --- /dev/null +++ b/installer/3/pt_br/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]+" "+ 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/installer/3/pt_br/content/search/punctuation.props b/installer/3/pt_br/content/search/punctuation.props new file mode 100644 index 00000000..d3e3fcd2 --- /dev/null +++ b/installer/3/pt_br/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/3/pt_br/content/search/stemmers/de_stemmer.js b/installer/3/pt_br/content/search/stemmers/de_stemmer.js new file mode 100644 index 00000000..7ff3822a --- /dev/null +++ b/installer/3/pt_br/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/3/pt_br/content/search/stemmers/en_stemmer.js b/installer/3/pt_br/content/search/stemmers/en_stemmer.js new file mode 100644 index 00000000..f58012f2 --- /dev/null +++ b/installer/3/pt_br/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/3/pt_br/content/search/stemmers/fr_stemmer.js b/installer/3/pt_br/content/search/stemmers/fr_stemmer.js new file mode 100644 index 00000000..34f97431 --- /dev/null +++ b/installer/3/pt_br/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"); +} + + |