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 hashes)
Built Distribution
Close
Hashes for fastpunct-2.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb0a06db10d9c9ca772c1ab9b764f89c11d42f9e9df1ccc2ec374877d7408390 |
|
MD5 | d8d6632db8c6e6952d23b4931553f7cd |
|
BLAKE2b-256 | bc72fe25d9422e3860724584d67f53ce7a6016cb5ba5bd241fbd8decb191b4d2 |