Skip to main content

Punctuation restoration with sequence to sequence networks

Project description

fastPunct : Fast and accurate punctuation restoration with sequence to sequence networks.

Downloads

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.']

Note:

maximum length of input currently supported - 400

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.3.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

fastpunct-1.0.3-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file fastpunct-1.0.3.tar.gz.

File metadata

  • Download URL: fastpunct-1.0.3.tar.gz
  • Upload date:
  • Size: 5.4 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

Hashes for fastpunct-1.0.3.tar.gz
Algorithm Hash digest
SHA256 bf56f2ef60454b415b2bd1ae192c89eff24ffbc7068c4c81d56cb73b035c1c23
MD5 17d347dc75df069c65c7be8b6f3b1108
BLAKE2b-256 ca32320111364c86ce4035243307dda809c5aa433b6ca3bba2b2e2e2a30b4813

See more details on using hashes here.

File details

Details for the file fastpunct-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: fastpunct-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.3 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

Hashes for fastpunct-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cac8c69280cedba10208037ada72fc21d465d74327fdec3635f12724fbfe5937
MD5 07c8c88624f085bcfa4f80f4f8730d98
BLAKE2b-256 646c0905644fa0e21deabb061a366b27af5f73c5d960a951a118e270b8288ffc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page