Skip to main content

Current status: Coreferee is maintained for compatibility with current spaCy releases. The current release supports Python 3.10–3.13 and spaCy 3.7–3.8, while retaining compatibility with selected earlier spaCy versions.

Coreferences are situations where two or more words within a text refer to the same entity, e.g. John went home because he was tired. Resolving coreferences is an important general task within the natural language processing field.

Coreferee is a Python 3 library for resolving coreferences in English, French, German and Polish texts using spaCy. It is designed to work effectively with the relatively limited amounts of annotated coreference data available for many languages. Language-specific grammatical rules eliminate implausible antecedents, while a neural ensemble using spaCy's syntactic, morphological and vector representations ranks the remaining candidates. The architecture separates language-specific rules from the common inference machinery, making it straightforward to add support for further languages.

Coreference decisions are made in the context of the emerging coreference chain rather than independently. When adding a new mention, the annotator checks compatibility with other members of the chain; if a later decision exposes an inconsistency, it can backtrack over recent assignments and try alternative antecedents.

The library was originally developed at msg systems and was also maintained for a while at Explosion AI.

For more information, please see the main documentation on GitHub.

Metadata

Release files for coreferee 1.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for coreferee 1.5.0
File Size Uploaded
coreferee-1.5.0.tar.gz 246.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for coreferee 1.5.0
File Interpreter ABI Platform
coreferee-1.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 495.2 kB

Release files / coreferee-1.5.0.tar.gz

Download URL coreferee-1.5.0.tar.gz
Size 246.0 kB
Tags Source
SHA-256 checksum
How to use checksums
134ee90dff382174419e06c4747614393f9e0bd5839db141e85109719c90567a
BLAKE2b-256 checksum
How to use checksums
66742c3885811ae5d40ff6325f1d9ec09df3824c837c404c83ab786a120f80a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

Release files / coreferee-1.5.0-py3-none-any.whl

Download URL coreferee-1.5.0-py3-none-any.whl
Size 249.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
defcab5b0bb39a7ffa77d925f68220320909a3f07db5eaf956bec0b5239c7c5d
BLAKE2b-256 checksum
How to use checksums
3d02c24888f6638cb5d23090ba65dc87a563cdfc7c3dbdc977882e75b5060c76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

1.5.0 This release

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page