Spoken text Punctuation Restoration
Languages
English, Korean
Model details
https://huggingface.co/whooray/koen_punctuation
Install
pip install spokentxt-punctuation-restoration
Usage
from spokentxt_punctuation_restoration import PunctuationModel
model = PunctuationModel(model_name = "whooray/koen_punctuation", device = "cpu") # device = cuda:0
model("안녕하세요")
#'안녕하세요.'
model("Hello how are you")
#'Hello, how are you?'
Metadata
Release files for spokentxt-punctuation-restoration 0.1.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 | |
|---|---|---|---|
| spokentxt_punctuation_restoration-0.1.1.tar.gz | 1.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| spokentxt_punctuation_restoration-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.2 kB
Release files / spokentxt_punctuation_restoration-0.1.1.tar.gz
| Download URL | spokentxt_punctuation_restoration-0.1.1.tar.gz |
|---|---|
| Size | 1.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3814fbb316b7e35a0cb98a7f45b2da5a3e06420da03d5112c9a020281f57840e
|
|
BLAKE2b-256 checksum How to use checksums |
b313985f2b59d285b9078fbdfe5fecb91db15a5213d6b82ccf2b56e583f31bda
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.11.9 Darwin/24.2.0
|
Release files / spokentxt_punctuation_restoration-0.1.1-py3-none-any.whl
| Download URL | spokentxt_punctuation_restoration-0.1.1-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ed5e5b26a7779e2b91618632c9d4eb855332b30f3b0d9aab6d61af1bc05267c5
|
|
BLAKE2b-256 checksum How to use checksums |
dcf31fed5aec4de7be47c19b30a88335b4a3c5c857661bf0cf3f611cdc50de93
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.11.9 Darwin/24.2.0
|