U
    \ªSh-  ã                   @  sH   d Z ddlmZ ddlmZmZ ddlZddlmZ G dd„ deƒZ	dS )z;Romanian search language: includes the JS Romanian stemmer.é    )Úannotations)ÚDictÚSetN)ÚSearchLanguagec                   @  sH   e Zd ZU dZdZdZeƒ Zded< dddœd	d
„Z	dddœdd„Z
dS )ÚSearchRomanianÚroZRomanianzromanian-stemmer.jszset[str]Ú	stopwordsÚdictÚNone)ÚoptionsÚreturnc                 C  s   t  d¡| _d S )NÚromanian)ÚsnowballstemmerÚstemmer)Úselfr   © r   úC/root/rtd-docs/venv/lib/python3.8/site-packages/sphinx/search/ro.pyÚinit   s    zSearchRomanian.initÚstr)Úwordr   c                 C  s   | j  | ¡ ¡S )N)r   ZstemWordÚlower)r   r   r   r   r   Ústem   s    zSearchRomanian.stemN)Ú__name__Ú
__module__Ú__qualname__ÚlangZlanguage_nameZjs_stemmer_rawcodeÚsetr   Ú__annotations__r   r   r   r   r   r   r      s   
r   )
Ú__doc__Ú
__future__r   Útypingr   r   r   Zsphinx.searchr   r   r   r   r   r   Ú<module>   s
   