mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-02 11:20:19 +03:00
Add note
This commit is contained in:
parent
fa5724e927
commit
356a341096
|
@ -1764,6 +1764,9 @@ def get_byte_arrays_for_search_chars(
|
||||||
If *case_sensitive==False*, the lower- or uppercase counterparts of any characters that
|
If *case_sensitive==False*, the lower- or uppercase counterparts of any characters that
|
||||||
have case are added to the search byte arrays, and both the original character and its
|
have case are added to the search byte arrays, and both the original character and its
|
||||||
other-cased counterpart map to the lower-case version in the finding byte array.
|
other-cased counterpart map to the lower-case version in the finding byte array.
|
||||||
|
|
||||||
|
All encodings are little-endian regardless of architecture, as this is what is expected by the
|
||||||
|
murmurhash library used downstream.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def encode(ch: str, width: int) -> bytes:
|
def encode(ch: str, width: int) -> bytes:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user