Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
groupe-calcul
website
Commits
a1269dea
Commit
a1269dea
authored
Jan 29, 2020
by
Matthieu Boileau
Browse files
tipue search in French #131
parent
40d3d00e
Pipeline
#5980
passed with stages
in 1 minute and 41 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
themes/calcul/static/js/tipuesearch/tipuesearch_set.js
View file @
a1269dea
...
...
@@ -9,10 +9,11 @@ http://www.tipue.com/search
/*
Stop words
Stop words list from http://www.ranks.nl/stopwords
Stop words list from https://pypi.org/project/stop-words/:
python -c "from stop_words import get_stop_words; print(get_stop_words('fr'))"
*/
var
tipuesearch_stop_words
=
[
"
a
"
,
"
above
"
,
"
after
"
,
"
again
"
,
"
against
"
,
"
all
"
,
"
am
"
,
"
an
"
,
"
and
"
,
"
any
"
,
"
are
"
,
"
aren't
"
,
"
as
"
,
"
at
"
,
"
be
"
,
"
because
"
,
"
been
"
,
"
before
"
,
"
being
"
,
"
below
"
,
"
between
"
,
"
both
"
,
"
but
"
,
"
by
"
,
"
can't
"
,
"
cannot
"
,
"
could
"
,
"
couldn't
"
,
"
did
"
,
"
didn't
"
,
"
do
"
,
"
does
"
,
"
doesn't
"
,
"
doing
"
,
"
don't
"
,
"
down
"
,
"
during
"
,
"
each
"
,
"
few
"
,
"
for
"
,
"
from
"
,
"
further
"
,
"
had
"
,
"
hadn't
"
,
"
has
"
,
"
hasn't
"
,
"
have
"
,
"
haven't
"
,
"
having
"
,
"
he
"
,
"
he'd
"
,
"
he'll
"
,
"
he's
"
,
"
her
"
,
"
here
"
,
"
here's
"
,
"
hers
"
,
"
herself
"
,
"
him
"
,
"
himself
"
,
"
his
"
,
"
how
"
,
"
how's
"
,
"
i
"
,
"
i'd
"
,
"
i'll
"
,
"
i'm
"
,
"
i've
"
,
"
if
"
,
"
in
"
,
"
into
"
,
"
is
"
,
"
isn't
"
,
"
it
"
,
"
it's
"
,
"
its
"
,
"
itself
"
,
"
let's
"
,
"
me
"
,
"
more
"
,
"
most
"
,
"
mustn't
"
,
"
my
"
,
"
myself
"
,
"
no
"
,
"
nor
"
,
"
not
"
,
"
of
"
,
"
off
"
,
"
on
"
,
"
once
"
,
"
only
"
,
"
or
"
,
"
other
"
,
"
ought
"
,
"
our
"
,
"
ours
"
,
"
ourselves
"
,
"
out
"
,
"
over
"
,
"
own
"
,
"
same
"
,
"
shan't
"
,
"
she
"
,
"
she'd
"
,
"
she'll
"
,
"
she's
"
,
"
should
"
,
"
shouldn't
"
,
"
so
"
,
"
some
"
,
"
such
"
,
"
than
"
,
"
that
"
,
"
that's
"
,
"
the
"
,
"
their
"
,
"
theirs
"
,
"
them
"
,
"
themselves
"
,
"
then
"
,
"
there
"
,
"
there's
"
,
"
these
"
,
"
they
"
,
"
they'd
"
,
"
they'll
"
,
"
they're
"
,
"
they've
"
,
"
this
"
,
"
those
"
,
"
through
"
,
"
to
"
,
"
too
"
,
"
under
"
,
"
until
"
,
"
up
"
,
"
very
"
,
"
was
"
,
"
wasn't
"
,
"
we
"
,
"
we'd
"
,
"
we'll
"
,
"
we're
"
,
"
we've
"
,
"
were
"
,
"
weren't
"
,
"
what
"
,
"
what's
"
,
"
when
"
,
"
when's
"
,
"
where
"
,
"
where's
"
,
"
which
"
,
"
while
"
,
"
who
"
,
"
who's
"
,
"
whom
"
,
"
why
"
,
"
why's
"
,
"
with
"
,
"
won't
"
,
"
would
"
,
"
wouldn't
"
,
"
you
"
,
"
you'd
"
,
"
you'll
"
,
"
you're
"
,
"
you've
"
,
"
your
"
,
"
yours
"
,
"
yourself
"
,
"
yourselves
"
];
var
tipuesearch_stop_words
=
[
'
a
'
,
'
ai
'
,
'
aie
'
,
'
aient
'
,
'
aies
'
,
'
ait
'
,
'
alors
'
,
'
as
'
,
'
au
'
,
'
aucun
'
,
'
aura
'
,
'
aurai
'
,
'
auraient
'
,
'
aurais
'
,
'
aurait
'
,
'
auras
'
,
'
aurez
'
,
'
auriez
'
,
'
aurions
'
,
'
aurons
'
,
'
auront
'
,
'
aussi
'
,
'
autre
'
,
'
aux
'
,
'
avaient
'
,
'
avais
'
,
'
avait
'
,
'
avant
'
,
'
avec
'
,
'
avez
'
,
'
aviez
'
,
'
avions
'
,
'
avoir
'
,
'
avons
'
,
'
ayant
'
,
'
ayez
'
,
'
ayons
'
,
'
bon
'
,
'
car
'
,
'
ce
'
,
'
ceci
'
,
'
cela
'
,
'
ces
'
,
'
cet
'
,
'
cette
'
,
'
ceux
'
,
'
chaque
'
,
'
ci
'
,
'
comme
'
,
'
comment
'
,
'
d
'
,
'
dans
'
,
'
de
'
,
'
dedans
'
,
'
dehors
'
,
'
depuis
'
,
'
des
'
,
'
deux
'
,
'
devoir
'
,
'
devrait
'
,
'
devrez
'
,
'
devriez
'
,
'
devrions
'
,
'
devrons
'
,
'
devront
'
,
'
dois
'
,
'
doit
'
,
'
donc
'
,
'
dos
'
,
'
droite
'
,
'
du
'
,
'
dès
'
,
'
début
'
,
'
dù
'
,
'
elle
'
,
'
elles
'
,
'
en
'
,
'
encore
'
,
'
es
'
,
'
est
'
,
'
et
'
,
'
eu
'
,
'
eue
'
,
'
eues
'
,
'
eurent
'
,
'
eus
'
,
'
eusse
'
,
'
eussent
'
,
'
eusses
'
,
'
eussiez
'
,
'
eussions
'
,
'
eut
'
,
'
eux
'
,
'
eûmes
'
,
'
eût
'
,
'
eûtes
'
,
'
faire
'
,
'
fais
'
,
'
faisez
'
,
'
fait
'
,
'
faites
'
,
'
fois
'
,
'
font
'
,
'
force
'
,
'
furent
'
,
'
fus
'
,
'
fusse
'
,
'
fussent
'
,
'
fusses
'
,
'
fussiez
'
,
'
fussions
'
,
'
fut
'
,
'
fûmes
'
,
'
fût
'
,
'
fûtes
'
,
'
haut
'
,
'
hors
'
,
'
ici
'
,
'
il
'
,
'
ils
'
,
'
j
'
,
'
je
'
,
'
juste
'
,
'
l
'
,
'
la
'
,
'
le
'
,
'
les
'
,
'
leur
'
,
'
leurs
'
,
'
lui
'
,
'
là
'
,
'
m
'
,
'
ma
'
,
'
maintenant
'
,
'
mais
'
,
'
me
'
,
'
mes
'
,
'
moi
'
,
'
moins
'
,
'
mon
'
,
'
mot
'
,
'
même
'
,
'
n
'
,
'
ne
'
,
'
ni
'
,
'
nom
'
,
'
nommé
'
,
'
nommée
'
,
'
nommés
'
,
'
nos
'
,
'
notre
'
,
'
nous
'
,
'
nouveau
'
,
'
nouveaux
'
,
'
on
'
,
'
ont
'
,
'
ou
'
,
'
où
'
,
'
par
'
,
'
parce
'
,
'
parole
'
,
'
pas
'
,
'
personne
'
,
'
personnes
'
,
'
peu
'
,
'
peut
'
,
'
plupart
'
,
'
pour
'
,
'
pourquoi
'
,
'
qu
'
,
'
quand
'
,
'
que
'
,
'
quel
'
,
'
quelle
'
,
'
quelles
'
,
'
quels
'
,
'
qui
'
,
'
sa
'
,
'
sans
'
,
'
se
'
,
'
sera
'
,
'
serai
'
,
'
seraient
'
,
'
serais
'
,
'
serait
'
,
'
seras
'
,
'
serez
'
,
'
seriez
'
,
'
serions
'
,
'
serons
'
,
'
seront
'
,
'
ses
'
,
'
seulement
'
,
'
si
'
,
'
sien
'
,
'
soi
'
,
'
soient
'
,
'
sois
'
,
'
soit
'
,
'
sommes
'
,
'
son
'
,
'
sont
'
,
'
sous
'
,
'
soyez
'
,
'
soyons
'
,
'
suis
'
,
'
sujet
'
,
'
sur
'
,
'
t
'
,
'
ta
'
,
'
tandis
'
,
'
te
'
,
'
tellement
'
,
'
tels
'
,
'
tes
'
,
'
toi
'
,
'
ton
'
,
'
tous
'
,
'
tout
'
,
'
trop
'
,
'
très
'
,
'
tu
'
,
'
un
'
,
'
une
'
,
'
valeur
'
,
'
voient
'
,
'
vois
'
,
'
voit
'
,
'
vont
'
,
'
vos
'
,
'
votre
'
,
'
vous
'
,
'
vu
'
,
'
y
'
,
'
à
'
,
'
ça
'
,
'
étaient
'
,
'
étais
'
,
'
était
'
,
'
étant
'
,
'
état
'
,
'
étiez
'
,
'
étions
'
,
'
été
'
,
'
étés
'
,
'
êtes
'
,
'
être
'
]
// Word replace
...
...
@@ -57,22 +58,22 @@ var tipuesearch_related = {'Related': [
// Internal strings
var
tipuesearch_string_1
=
'
No
tit
l
e
'
;
var
tipuesearch_string_2
=
'
Showing results fo
r
'
;
var
tipuesearch_string_3
=
'
Search instead for
'
;
var
tipuesearch_string_4
=
'
1 r
e
sult
'
;
var
tipuesearch_string_5
=
'
results
'
;
var
tipuesearch_string_1
=
'
Pas de
tit
r
e
'
;
var
tipuesearch_string_2
=
'
Résultat pou
r
'
;
var
tipuesearch_string_3
=
'
Au lieu de
'
;
var
tipuesearch_string_4
=
'
1 r
é
sult
at
'
;
var
tipuesearch_string_5
=
'
result
at
s
'
;
var
tipuesearch_string_6
=
'
<
'
;
var
tipuesearch_string_7
=
'
>
'
;
var
tipuesearch_string_8
=
'
Nothing found
.
'
;
var
tipuesearch_string_9
=
'
Common words are largely
ignor
ed
.
'
;
var
tipuesearch_string_10
=
'
Rel
ated
'
;
var
tipuesearch_string_11
=
'
Search too short. Should be one
c
h
aract
er or mo
re.
'
;
var
tipuesearch_string_12
=
'
Search too short. Should be
'
;
var
tipuesearch_string_13
=
'
c
h
aract
ers or mo
re.
'
;
var
tipuesearch_string_14
=
'
seconds
'
;
var
tipuesearch_string_15
=
'
O
pen I
mage
'
;
var
tipuesearch_string_16
=
'
Goto P
age
'
;
var
tipuesearch_string_8
=
'
Aucun résultat
.
'
;
var
tipuesearch_string_9
=
'
Les mots communs sont
ignor
és
.
'
;
var
tipuesearch_string_10
=
'
Rel
ié
'
;
var
tipuesearch_string_11
=
'
Entrer au moins un
caract
è
re.
'
;
var
tipuesearch_string_12
=
'
Entrer au moins
'
;
var
tipuesearch_string_13
=
'
caract
è
re
s
.
'
;
var
tipuesearch_string_14
=
'
second
e
s
'
;
var
tipuesearch_string_15
=
'
O
uvrir l
\'
i
mage
'
;
var
tipuesearch_string_16
=
'
Aller sur la p
age
'
;
// Internals
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment