B
    .(äb  ã               @   sV   d dl mZ d dlZd dlmZ d dlmZ G dd„ deƒZejdd„ ƒZ	d	d
„ Z
dS )é    )Úunicode_literalsN)ÚLanguage)ÚPipec               @   s&   e Zd Zdd„ Zdd„ Zddd„ZdS )	Ú	DummyPipec             C   s
   d| _ d S )NZdummy_model)Úmodel)Úself© r   úT/home/dcms/DCMS/lib/python3.7/site-packages/spacy/tests/regression/test_issue4278.pyÚ__init__
   s    zDummyPipe.__init__c             C   s   dddgdddgfS )Né   é   é   é   é   é   r   )r   Údocsr   r   r	   Úpredict   s    zDummyPipe.predictNc             C   s   |S )Nr   )r   r   ZscoresZtensorsr   r   r	   Úset_annotations   s    zDummyPipe.set_annotations)N)Ú__name__Ú
__module__Ú__qualname__r
   r   r   r   r   r   r	   r   	   s   r   c               C   s   t ƒ S )N)r   r   r   r   r	   Únlp   s    r   c             C   s   |   d¡}tƒ }||ƒ d S )NZfoo)Zmake_docr   )r   ÚdocZ
dummy_piper   r   r	   Útest_multiple_predictions   s    
r   )Ú
__future__r   ZpytestZspacy.languager   Zspacy.pipeliner   r   Zfixturer   r   r   r   r   r	   Ú<module>   s   