en-neuralcoref-2.1.1
توضیحات
Pipeline extension for spaCy which annotates and resolves coreference clusters using a neural network.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | en-neuralcoref-2.1.1 |
| نام | en-neuralcoref |
| نسخه کتابخانه | 2.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Robo.AI |
| ایمیل نویسنده | info@robo-ai.com |
| آدرس صفحه اصلی | https://robo-ai.com/ |
| آدرس اینترنتی | https://pypi.org/project/en-neuralcoref/ |
| مجوز | MIT |
# 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.
```sh
$ python -m spacy download en_core_web_sm
```
Now the neural coref spaCy model can be installed.
```sh
$ pip install en-neuralcoref
```
### Usage
```python
# 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
نحوه نصب
نصب پکیج whl en-neuralcoref-2.1.1:
pip install en-neuralcoref-2.1.1.whl
نصب پکیج tar.gz en-neuralcoref-2.1.1:
pip install en-neuralcoref-2.1.1.tar.gz