Skip to main content

Detect spelling errors in images and plain text using OpenAI Vision

This project has been quarantined.

PyPI Admins need to review this project before it can be restored. While in quarantine, the project is not installable by clients, and cannot be being modified by its maintainers.

Read more in the project in quarantine help article.

Project description

ai_spellchecker

Detect spelling errors in images and plain text using OpenAI Vision.

Usage

from ai_spellcheckers import SpellChecker

spellchecker = SpellChecker()

api_key = "YOUR_OPENAI_API_KEY"  # Replace with your OpenAI API key

text = "I am a student."
print(spellchecker.check_text(text, api_key))  # True = reject (spelling error). False = accept.

image_path = "test.png"  # file path to an image or image bytes
print(spellchecker.check_image(image_path, api_key))  # True = reject (spelling error). False = accept.

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

ai_spellcheckers-1.0.0.tar.gz (7.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_spellcheckers-1.0.0-py3-none-any.whl (7.0 MB view details)

Uploaded Python 3

File details

Details for the file ai_spellcheckers-1.0.0.tar.gz.

File metadata

  • Download URL: ai_spellcheckers-1.0.0.tar.gz
  • Upload date:
  • Size: 7.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for ai_spellcheckers-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a5e224aea683cf65b7666001cac5070a58aa706b81a7c912bcdc24738a95aaa9
MD5 c89035cb3cbdb644a24cdd433ba7bb7d
BLAKE2b-256 ac1105679fc6a2dec9aeb21e98899adba7e99aaa053dcbd6f271ae1e6b3d5917

See more details on using hashes here.

File details

Details for the file ai_spellcheckers-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ai_spellcheckers-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5453eadbb192a4552f56985e8a77e29f3dca7fa750b62de81122d1c3404c3e8c
MD5 9390734b4c6483fcb5ede24e05020eed
BLAKE2b-256 a66f5566cb4dc9da6de81519478dcd000100798dbdf115b488af95a7f0c35f58

See more details on using hashes here.

Supported by

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