Technical requirements
Follow these steps to install the packages and models required for this chapter:
pip install inflect python -m spacy download en_core_web_md pip install textacy
For the Finding references: anaphora resolution recipe, we have to install the neuralcoref
package. To install this package, use the following command:
pip install neuralcoref
In case, when running the code, you encounter errors that mention spacy.strings.StringStore size changed
, you might need to install neuralcoref
from the source:
pip uninstall neuralcoref git clone https://github.com/huggingface/neuralcoref.git cd neuralcoref pip install -r requirements.txt pip install -e
For more information about installation and usage, see https://github.com/huggingface/neuralcoref.