mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-30 20:06:30 +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