B
    ÿ‹d  ã               @   s<   d 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 )z9Turkish search language: includes the JS Turkish stemmer.é    )ÚDictÚSetN)ÚSearchLanguagec               @   sL   e Zd ZU dZdZdZeƒ Zee	 e
d< eddœdd„Ze	e	d	œd
d„ZdS )ÚSearchTurkishÚtrÚTurkishzturkish-stemmer.jsÚ	stopwordsN)ÚoptionsÚreturnc             C   s   t  d¡| _d S )NÚturkish)ÚsnowballstemmerÚstemmer)Úselfr	   © r   ú]/work/yifan.wang/ringdown/master-ringdown-env/lib/python3.7/site-packages/sphinx/search/tr.pyÚinit   s    zSearchTurkish.init)Úwordr
   c             C   s   | j  | ¡ ¡S )N)r   ZstemWordÚlower)r   r   r   r   r   Ústem   s    zSearchTurkish.stem)Ú__name__Ú
__module__Ú__qualname__ÚlangZlanguage_nameZjs_stemmer_rawcodeÚsetr   r   ÚstrÚ__annotations__r   r   r   r   r   r   r   r   
   s   
r   )Ú__doc__Útypingr   r   r   Zsphinx.searchr   r   r   r   r   r   Ú<module>   s   