fastPunct : Punctuation restoration and spell correction experiments.
Installation:
pip install --upgrade fastpunct
Supported languages:
english
Usage:
from fastpunct import FastPunct
# The default language is 'english'
fastpunct = FastPunct()
fastpunct.punct([
"john smiths dog is creating a ruccus",
"ys jagan is the chief minister of andhra pradesh",
"we visted new york last year in may"
])
# ["John Smith's dog is creating a ruccus.",
# 'Ys Jagan is the chief minister of Andhra Pradesh.',
# 'We visted New York last year in May.']
# punctuation correction with optional spell correction (experimental)
fastpunct.punct([], correct=True)
fastpunct.punct([
'johns son peter is marring estella in jun',
'kamal hassan is a gud actr'], correct=True)
# ["John's son Peter is marrying Estella in June.",
# 'Kamal Hassan is a good actor.']
Release files for fastpunct 2.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fastpunct-2.0.2.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fastpunct-2.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.1 kB
Release files / fastpunct-2.0.2.tar.gz
| Download URL | fastpunct-2.0.2.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6f6f62a86178ba27b7772438da62ccec7353a4488dd9dcb257658bb71b86547
|
|
BLAKE2b-256 checksum How to use checksums |
cc35c1446ddd743d68a875533dc55392d8e019e5da01d8e7a72398956bea6a79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1
|
Release files / fastpunct-2.0.2-py3-none-any.whl
| Download URL | fastpunct-2.0.2-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
82ad315d4a22db659bfb40c37dc19cd49d1fc0c92075e8c068db090512e62fec
|
|
BLAKE2b-256 checksum How to use checksums |
b4ae5798ad5a01eb700e38622d234a3f2f6f33ebdee129cc19b2484a95a78ede
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1
|