mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-02 19:30:19 +03:00
Updated example config
This commit is contained in:
parent
dcfc810033
commit
f97d6e6826
|
@ -1782,6 +1782,9 @@ cdef class Doc:
|
|||
the fact that we are hashing short affixes and searching for small groups of characters. The calling code is responsible
|
||||
for ensuring that lengths being passed in cannot exceed 63 and hence that resulting values with a maximum of four-byte
|
||||
character widths can never exceed 255.
|
||||
|
||||
Note that this method performs no data validation itself as it expects the calling code will already have done so, and
|
||||
that the behaviour of the code may be erratic if the supplied parameters do not conform to expectations.
|
||||
"""
|
||||
|
||||
# Work out lengths
|
||||
|
|
|
@ -177,18 +177,18 @@ updated).
|
|||
> ```ini
|
||||
> [model]
|
||||
> @architectures = "spacy.RichMultiHashEmbed.v1"
|
||||
> width = 64
|
||||
> attrs = ["LOWER","SHAPE"]
|
||||
> rows = [2000,1000]
|
||||
> width = ${components.tok2vec.model.encode:width}
|
||||
> attrs = ["LOWER","SHAPE","SPACY"]
|
||||
> rows = [5000,2500,50]
|
||||
> include_static_vectors = "False"
|
||||
> case_sensitive = "False"
|
||||
> pref_lengths = [2, 3, 5]
|
||||
> pref_rows = [2000,2000,2000]
|
||||
> pref_rows = [10000, 10000, 10000]
|
||||
> suff_lengths = [2, 3, 4, 5]
|
||||
> suff_rows = [2000,2000,2000,2000]
|
||||
> suff_search_chars = "aeiouäöüyß"
|
||||
> suff_rows = [10000, 10000,10000,10000]
|
||||
> suff_search_chars = "aeiouäöüß"
|
||||
> suff_search_lengths = [2, 3]
|
||||
> suff_search_rows = [2000,2000]
|
||||
> suff_search_rows = [10000,10000]
|
||||
> ```
|
||||
|
||||
Construct an embedding layer with the features of
|
||||
|
|
Loading…
Reference in New Issue
Block a user