Punctuation restoration with sequence to sequence networks
Project description
fastPunct : Fast and accurate punctuation restoration with sequence to sequence networks.
Installation:
pip install --upgrade fastpunct
Supported languages:
en - english
Usage:
from fastpunct import FastPunct
# The default language is 'en'
fastpunct = FastPunct('en')
fastpunct.punct(["oh i thought you were here", "in theory everyone knows what a comma is", "hey how are you doing", "my name is sheela i am in love with hrithik"], batch_size=32)
# ['Oh! I thought you were here.', 'In theory, everyone knows what a comma is.', 'Hey! How are you doing?', 'My name is Sheela. I am in love with Hrithik.']
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-1.0.0.tar.gz
(5.3 kB
view details)
Built Distribution
File details
Details for the file fastpunct-1.0.0.tar.gz
.
File metadata
- Download URL: fastpunct-1.0.0.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4adcb864698b1ac8b97dc4ffb989d2d7173bfdd9c7ca25b240557c4ba32061a3 |
|
MD5 | 1c498d6728a4ec1245594a3855f6ee83 |
|
BLAKE2b-256 | 5ace7cae8e92abe959ea9c3ce71f6c7186121b8ca131cf26c60de98910854568 |
File details
Details for the file fastpunct-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: fastpunct-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d0e869abdae972b37239008ddd6d1ebfb9233bad1e5a0e43d27cd85b977f448 |
|
MD5 | c4414d290e046ee35692856f7defec39 |
|
BLAKE2b-256 | 240aa142bd127dde344bf714bc6387ef0e06dfeae9516eb2d2843b961bb41e5f |