Skip to content
This repository was archived by the owner on Mar 9, 2023. It is now read-only.

Commit 4333aa9

Browse files
authored
Merge pull request #50 from megagonlabs/feature/require_sudachidict_core
Feature/require sudachidict core
2 parents 5000556 + 1688942 commit 4333aa9

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,25 @@ Sudachi & SudachiPy are developed in [WAP Tokushima Laboratory of AI and NLP](ht
2626

2727
SudachiPy requires Python3.5+.
2828

29-
You can install SudachiPy and SudachiDict_core packages together from PyPI.
29+
### Step 1: Install SudachiPy
30+
31+
SudachiPy is distributed from PyPI. You can install SudachiPy by executing `pip install SudachiPy` from the command line.
3032

3133
```bash
3234
$ pip install SudachiPy
3335
```
3436

35-
SudachiPy(>=v0.3.0) refers to system.dic of SudachiDict_core package by default.
37+
SudachiPy(>=v0.3.0) refers to system.dic of SudachiDict_core (not included in SudachiPy) package by default.
38+
Please proceed to Step 2 to install the dict package.
39+
40+
### Step 2: Install SudachiDict_core
41+
42+
The default dict package `SudachiDict_core` is distributed from our download site.
43+
Run `pip install` like below:
44+
45+
```bash
46+
$ pip install https://object-storage.tyo2.conoha.io/v1/nc_2520839e1f9641b08211a5c85243124a/sudachi/SudachiDict_core-20190531.tar.gz
47+
```
3648

3749
## Usage
3850

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,5 @@
1717
},
1818
install_requires=[
1919
"sortedcontainers>=2.1.0,<2.2.0",
20-
"SudachiDict_core @ https://object-storage.tyo2.conoha.io/v1/nc_2520839e1f9641b08211a5c85243124a/sudachi/SudachiDict_core-20190531.tar.gz",
2120
],
2221
)

sudachipy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
from . import tokenizer
33
from . import config
44

5-
SUDACHIPY_VERSION = '0.3.0'
5+
SUDACHIPY_VERSION = '0.3.1'

0 commit comments

Comments
 (0)