mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
Expand Japanese requirements warning (#5572)
Include explicit install instructions in Japanese requirements warning.
This commit is contained in:
parent
44967a3f9c
commit
4724fa4cf4
|
@ -46,7 +46,10 @@ def try_sudachi_import(split_mode="A"):
|
|||
return tok
|
||||
except 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
Block a user