Sudachi B Imitator
This package imitates Japanese morphological analysis of Sudachi SplitMode.B and SudachiDict-full with a small onnx model.
You can add tokenization and part-of-speech estimation to your environment
with only 4MB additoinal disk space if you already have onnxruntime in your environment.
Installation
$ pip install sudachi_b_imitator
Usage Examples
>>> import sudachi_b_imitator
>>> tagger = sudachi_b_imitator.Tagger()
>>> sample_text = '使い方のサンプルです。'
>>> tagger.parse(sample_text)
[('使い方', '名詞'), ('の', '助詞'), ('サンプル', '名詞'), ('です', '助動詞'), ('。', '補助記号')]
Input string length must be 256 or less.
Release files for sudachi-b-imitator 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sudachi_b_imitator-0.2.1.tar.gz | 3.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sudachi_b_imitator-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.1 MB
Release files / sudachi_b_imitator-0.2.1.tar.gz
| Download URL | sudachi_b_imitator-0.2.1.tar.gz |
|---|---|
| Size | 3.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e1a2efff7f50e7ec432d714d41db7de1058e2a64e9d3239f337c1a15a3258dc0
|
|
BLAKE2b-256 checksum How to use checksums |
5acb0345207ae24e6594d1bfbfa0dc6c7514cf722b10ee8ac68cac8067e7976b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Release files / sudachi_b_imitator-0.2.1-py3-none-any.whl
| Download URL | sudachi_b_imitator-0.2.1-py3-none-any.whl |
|---|---|
| Size | 3.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4da954edc4150f1a791752de5829ddbbe76e411ff56dd8b62bc910359063e468
|
|
BLAKE2b-256 checksum How to use checksums |
b702550e97f84084bbb790087c193fdbbeb88d0184cb79fabb37c9f204223f67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|