fastpunct-2.0.2
توضیحات
Punctuation restoration and spell correction.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | fastpunct-2.0.2 |
| نام | fastpunct |
| نسخه کتابخانه | 2.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Hari Krishna Sai Kodali |
| ایمیل نویسنده | kodalihari.619@gmail.com |
| آدرس صفحه اصلی | https://github.com/notAI-tech/fastPunct |
| آدرس اینترنتی | https://pypi.org/project/fastpunct/ |
| مجوز | MIT |
# fastPunct : Punctuation restoration and spell correction experiments.
[](https://pepy.tech/project/fastpunct)
# Installation:
```bash
pip install --upgrade fastpunct
```
# Supported languages:
english
# Usage:
```python
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.']
# punctuation correction with optional spell correction (experimental)
fastpunct.punct([], correct=True)
fastpunct.punct([
'johns son peter is marring estella in jun',
'kamal hassan is a gud actr'], correct=True)
# ["John's son Peter is marrying Estella in June.",
# 'Kamal Hassan is a good actor.']
```
نیازمندی
| مقدار | نام |
|---|---|
| >=4.0.0rc1 | transformers |
| >=1.0.9 | pydload |
| >=1.5.0 | torch |
| - | sentencepiece |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6.0 | Python |
نحوه نصب
نصب پکیج whl fastpunct-2.0.2:
pip install fastpunct-2.0.2.whl
نصب پکیج tar.gz fastpunct-2.0.2:
pip install fastpunct-2.0.2.tar.gz