mirror of https://github.com/explosion/spaCy.git
* 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):
|
for i in range(1, self.size):
|
||||||
string = &self.c[i]
|
string = &self.c[i]
|
||||||
py_string = _decode(string)
|
py_string = _decode(string)
|
||||||
file_.write(py_string.decode('utf8'))
|
file_.write(py_string)
|
||||||
if (i+1) != self.size:
|
if (i+1) != self.size:
|
||||||
file_.write(SEPARATOR)
|
file_.write(SEPARATOR)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue