spaCy/spacy
Raphael Mitsch 6f1632b3e9 Make generation of empty KnowledgeBase instances configurable in EntityLinker (#12320)
* Make empty_kb() configurable.

* Format.

* Update docs.

* Be more specific in KB serialization test.

* Update KB serialization tests. Update docs.

* Remove doc update for batched candidate generation.

* Fix serialization of subclassed KB in tests.

* Format.

* Update docstring.

* Update docstring.

* Switch from pickle to json for custom field serialization.
2023-03-01 17:33:31 +01:00
..
cli Adjust return type of registry.find (#12227) 2023-02-15 12:32:53 +01:00
displacy Auto-format code with black (#12100) 2023-01-13 10:12:10 +01:00
kb rely on is_empty property instead of __len__ (#12347) 2023-03-01 17:33:31 +01:00
lang Update stop_words.py (#11997) 2022-12-19 16:17:49 +01:00
matcher Add new REL_OPs: >+, >-, <+, and <- (#12334) 2023-03-01 10:49:44 +01:00
ml Make generation of empty KnowledgeBase instances configurable in EntityLinker (#12320) 2023-03-01 17:33:31 +01:00
pipeline Make generation of empty KnowledgeBase instances configurable in EntityLinker (#12320) 2023-03-01 17:33:31 +01:00
tests Make generation of empty KnowledgeBase instances configurable in EntityLinker (#12320) 2023-03-01 17:33:31 +01:00
tokens Add span_id to Span.char_span, update Doc/Span.char_span docs (#12196) 2023-01-27 15:09:17 +01:00
training Have logging calls use string formatting types (#12215) 2023-02-02 11:15:22 +01:00
__init__.pxd
__init__.py Simplify and clarify enable/disable behavior of spacy.load() (#11459) 2022-09-27 14:22:36 +02:00
__main__.py
about.py Set version to v3.5.0 2022-11-25 12:05:25 +01:00
attrs.pxd
attrs.pyx Intify IOB (#9738) 2022-01-20 13:19:38 +01:00
compat.py
default_config_pretraining.cfg
default_config.cfg Add training.before_update callback (#11739) 2022-11-23 17:54:58 +01:00
errors.py rely on is_empty property instead of __len__ (#12347) 2023-03-01 17:33:31 +01:00
glossary.py Add glossary entry for root (#10821) 2022-05-20 09:56:32 +02:00
language.py Have logging calls use string formatting types (#12215) 2023-02-02 11:15:22 +01:00
lexeme.pxd
lexeme.pyi
lexeme.pyx
lookups.py Fix issues for Mypy 0.950 and Pydantic 1.9.0 (#10786) 2022-05-25 09:33:54 +02:00
morphology.pxd
morphology.pyx
parts_of_speech.pxd
parts_of_speech.pyx
pipe_analysis.py
py.typed
schemas.py Auto-format code with black (#12100) 2023-01-13 10:12:10 +01:00
scorer.py Restore v2 token_acc score implementation (#12073) 2023-01-11 08:01:47 +01:00
strings.pxd StringStore-related optimizations (#10938) 2022-07-04 15:04:03 +02:00
strings.pyi Fix StringStore.__getitem__ return type depending on parameter types (#10741) 2022-05-03 17:57:07 +02:00
strings.pyx StringStore-related optimizations (#10938) 2022-07-04 15:04:03 +02:00
structs.pxd
symbols.pxd
symbols.pyx
tokenizer.pxd Add tokenizer option to allow Matcher handling for all rules (#10452) 2022-03-24 13:21:32 +01:00
tokenizer.pyx Add tokenizer option to allow Matcher handling for all rules (#10452) 2022-03-24 13:21:32 +01:00
ty.py
typedefs.pxd
typedefs.pyx
util.py Add tests for projects to master (#12303) 2023-02-23 10:22:57 +01:00
vectors.pyx Add equality definition for vectors (#11806) 2022-11-16 09:44:42 +01:00
vocab.pxd
vocab.pyi Add vector deduplication (#10551) 2022-03-30 08:54:23 +02:00
vocab.pyx fix comparison of constants (#11834) 2022-11-21 08:12:03 +01:00