bospell-0.0.4
توضیحات
Spell checking toolkit for Tibetan (boyig)
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | bospell-0.0.4 |
| نام | bospell |
| نسخه کتابخانه | 0.0.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Esukhia developers |
| ایمیل نویسنده | 10zin@esukhia.org |
| آدرس صفحه اصلی | https://github.com/Esukhia/bospell |
| آدرس اینترنتی | https://pypi.org/project/bospell/ |
| مجوز | MIT |
# Bospell
[](https://badge.fury.io/py/bospell)
[](https://github.com/Esukhia/bospell/actions/workflows/test.yml)
[](https://github.com/Esukhia/bospell/actions/workflows/test-coverage.yml)
[](https://github.com/Esukhia/bospell/actions/workflows/deloy.yml)
[](https://github.com/psf/black)
Spell checking toolkit for Tibetan (Boyig)
## Installation
The easiest method to install is using pip:
```bash
pip install bospell
```
To install from source:
```bash
git clone https://github.com/Esukhia/bospell.git
cd bospell
python setup.py install
```
## Quickstart
After installation, using `bospell` should be fairly straight forward:
```python
>>> from bospell import Text
>>> text = Text("བོད་པའི་བུ་བཀྲ་ཤིད་")
>>> text.corrected
'བོད་པའི་བུ་བཀྲ་ཤིས'
>>> text.suggestions
{3: Suggestions(candidates=['བཀྲ་ཤིས', 'བཀྲ་ཤིས་པ', 'བཀྲ་ཤིས་མ'], span=Span(start=11, end=19))}
```
## Development
```bash
git clone https://github.com/Esukhia/bospell.git
cd bospell
pip install -r requirements.txt
pre-commit install
pip install -e .
```
## Testing
```
pytest tests
```
نیازمندی
| مقدار | نام |
|---|---|
| <1.0,>=0.8.6 | botok |
| <7.0,>=6.7.0 | symspellpy |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl bospell-0.0.4:
pip install bospell-0.0.4.whl
نصب پکیج tar.gz bospell-0.0.4:
pip install bospell-0.0.4.tar.gz