B
    .(b$                 @   s0   d dl mZ d dlmZ d dlmZ dd ZdS )    )unicode_literals)Matcher)Docc             C   sd   t | }ddidddddiddig}|d|g t| d	d
ddgd}||}t|dks`tdS )z?Test that combinations of optional rules are matched correctly.LOWERZhellothis?)r   OPr   ZworldZTESTZHelloZmynew)wordsr   N)r   addr   lenAssertionError)Zen_vocabZmatcherpatterndocmatches r   T/home/dcms/DCMS/lib/python3.7/site-packages/spacy/tests/regression/test_issue3951.pytest_issue3951   s    
r   N)
__future__r   Zspacy.matcherr   Zspacy.tokensr   r   r   r   r   r   <module>   s   