Punctuation restoration and spell correction.
Project description
fastPunct : Fast and accurate punctuation restoration with sequence to sequence networks.
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.']
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fastpunct-2.0.1.tar.gz
(4.0 kB
view details)
Built Distribution
File details
Details for the file fastpunct-2.0.1.tar.gz
.
File metadata
- Download URL: fastpunct-2.0.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9596daf7f9d46c7eaedabcdd8c685c3cbaaa5aa521f6e3d651a42aef894c29e |
|
MD5 | 7d67c1c657cf7125a780f33989a3a9eb |
|
BLAKE2b-256 | e98f26edb9ac98e4e861cc69585071cf093f0985aaecbe354b4ed9d7ad37da79 |
File details
Details for the file fastpunct-2.0.1-py3-none-any.whl
.
File metadata
- Download URL: fastpunct-2.0.1-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb0a06db10d9c9ca772c1ab9b764f89c11d42f9e9df1ccc2ec374877d7408390 |
|
MD5 | d8d6632db8c6e6952d23b4931553f7cd |
|
BLAKE2b-256 | bc72fe25d9422e3860724584d67f53ce7a6016cb5ba5bd241fbd8decb191b4d2 |