mirror of https://github.com/explosion/spaCy.git
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")
|
@registry.architectures.register("spacy.CharacterEmbed.v1")
|
||||||
def CharacterEmbed(
|
def CharacterEmbed(
|
||||||
width: int, rows: int, nM: int, nC: int, also_use_static_vectors: bool,
|
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
|
"""Construct an embedded representation based on character embeddings, using
|
||||||
a feed-forward network. A fixed number of UTF-8 byte characters are used for
|
a feed-forward network. A fixed number of UTF-8 byte characters are used for
|
||||||
|
|
Loading…
Reference in New Issue