mirror of https://github.com/explosion/spaCy.git
small import fixes
This commit is contained in:
parent
28e4ba7270
commit
329e490560
|
@ -552,8 +552,9 @@ vectors, but combines them via summation with a smaller table of learned
|
||||||
embeddings.
|
embeddings.
|
||||||
|
|
||||||
```python
|
```python
|
||||||
from thinc.api import add, chain, remap_ids, Embed
|
from thinc.api import add, chain, remap_ids, Embed, FeatureExtractor
|
||||||
from spacy.ml.staticvectors import StaticVectors
|
from spacy.ml.staticvectors import StaticVectors
|
||||||
|
from spacy.util import registry
|
||||||
|
|
||||||
@registry.architectures("my_example.MyEmbedding.v1")
|
@registry.architectures("my_example.MyEmbedding.v1")
|
||||||
def MyCustomVectors(
|
def MyCustomVectors(
|
||||||
|
|
Loading…
Reference in New Issue