neural coref spaCy model
This spaCy model annotates and resolves coreference clusters using a neural network. Note: as of now the model is only available in English.
Installation
Before using the neural coref model, make sure spaCy English model is installed.
$ python -m spacy download en_core_web_sm
Now the neural coref spaCy model can be installed.
$ pip install en-neuralcoref
Usage
# Import spacy and load the en_neuralcoref model
import spacy
nlp = spacy.load('en_neuralcoref')
# You're done. You can now use NeuralCoref as you usually manipulate a SpaCy document annotations.
doc = nlp(u'My sister has a dog. She loves him.')
doc._.has_coref
doc._.coref_clusters
doc._.coref_resolved
License
MIT
Metadata
Release files for en-neuralcoref 2.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| en_neuralcoref-2.1.1.tar.gz | 51.2 MB | Without provenance | Details for en_neuralcoref-2.1.1.tar.gz |
Release files / en_neuralcoref-2.1.1.tar.gz
| Download URL | en_neuralcoref-2.1.1.tar.gz |
|---|---|
| Size | 51.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f4259d7ebbf4ff9b2af355b2d73581137e83268517a3b5577d2f2f283d33af61
|
|
BLAKE2b-256 checksum How to use checksums |
3497413be08c0d7038f577dbb11d6871b6563f7e7bda36370bbfc3e702d9ed0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7
|
Security for en-neuralcoref 2.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.