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.2.tar.gz
(5.4 kB
view details)
Built Distribution
File details
Details for the file fastpunct-1.0.2.tar.gz
.
File metadata
- Download URL: fastpunct-1.0.2.tar.gz
- Upload date:
- Size: 5.4 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 | 8d789577ff7baba5bc22fe0d1b82ce55e9c578a7d86e99a6d1fbed386f27ea4f |
|
MD5 | 18e3bee5ea5b7c731d7e9d27d119d613 |
|
BLAKE2b-256 | 9130bf77959ebc9018e0a437c75dc41b118328ad2d0d5c9dd5c15890a92c942b |
File details
Details for the file fastpunct-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: fastpunct-1.0.2-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 | 65f6ee76e52f9a365078feb7d8987af3f3f965258dcfee1b4b9debbb632e934a |
|
MD5 | e408dbadbc6289094ddb02afe2d48b93 |
|
BLAKE2b-256 | 8edd4d7c811e797d63be8b238f75d40919a84936894934ccb39a40225f17fd94 |