mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-26 17:24:41 +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 = string.replace('\n', '')
|
||||
string = string.replace('\t', ' ')
|
||||
return '<pre>{}</pre>.format(string)
|
||||
return '<pre>{}</pre>'.format(string)
|
||||
|
||||
nlp = spacy.load('en_core_web_sm')
|
||||
doc = nlp(u"This is a test.\n\nHello world.")
|
||||
|
|
Loading…
Reference in New Issue
Block a user