Default to LOWER in character embed

This commit is contained in:
Matthew Honnibal 2020-10-01 22:17:58 +02:00
parent 684a77870b
commit b854bca15c

View File

@ -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