mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 10:16:27 +03:00
fix typo
This commit is contained in:
parent
6f46d4e4d2
commit
c32fcdf4c9
|
@ -165,7 +165,7 @@ def MultiHashEmbed(
|
||||||
|
|
||||||
@registry.architectures.register("spacy.CharacterEmbed.v1")
|
@registry.architectures.register("spacy.CharacterEmbed.v1")
|
||||||
def CharacterEmbed(width: int, rows: int, nM: int, nC: int):
|
def CharacterEmbed(width: int, rows: int, nM: int, nC: int):
|
||||||
"""Construct an embedded representations 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
|
||||||
each word, taken from the beginning and end of the word equally. Padding is
|
each word, taken from the beginning and end of the word equally. Padding is
|
||||||
used in the centre for words that are too short.
|
used in the centre for words that are too short.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user