mirror of https://github.com/explosion/spaCy.git
Expand Japanese requirements warning (#5572)
Include explicit install instructions in Japanese requirements warning.
This commit is contained in:
parent
fe167fcf7d
commit
556895177e
|
@ -46,7 +46,10 @@ def try_sudachi_import(split_mode="A"):
|
||||||
return tok
|
return tok
|
||||||
except ImportError:
|
except ImportError:
|
||||||
raise ImportError(
|
raise ImportError(
|
||||||
"Japanese support requires SudachiPy: " "https://github.com/WorksApplications/SudachiPy"
|
"Japanese support requires SudachiPy and SudachiDict-core "
|
||||||
|
"(https://github.com/WorksApplications/SudachiPy). "
|
||||||
|
"Install with `pip install sudachipy sudachidict_core` or "
|
||||||
|
"install spaCy with `pip install spacy[ja]`."
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue