mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-27 18:36:36 +03:00
extend suffixes from first to last
reverse suffix list in `tokenizer_pseudo_code()` so the order of returned tokens matches input order
This commit is contained in:
parent
6c67482f34
commit
af3d121ec9
|
@ -113,7 +113,7 @@ p
|
|||
else:
|
||||
tokens.append(substring)
|
||||
substring = ''
|
||||
tokens.extend(suffixes)
|
||||
tokens.extend(reversed(suffixes))
|
||||
return tokens
|
||||
|
||||
p
|
||||
|
|
Loading…
Reference in New Issue
Block a user