diff --git a/README.md b/README.md index 47de5a3..db136bc 100644 --- a/README.md +++ b/README.md @@ -30,10 +30,18 @@ pip install kairyou You must also install the jp_core_news_lg model from spaCy. This can be done by running the following command: +for windows: + ```bash python -m spacy download ja_core_news_lg ``` +for linux: + +```bash +python3 -m spacy download ja_core_news_lg +``` + Then, you can preprocess Japanese text by importing Kairyou and/or KatakanaUtil/Indexer: ```python from kairyou import Kairyou, KatakanaUtil, Indexer