B
    ÿ‹d7  ã               @   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 )z9Spanish search language: includes the JS Spanish stemmer.é    )ÚDictN)ÚSearchLanguageÚparse_stop_worduù  
|source: http://snowball.tartarus.org/algorithms/spanish/stop.txt
de             |  from, of
la             |  the, her
que            |  who, that
el             |  the
en             |  in
y              |  and
a              |  to
los            |  the, them
del            |  de + el
se             |  himself, from him etc
las            |  the, them
por            |  for, by, etc
un             |  a
para           |  for
con            |  with
no             |  no
una            |  a
su             |  his, her
al             |  a + el
  | es         from SER
lo             |  him
como           |  how
mÃ¡s            |  more
pero           |  pero
sus            |  su plural
le             |  to him, her
ya             |  already
o              |  or
  | fue        from SER
este           |  this
  | ha         from HABER
sÃ­             |  himself etc
porque         |  because
esta           |  this
  | son        from SER
entre          |  between
  | estÃ¡     from ESTAR
cuando         |  when
muy            |  very
sin            |  without
sobre          |  on
  | ser        from SER
  | tiene      from TENER
tambiÃ©n        |  also
me             |  me
hasta          |  until
hay            |  there is/are
donde          |  where
  | han        from HABER
quien          |  whom, that
  | estÃ¡n      from ESTAR
  | estado     from ESTAR
desde          |  from
todo           |  all
nos            |  us
durante        |  during
  | estados    from ESTAR
todos          |  all
uno            |  a
les            |  to them
ni             |  nor
contra         |  against
otros          |  other
  | fueron     from SER
ese            |  that
eso            |  that
  | habÃ­a      from HABER
ante           |  before
ellos          |  they
e              |  and (variant of y)
esto           |  this
mÃ­             |  me
antes          |  before
algunos        |  some
quÃ©            |  what?
unos           |  a
yo             |  I
otro           |  other
otras          |  other
otra           |  other
Ã©l             |  he
tanto          |  so much, many
esa            |  that
estos          |  these
mucho          |  much, many
quienes        |  who
nada           |  nothing
muchos         |  many
cual           |  who
  | sea        from SER
poco           |  few
ella           |  she
estar          |  to be
  | haber      from HABER
estas          |  these
  | estaba     from ESTAR
  | estamos    from ESTAR
algunas        |  some
algo           |  something
nosotros       |  we

      | other forms

mi             |  me
mis            |  mi plural
tÃº             |  thou
te             |  thee
ti             |  thee
tu             |  thy
tus            |  tu plural
ellas          |  they
nosotras       |  we
vosotros       |  you
vosotras       |  you
os             |  you
mÃ­o            |  mine
mÃ­a            |
mÃ­os           |
mÃ­as           |
tuyo           |  thine
tuya           |
tuyos          |
tuyas          |
suyo           |  his, hers, theirs
suya           |
suyos          |
suyas          |
nuestro        |  ours
nuestra        |
nuestros       |
nuestras       |
vuestro        |  yours
vuestra        |
vuestros       |
vuestras       |
esos           |  those
esas           |  those

               | forms of estar, to be (not including the infinitive):
estoy
estÃ¡s
estÃ¡
estamos
estÃ¡is
estÃ¡n
estÃ©
estÃ©s
estemos
estÃ©is
estÃ©n
estarÃ©
estarÃ¡s
estarÃ¡
estaremos
estarÃ©is
estarÃ¡n
estarÃ­a
estarÃ­as
estarÃ­amos
estarÃ­ais
estarÃ­an
estaba
estabas
estÃ¡bamos
estabais
estaban
estuve
estuviste
estuvo
estuvimos
estuvisteis
estuvieron
estuviera
estuvieras
estuviÃ©ramos
estuvierais
estuvieran
estuviese
estuvieses
estuviÃ©semos
estuvieseis
estuviesen
estando
estado
estada
estados
estadas
estad

               | forms of haber, to have (not including the infinitive):
he
has
ha
hemos
habÃ©is
han
haya
hayas
hayamos
hayÃ¡is
hayan
habrÃ©
habrÃ¡s
habrÃ¡
habremos
habrÃ©is
habrÃ¡n
habrÃ­a
habrÃ­as
habrÃ­amos
habrÃ­ais
habrÃ­an
habÃ­a
habÃ­as
habÃ­amos
habÃ­ais
habÃ­an
hube
hubiste
hubo
hubimos
hubisteis
hubieron
hubiera
hubieras
hubiÃ©ramos
hubierais
hubieran
hubiese
hubieses
hubiÃ©semos
hubieseis
hubiesen
habiendo
habido
habida
habidos
habidas

               | forms of ser, to be (not including the infinitive):
soy
eres
es
somos
sois
son
sea
seas
seamos
seÃ¡is
sean
serÃ©
serÃ¡s
serÃ¡
seremos
serÃ©is
serÃ¡n
serÃ­a
serÃ­as
serÃ­amos
serÃ­ais
serÃ­an
era
eras
Ã©ramos
erais
eran
fui
fuiste
fue
fuimos
fuisteis
fueron
fuera
fueras
fuÃ©ramos
fuerais
fueran
fuese
fueses
fuÃ©semos
fueseis
fuesen
siendo
sido
  |  sed also means 'thirst'

               | forms of tener, to have (not including the infinitive):
tengo
tienes
tiene
tenemos
tenÃ©is
tienen
tenga
tengas
tengamos
tengÃ¡is
tengan
tendrÃ©
tendrÃ¡s
tendrÃ¡
tendremos
tendrÃ©is
tendrÃ¡n
tendrÃ­a
tendrÃ­as
tendrÃ­amos
tendrÃ­ais
tendrÃ­an
tenÃ­a
tenÃ­as
tenÃ­amos
tenÃ­ais
tenÃ­an
tuve
tuviste
tuvo
tuvimos
tuvisteis
tuvieron
tuviera
tuvieras
tuviÃ©ramos
tuvierais
tuvieran
tuviese
tuvieses
tuviÃ©semos
tuvieseis
tuviesen
teniendo
tenido
tenida
tenidos
tenidas
tened
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 )ÚSearchSpanishÚesZSpanishzspanish-stemmer.jsN)ÚoptionsÚreturnc             C   s   t  d¡| _d S )NÚspanish)ÚsnowballstemmerÚstemmer)Úselfr   © r   ú]/work/yifan.wang/ringdown/master-ringdown-env/lib/python3.7/site-packages/sphinx/search/es.pyÚinite  s    zSearchSpanish.init)Úwordr   c             C   s   | j  | ¡ ¡S )N)r   ZstemWordÚlower)r   r   r   r   r   Ústemh  s    zSearchSpanish.stem)Ú__name__Ú
__module__Ú__qualname__ÚlangZlanguage_nameZjs_stemmer_rawcodeÚspanish_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     U