Japanese Sentence Breaker
日本語の文を「。」を基準に改行区切りします。
Instllation
pip install japanese-sentence-breaker
Usage
from japanese_sentence_breaker import break_line
text = "これはテストです。文の流れを考慮し、句点区切りで文章を分割します。「例えば。」このようなカッコ内のテキストは分割しません。"
out = break_line(text)
print(out)
# これはテストです。
# 文の流れを考慮し、句点区切りで文章を分割します。
# 「例えば。」このようなカッコ内のテキストは分割しません。
text = "これは「テストです。{整合性の取れないカッコは消去されます。)"
out = break_line(text)
print(out)
# これはテストです。
# 整合性の取れないカッコは消去されます。
text = "これは「テストです。{整合性のないカッコは無視されます。)改行はできません。"
out = break_line(text)
print(out)
# これは「テストです。{整合性のないカッコは無視されます。)改行はできません。
Metadata
Release files for japanese-sentence-breaker 0.1.0
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 |
|---|---|---|---|---|
| japanese-sentence-breaker-0.1.0.tar.gz | 2.0 kB | Without provenance | Details for japanese-sentence-breaker-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| japanese_sentence_breaker-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for japanese_sentence_breaker-0.1.0-py3-none-any.whl |
Total release size: 4.1 kB
Release files / japanese-sentence-breaker-0.1.0.tar.gz
| Download URL | japanese-sentence-breaker-0.1.0.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5f61218389def1355fe91e9ab4d4d8390d7c1fa6f77c8fd06538d70a42225b53
|
|
BLAKE2b-256 checksum How to use checksums |
405ac044032b18773dbd671c90cc0a73a6697f6821fba393f01a431b630d80e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.5 CPython/3.8.2 Darwin/19.6.0
|
Release files / japanese_sentence_breaker-0.1.0-py3-none-any.whl
| Download URL | japanese_sentence_breaker-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fad4d622b8fcf045a5e0fbb7f83281a479cbe644d0eebcd9470c30305af79b3b
|
|
BLAKE2b-256 checksum How to use checksums |
bf82925924ed19d725377a424c8f1ef9fcf7a471fcfe4fd3ff802f7280e0ebdb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.5 CPython/3.8.2 Darwin/19.6.0
|
Security for japanese-sentence-breaker 0.1.0
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.