mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 01:48:04 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			227 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			227 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from __future__ import unicode_literals
 | 
						|
import pytest
 | 
						|
 | 
						|
from spacy.parts_of_speech import ADV
 | 
						|
 | 
						|
 | 
						|
@pytest.mark.models
 | 
						|
def test_prob(EN):
 | 
						|
    tokens = EN(u'Give it back', parse=False)
 | 
						|
    give = tokens[0]
 | 
						|
    assert give.prob != 0
 |