adding a missing apostrophe (#2436)

This commit is contained in:
GolanLevy 2018-06-11 18:47:24 +03:00 committed by Ines Montani
parent effb55d591
commit 72d7e80f94

View File

@ -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.")