text2sentences
This module can be used by tts modules or others.
It split input text to sentences according the punctuation of native language, and detects each sentence's language id, sentence in a dialog or not(include in ""), start position in the source text, and if sentence is a new paragraph.
Dependents
Installation
pip install langdetect
pip install text2sentences
Usage
see the test/test.py
Test
we only test English, Chinese
Metadata
Release files for text2sentences 0.0.8
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 |
|---|---|---|---|---|
| text2sentences-0.0.8.tar.gz | 3.5 kB | Without provenance | Details for text2sentences-0.0.8.tar.gz |
Release files / text2sentences-0.0.8.tar.gz
| Download URL | text2sentences-0.0.8.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a18b89309b12adcb829aab47d36ea20222c1509604e93fac68e97e20ee43df60
|
|
BLAKE2b-256 checksum How to use checksums |
39ae7aac871b84c96c63d48e8ab0f1e95059bb0f810a3282aa562e431867cb98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.25.0 requests-toolbelt/0.9.1 urllib3/1.26.2 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.13
|
Security for text2sentences 0.0.8
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.