You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -82,6 +82,21 @@ The cache folder is set by defaults to `~/.neuralcoref_cache` (see [file_utils.p
82
82
83
83
The cache folder can be safely deleted at any time and the module will download again the model the next time it is loaded.
84
84
85
+
You can have more information on the location, downloading and caching process of the internal model by activating python's `logging` module before loading NeuralCoref as follows:
86
+
87
+
```python
88
+
import logging;
89
+
logging.basicConfig(level=logging.INFO)
90
+
import neuralcoref
91
+
>>>INFO:neuralcoref:Getting model from https://s3.amazonaws.com/models.huggingface.co/neuralcoref/neuralcoref.tar.gz or cache
92
+
>>>INFO:neuralcoref.file_utils:https://s3.amazonaws.com/models.huggingface.co/neuralcoref/neuralcoref.tar.gz not found in cache, downloading to /var/folders/yx/cw8n_njx3js5jksyw_qlp8p00000gn/T/tmp_8y5_52m
>>>INFO:neuralcoref.file_utils:copying /var/folders/yx/cw8n_njx3js5jksyw_qlp8p00000gn/T/tmp_8y5_52m to cache at /Users/thomaswolf/.neuralcoref_cache/f46bc05a4bfba2ae0d11ffd41c4777683fa78ed357dc04a23c67137abf675e14.7d6f9a6fecf5cf09e74b65f85c7d6896b21decadb2554d486474f63b95ec4633
>>>INFO:neuralcoref:extracting archive file/Users/thomaswolf/.neuralcoref_cache/f46bc05a4bfba2ae0d11ffd41c4777683fa78ed357dc04a23c67137abf675e14.7d6f9a6fecf5cf09e74b65f85c7d6896b21decadb2554d486474f63b95ec4633 to dir/Users/thomaswolf/.neuralcoref_cache/neuralcoref
98
+
```
99
+
85
100
## Loading NeuralCoref
86
101
87
102
### Adding NeuralCoref to the pipe of an English SpaCy Language
0 commit comments