mirror of https://github.com/explosion/spaCy.git
* Add comment to tokenizer, explaining the spacy attr
This commit is contained in:
parent
8214b74eec
commit
24d6ce99ec
|
@ -185,9 +185,6 @@ cdef class Tokenizer:
|
|||
cdef const LexemeC* lexeme
|
||||
cdef UniStr span
|
||||
cdef int i
|
||||
# Have to calculate is_spacy here, i.e. does the token have a trailing
|
||||
# space. There are no spaces *between* the tokens we attach
|
||||
# here, and there *is* a space after the last token.
|
||||
if prefixes.size():
|
||||
for i in range(prefixes.size()):
|
||||
tokens.push_back(prefixes[0][i], False)
|
||||
|
|
Loading…
Reference in New Issue