mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 12:18:04 +03:00
Merge pull request #1079 from yuvalpinter/patch-1
extend suffixes from first-by-character-order to last
This commit is contained in:
commit
b885ab405d
|
@ -113,7 +113,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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user