Skip to main content

Bospell

PyPI version Test Test Coverage Publish Code style: black

Spell checking toolkit for Tibetan (Boyig)

Installation

The easiest method to install is using pip:

pip install bospell

To install from source:

git clone https://github.com/Esukhia/bospell.git
cd bospell
python setup.py install

Quickstart

After installation, using bospell should be fairly straight forward:

>>> from bospell import Text
>>> text = Text("བོད་པའི་བུ་བཀྲ་ཤིད་")
>>> text.corrected
'བོད་པའི་བུ་བཀྲ་ཤིས'
>>> text.suggestions
{3: Suggestions(candidates=['བཀྲ་ཤིས', 'བཀྲ་ཤིས་པ', 'བཀྲ་ཤིས་མ'], span=Span(start=11, end=19))}

Development

git clone https://github.com/Esukhia/bospell.git
cd bospell
pip install -r requirements.txt
pre-commit install
pip install -e .

Testing

pytest tests

Metadata

Release files for bospell 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bospell 0.0.4
File Size Uploaded
bospell-0.0.4.tar.gz 171.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bospell 0.0.4
File Interpreter ABI Platform
bospell-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 344.6 kB

Release files / bospell-0.0.4.tar.gz

Download URL bospell-0.0.4.tar.gz
Size 171.0 kB
Tags Source
SHA-256 checksum
How to use checksums
60e7d978b68c579c92f4c34bc7ae9db3ffa2a43e9de791c9982c1bcbee562b8f
BLAKE2b-256 checksum
How to use checksums
66e3611cbd940fe1e3568657684a87ec15e0a78dac9763f5d222fecd6be15f36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.10

Release files / bospell-0.0.4-py3-none-any.whl

Download URL bospell-0.0.4-py3-none-any.whl
Size 173.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5cae1ac6f817e8c04142d4bac0ca71737565864793a06c33ba79045be29e00b1
BLAKE2b-256 checksum
How to use checksums
96648d2c5e56f6fbb24a74c41ecc3aa534d544d4bbd662cb0b79af42cadecd2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.10

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page