mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +03:00
* Fix double encoding error in strings.pyx
This commit is contained in:
parent
9cae1b4cad
commit
dd60594f41
|
@ -123,7 +123,7 @@ cdef class StringStore:
|
|||
for i in range(1, self.size):
|
||||
string = &self.c[i]
|
||||
py_string = _decode(string)
|
||||
file_.write(py_string.decode('utf8'))
|
||||
file_.write(py_string)
|
||||
if (i+1) != self.size:
|
||||
file_.write(SEPARATOR)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user