Skip to content

Commit 754d470

Browse files
committed
update readme
1 parent e6c1e3c commit 754d470

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pip install neuralcoref
3030

3131
#### `spacy.strings.StringStore size changed` error
3232

33-
If you have an error mentioning `spacy.strings.StringStore size changed, may indicate binary incompatibility` when loading NeuralCoref with `import neuralcoref`, it means you'll have to install NeuralCoref from the distribution's sources instead of the wheels to get NeuralCoref to build against your version of SpaCy.
33+
If you have an error mentioning `spacy.strings.StringStore size changed, may indicate binary incompatibility` when loading NeuralCoref with `import neuralcoref`, it means you'll have to install NeuralCoref from the distribution's sources instead of the wheels to get NeuralCoref to build against the most recent version of SpaCy for your system.
3434

3535
In this case, simply re-install neuralcoref as follows:
3636

@@ -39,19 +39,17 @@ pip uninstall neuralcoref
3939
pip install neuralcoref --no-binary neuralcoref
4040
```
4141

42-
#### Installing SpaCy
42+
#### Installing SpaCy's model
4343

44-
To be able to use NeuralCoref you will also need to have
45-
- SpaCy
46-
- an English model for SpaCy.
44+
To be able to use NeuralCoref you will also need to have an English model for SpaCy.
4745

4846
You can use whatever english model works fine for your application but note that the performances of NeuralCoref are strongly dependent on the performances of the SpaCy model and in particular on the performances of SpaCy model's tagger, parser and NER components. A larger SpaCy English model will thus improve the quality of the coreference resolution as well (see some details in the [Internals and Model](#-Internals-and-Model) section below).
4947

50-
Here is an example of how spacy and a (small) English model can be downloaded:
48+
Here is an example of how you can install SpaCy and a (small) English model for SpaCy, more information can be found on [spacy's website](https://spacy.io/usage/models):
5149

5250
```bash
53-
pip install spacy
54-
spacy download en
51+
pip install -U spacy
52+
python -m spacy download en
5553
```
5654

5755
### Install NeuralCoref from source

0 commit comments

Comments
 (0)