B
    .(äbŽ  ã               @   sP   d dl mZ d dlZd dlmZ d dlmZ ej ddddd	d
g¡dd„ ƒZ	dS )é    )Úunicode_literalsN)ÚIS_ALPHA)ÚEnglishÚsentencez€The story was to the effect that a young American student recently called on Professor Christlieb with a letter of introduction.zThe next month Barry Siddall joined Stoke City on a free transfer, after Chris Pearce had established himself as the Vale's #1.z†The next month Barry Siddall joined Stoke City on a free transfer, after Chris Pearce had established himself as the Vale's number onezµIndeed, making the one who remains do all the work has installed him into a position of such insolent tyranny, it will take a month at least to reduce him to his proper proportions.zLIt was a missed assignment, but it shouldn't have resulted in a turnover ...c             C   sH   t ƒ }|| ƒ}d}x|D ]}||j7 }qW || t¡ dd¡ksDt‚dS )z8Test that the Doc's count_by function works consistentlyr   é   N)r   Zis_alphaZcount_byr   ÚgetÚAssertionError)r   ZnlpÚdocÚcountÚtoken© r   úT/home/dcms/DCMS/lib/python3.7/site-packages/spacy/tests/regression/test_issue3869.pyÚtest_issue3869	   s    
r   )
Ú
__future__r   ZpytestZspacy.attrsr   Zspacy.lang.enr   ÚmarkZparametrizer   r   r   r   r   Ú<module>   s   