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.1.tar.gz
(5.4 kB
view hashes)
Built Distribution
Close
Hashes for fastpunct-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82005c7be250d41ea0957bd4ccb7c25eb368590091c896d003a8bb5626368d65 |
|
MD5 | af5ba404d959b603daf4299a9a09b006 |
|
BLAKE2b-256 | bbea62b787ce0386f61a11fcf61baa268c56610be576d7d51ef0786e9a2ae52b |