mirror of
https://github.com/explosion/spaCy.git
synced 2025-04-30 13:53:45 +03:00
adding a missing apostrophe (#2436)
This commit is contained in:
parent
effb55d591
commit
72d7e80f94
|
@ -354,7 +354,7 @@ p
|
||||||
string = ''.join(output)
|
string = ''.join(output)
|
||||||
string = string.replace('\n', '')
|
string = string.replace('\n', '')
|
||||||
string = string.replace('\t', ' ')
|
string = string.replace('\t', ' ')
|
||||||
return '<pre>{}</pre>.format(string)
|
return '<pre>{}</pre>'.format(string)
|
||||||
|
|
||||||
nlp = spacy.load('en_core_web_sm')
|
nlp = spacy.load('en_core_web_sm')
|
||||||
doc = nlp(u"This is a test.\n\nHello world.")
|
doc = nlp(u"This is a test.\n\nHello world.")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user