mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-12 01:02:23 +03:00
Add a note about Jupyter notebooks
This commit is contained in:
parent
ba50e00c4d
commit
b99d2236ed
|
@ -230,8 +230,9 @@ class Errors(metaclass=ErrorsWithCodes):
|
||||||
"If you're using a custom component, make sure you've added the "
|
"If you're using a custom component, make sure you've added the "
|
||||||
"decorator `@Language.component` (for function components) or "
|
"decorator `@Language.component` (for function components) or "
|
||||||
"`@Language.factory` (for class components). If you installed the model "
|
"`@Language.factory` (for class components). If you installed the model "
|
||||||
"during the current Python session, you'll need to restart Python to "
|
"during the current Python/Jupyter session, you'll need to restart Python (or "
|
||||||
"correctly load the dependencies.\n\nAvailable factories: {opts}")
|
"reload your Jupyter notebook) to correctly load the dependencies.\n\n"
|
||||||
|
"Available factories: {opts}")
|
||||||
E003 = ("Not a valid pipeline component. Expected callable, but "
|
E003 = ("Not a valid pipeline component. Expected callable, but "
|
||||||
"got {component} (name: '{name}'). If you're using a custom "
|
"got {component} (name: '{name}'). If you're using a custom "
|
||||||
"component factory, double-check that it correctly returns your "
|
"component factory, double-check that it correctly returns your "
|
||||||
|
|
Loading…
Reference in New Issue
Block a user