o
    –hÔ  ã                   @   s4   d Z ddlZddlZddlmZ ejjZdd„ ZdS )zù
Small test of loading the Arabic pipeline

The main goal is to check that nothing goes wrong with RtL languages,
but incidentally this would have caught a bug where the xpos tags
were split into individual pieces instead of reassembled as expected
é    N)ÚTEST_MODELS_DIRc                  C   sŠ   t jd
i dtd ddœ¤Ž} d}| |ƒ}t|jƒdksJ ‚|jd jd jdks)J ‚|jd jd jdks6J ‚|jd jd jd	ksCJ ‚d S )Nztokenize,posÚar)Ú
processorsÚdirÚdownload_methodÚlanguP   ÙˆÙ„Ù… ÙŠØªÙ… Ø§Ø¹ØªÙ‚Ø§Ù„ Ø§Ø­Ø¯ Ø¨Ø­Ø³Ø¨ Ø§Ù„Ù…ØªØ­Ø¯Ø« Ø¨Ø§Ø³Ù… Ø§Ù„Ø´Ø±Ø·Ø©.é   r   u   ÙˆÙ„Ù…z
C---------z
F---------© )	ÚstanzaÚPipeliner   ÚlenÚ	sentencesÚtokensÚtextÚwordsÚxpos)Úpiper   Údocr	   r	   úe/var/www/html/env_mimamsha/lib/python3.10/site-packages/stanza/tests/pipeline/test_arabic_pipeline.pyÚtest_arabic_pos_pipeline   s   r   )	Ú__doc__Úpytestr
   Ústanza.testsr   ÚmarkÚpipelineÚ
pytestmarkr   r	   r	   r	   r   Ú<module>   s    