Commit Graph

17 Commits

Author SHA1 Message Date
Matthew Honnibal
1da76e9aca Format and isort 2025-05-22 00:18:44 +02:00
Matthew Honnibal
752c2dd403 Fix registry 2025-05-22 00:18:20 +02:00
Matthew Honnibal
c8d7dd968a Move registrations 2025-05-21 23:19:00 +02:00
Matthew Honnibal
ab5f1c1013 Move more functions 2025-05-21 23:12:47 +02:00
Matthew Honnibal
e6c190bc86 Move more functions 2025-05-21 22:59:54 +02:00
Matthew Honnibal
24b0670be7 Move more layers 2025-05-21 22:53:07 +02:00
Matthew Honnibal
959b80d823 Move more registry functions 2025-05-21 22:45:14 +02:00
Matthew Honnibal
b8db76ccbe Isort 2025-05-21 20:48:05 +02:00
Matthew Honnibal
bd2d707773 Move factories to their own file 2025-05-21 15:34:01 +02:00
Matthew Honnibal
d8388aa591 Make factories top-level functions in registrations.py 2025-05-21 14:03:11 +02:00
Matthew Honnibal
f6b1546a74 Fix syntax 2025-05-20 18:35:13 +02:00
Matthew Honnibal
216ef7ee7a Move imports 2025-05-20 18:34:01 +02:00
Matthew Honnibal
6f1a65a8bd Move component registrations under registrations.py
The functions can't be in Cython anymore, as we can't read
the types off the signatures in Cython 3. To avoid having some
in the file and some not, I've moved the Python ones as well.

We'll need to do a re-import of these functions into the files that
had them before to maintain backwards compatibility. This might
require some import trickery to avoid circular imports.
2025-05-20 18:27:12 +02:00
Matthew Honnibal
c3f9fab5e8 WIP 2025-05-19 17:41:34 +02:00
Matthew Honnibal
c62b9dac0b Register factories in spacy.registrations, to avoid import-time side-effects 2025-05-19 16:25:33 +02:00
Matthew Honnibal
15bd029be5 Centralise registrations 2025-05-19 13:07:21 +02:00
Matthew Honnibal
9d7b22c52e Start centralising registry calls 2025-05-19 12:33:24 +02:00