Skip to main content

Sudachi C Imitator

This package imitates Japanese morphological analysis of Sudachi SplitMode.C 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_c_imitator

Usage Examples

>>> import sudachi_c_imitator
>>> tagger = sudachi_c_imitator.Tagger()
>>> sample_text = '使い方のサンプルです。'
>>> tagger.parse(sample_text)
[('使い方', '名詞'), ('の', '助詞'), ('サンプル', '名詞'), ('です', '助動詞'), ('。', '補助記号')]

Input string length must be 256 or less.

Release files for sudachi-c-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)

Source distribution for sudachi-c-imitator 0.2.1
File Size Uploaded
sudachi_c_imitator-0.2.1.tar.gz 3.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for sudachi-c-imitator 0.2.1
File Interpreter ABI Platform
sudachi_c_imitator-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.1 MB

Release files / sudachi_c_imitator-0.2.1.tar.gz

Download URL sudachi_c_imitator-0.2.1.tar.gz
Size 3.1 MB
Tags Source
SHA-256 checksum
How to use checksums
5dfd6d536369ef8610c85ff15e4453228bfc5c4fe168fb2fbc4772125ca111b7
BLAKE2b-256 checksum
How to use checksums
8eda0f2c4edbe3f09119d5a94e47866aa73daf4d64dfa74251fc81aa5b07c042
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release files / sudachi_c_imitator-0.2.1-py3-none-any.whl

Download URL sudachi_c_imitator-0.2.1-py3-none-any.whl
Size 3.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
f31d93c12cb023f358a81645f2e5de6c550b3ce66f5ad434bc6f4a82182849eb
BLAKE2b-256 checksum
How to use checksums
fb7e7db002d2e5c8e5c6cf7fce04b5182822e64a6595a482db8da70248f0f03a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page