This release is a pre-release and may not be stable for production use.
kodoc-tokenizer
- Tokenizer for kodoc
- Based on
transformers==4.7.0
Installation
pip3 install kodoc-tokenizer
How to Use
Version
import kodoc_tokenizer
kodoc_tokenizer.__version__ # 0.2.0rc1
clean_text
from kodoc_tokenizer import clean_text
text = "Today a::: : \t\t \x00I \x00a 朝 三暮四 [MASK] m \na fool \n\nbecause I am a fool. \n [SEP][CLS] "
assert clean_text(text) == "Today a::: : I a 朝 三暮四 [MASK] m a fool because I am a fool. [SEP][CLS]"
Basic Function
from kodoc_tokenizer import get_kodoc_tokenizer
tokenizer = get_kodoc_tokenizer()
tokens = tokenizer.tokenize("다이어트마침표_1부 2013.7.25 02:24 PM 페이지1 제1부 다이어트 핵심 바이블 A`2`Z 다이어트에 실패하는 원인 중 하나는 잘못된 상식도 크게 한몫을 한다.")
Metadata
Release files for kodoc-tokenizer 0.2.0rc1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kodoc-tokenizer-0.2.0rc1.tar.gz | 90.4 kB | Without provenance | Details for kodoc-tokenizer-0.2.0rc1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kodoc_tokenizer-0.2.0rc1-py3-none-any.whl | Python 3 | none | any | Details for kodoc_tokenizer-0.2.0rc1-py3-none-any.whl |
Total release size: 182.7 kB
Release files / kodoc-tokenizer-0.2.0rc1.tar.gz
| Download URL | kodoc-tokenizer-0.2.0rc1.tar.gz |
|---|---|
| Size | 90.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8eb8bf2ff82e40618c72644d03260eb25b1734cce947b020bad47c16a1f55c2
|
|
BLAKE2b-256 checksum How to use checksums |
27991fff4397ea3249b1511d058b6a9f85999b08501ade46e8755ebe13a40080
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
|
Release files / kodoc_tokenizer-0.2.0rc1-py3-none-any.whl
| Download URL | kodoc_tokenizer-0.2.0rc1-py3-none-any.whl |
|---|---|
| Size | 92.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
db32603bc9be2632979c88489c1caeda5496800a423c60619532388fc5a53377
|
|
BLAKE2b-256 checksum How to use checksums |
908358bfc873767f665b481069c775f2785e79c435805c6edfcada8e3f48f780
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
|
Security for kodoc-tokenizer 0.2.0rc1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.