mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +03:00
Default to LOWER in character embed
This commit is contained in:
parent
684a77870b
commit
b854bca15c
|
@ -166,7 +166,7 @@ def MultiHashEmbed(
|
|||
@registry.architectures.register("spacy.CharacterEmbed.v1")
|
||||
def CharacterEmbed(
|
||||
width: int, rows: int, nM: int, nC: int, also_use_static_vectors: bool,
|
||||
feature: Union[int, str]="NORM"
|
||||
feature: Union[int, str]="LOWER"
|
||||
):
|
||||
"""Construct an embedded representation based on character embeddings, using
|
||||
a feed-forward network. A fixed number of UTF-8 byte characters are used for
|
||||
|
|
Loading…
Reference in New Issue
Block a user