
    -iE                         d dl mZmZmZmZ d dlmZ ddlmZ d Z	d Z
d Zd Zed	k    r$d dlZ ej         eej                             dS dS )
    )absolute_importprint_functionunicode_literalsdivisionN   	STOPWORDSc                     | t           v S  test if word is a stopr   words    X/var/www/html/speakWrite/venv/lib/python3.11/site-packages/tashaphyne/arabicstopwords.pyis_stopr   "   s    9    c                     d}| t           v r=t          j        | i                               dd          }t          j        |          }|S )r    stem)r	   getarabystrip_tashkeel)r   r   s     r   	stop_stemr   &   sH    Dy}T"%%))&44#D))Kr   c                      t          |           S r   )r   r   s    r   	stop_rootr   -   s    T??r   c                 B    d}t          t          |                     dS )Nu
   لعلهمr   )printr   )argsr   s     r   mainr   1   s     D	)D//1r   __main__)
__future__r   r   r   r   pyarabic.arabyr   	stopwordsr	   r   r   r   r   __name__sysexitargv r   r   <module>r(      s   0                                     
 zJJJCHTT#(^^ r   