B
    ÿ‹dJ  ã               @   sD   d Z ddlmZ ddlZddlmZmZ edƒZG dd„ deƒZdS )z7French search language: includes the JS French stemmer.é    )ÚDictN)ÚSearchLanguageÚparse_stop_wordu  
| source: http://snowball.tartarus.org/algorithms/french/stop.txt
au             |  a + le
aux            |  a + les
avec           |  with
ce             |  this
ces            |  these
dans           |  with
de             |  of
des            |  de + les
du             |  de + le
elle           |  she
en             |  `of them' etc
et             |  and
eux            |  them
il             |  he
je             |  I
la             |  the
le             |  the
leur           |  their
lui            |  him
ma             |  my (fem)
mais           |  but
me             |  me
mÃªme           |  same; as in moi-mÃªme (myself) etc
mes            |  me (pl)
moi            |  me
mon            |  my (masc)
ne             |  not
nos            |  our (pl)
notre          |  our
nous           |  we
on             |  one
ou             |  where
par            |  by
pas            |  not
pour           |  for
qu             |  que before vowel
que            |  that
qui            |  who
sa             |  his, her (fem)
se             |  oneself
ses            |  his (pl)
son            |  his, her (masc)
sur            |  on
ta             |  thy (fem)
te             |  thee
tes            |  thy (pl)
toi            |  thee
ton            |  thy (masc)
tu             |  thou
un             |  a
une            |  a
vos            |  your (pl)
votre          |  your
vous           |  you

               |  single letter forms

c              |  c'
d              |  d'
j              |  j'
l              |  l'
Ã               |  to, at
m              |  m'
n              |  n'
s              |  s'
t              |  t'
y              |  there

               | forms of Ãªtre (not including the infinitive):
Ã©tÃ©
Ã©tÃ©e
Ã©tÃ©es
Ã©tÃ©s
Ã©tant
suis
es
est
sommes
Ãªtes
sont
serai
seras
sera
serons
serez
seront
serais
serait
serions
seriez
seraient
Ã©tais
Ã©tait
Ã©tions
Ã©tiez
Ã©taient
fus
fut
fÃ»mes
fÃ»tes
furent
sois
soit
soyons
soyez
soient
fusse
fusses
fÃ»t
fussions
fussiez
fussent

               | forms of avoir (not including the infinitive):
ayant
eu
eue
eues
eus
ai
as
avons
avez
ont
aurai
auras
aura
aurons
aurez
auront
aurais
aurait
aurions
auriez
auraient
avais
avait
avions
aviez
avaient
eut
eÃ»mes
eÃ»tes
eurent
aie
aies
ait
ayons
ayez
aient
eusse
eusses
eÃ»t
eussions
eussiez
eussent

               | Later additions (from Jean-Christophe Deschamps)
ceci           |  this
cela           |  that (added 11 Apr 2012. Omission reported by Adrien Grand)
celÃ            |  that (incorrect, though common)
cet            |  this
cette          |  this
ici            |  here
ils            |  they
les            |  the (pl)
leurs          |  their (pl)
quel           |  which
quels          |  which
quelle         |  which
quelles        |  which
sans           |  without
soi            |  oneself
c               @   s<   e Zd ZdZdZdZeZeddœdd„Z	e
e
dœd	d
„ZdS )ÚSearchFrenchÚfrZFrenchzfrench-stemmer.jsN)ÚoptionsÚreturnc             C   s   t  d¡| _d S )NÚfrench)ÚsnowballstemmerÚstemmer)Úselfr   © r   ú]/work/yifan.wang/ringdown/master-ringdown-env/lib/python3.7/site-packages/sphinx/search/fr.pyÚinitÁ   s    zSearchFrench.init)Úwordr   c             C   s   | j  | ¡ ¡S )N)r   ZstemWordÚlower)r   r   r   r   r   ÚstemÄ   s    zSearchFrench.stem)Ú__name__Ú
__module__Ú__qualname__ÚlangZlanguage_nameZjs_stemmer_rawcodeÚfrench_stopwordsZ	stopwordsr   r   Ústrr   r   r   r   r   r   »   s   r   )	Ú__doc__Útypingr   r
   Zsphinx.searchr   r   r   r   r   r   r   r   Ú<module>   s    0