Port over docs typo corrections

This commit is contained in:
ines 2017-06-03 11:31:30 +02:00
parent 459a1e8470
commit c60431357d
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ p
doc = nlp(u'Give it back! He pleaded.') doc = nlp(u'Give it back! He pleaded.')
assert doc[0].text == 'Give' assert doc[0].text == 'Give'
assert doc[-1].text == '.' assert doc[-1].text == '.'
span = doc[1:1] span = doc[1:3]
assert span.text == 'it back' assert span.text == 'it back'
+table(["Name", "Type", "Description"]) +table(["Name", "Type", "Description"])

View File

@ -141,7 +141,7 @@ p
else: else:
tokens.append(substring) tokens.append(substring)
substring = '' substring = ''
tokens.extend(suffixes) tokens.extend(reversed(suffixes))
return tokens return tokens
p p