mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-11 17:56:30 +03:00
* Add u prefix to string in web example
This commit is contained in:
parent
eba03695ef
commit
907e8cf07d
|
@ -13,7 +13,7 @@ def token(doc):
|
|||
def test_load_resources_and_process_text():
|
||||
from spacy.en import English
|
||||
nlp = English()
|
||||
doc = nlp('Hello, world. Here are two sentences.')
|
||||
doc = nlp(u'Hello, world. Here are two sentences.')
|
||||
|
||||
|
||||
@pytest.mark.models
|
||||
|
|
Loading…
Reference in New Issue
Block a user