mirror of
https://github.com/explosion/spaCy.git
synced 2025-06-09 15:43:15 +03:00
strings
: Remove unused hash32_utf8
function
This commit is contained in:
parent
551e73ccfc
commit
e032250d42
|
@ -3,7 +3,7 @@ cimport cython
|
||||||
from libc.string cimport memcpy
|
from libc.string cimport memcpy
|
||||||
from libcpp.set cimport set
|
from libcpp.set cimport set
|
||||||
from libc.stdint cimport uint32_t
|
from libc.stdint cimport uint32_t
|
||||||
from murmurhash.mrmr cimport hash64, hash32
|
from murmurhash.mrmr cimport hash64
|
||||||
|
|
||||||
import srsly
|
import srsly
|
||||||
|
|
||||||
|
@ -61,9 +61,6 @@ cdef hash_t hash_utf8(char* utf8_string, int length) nogil:
|
||||||
return hash64(utf8_string, length, 1)
|
return hash64(utf8_string, length, 1)
|
||||||
|
|
||||||
|
|
||||||
cdef uint32_t hash32_utf8(char* utf8_string, int length) nogil:
|
|
||||||
return hash32(utf8_string, length, 1)
|
|
||||||
|
|
||||||
|
|
||||||
cdef str decode_Utf8Str(const Utf8Str* string):
|
cdef str decode_Utf8Str(const Utf8Str* string):
|
||||||
cdef int i, length
|
cdef int i, length
|
||||||
|
|
Loading…
Reference in New Issue
Block a user