Overview

The Spell Check API provides intelligent detection and correction of spelling errors in text content. Designed to be both accurate and context-aware, this API can improve content quality for various text-based applications without requiring complex NLP knowledge or infrastructure. Key Benefits:
  • High-accuracy spelling error detection and correction
  • Context-aware corrections that understand meaning
  • Support for multiple languages
  • Flexible output options with correction suggestions
  • Real-time error detection for interactive applications

API Endpoint

POST /v1/validate/spell_check

Quick Start

import { JigsawStack } from "jigsawstack";

const jigsaw = JigsawStack({ apiKey: "your-api-key" });

const response = await jigsaw.validate.spellcheck({
  "text": "This sentense has a speling mistake."
})

Response Example

{
  "success": true,
  "misspellings_found": true,
  "misspellings": [
        {
              "word": "sentense",
              "startIndex": 5,
              "endIndex": 13,
              "expected": [
                    "sentence"
              ],
              "auto_corrected": true
        },
        {
              "word": "speling",
              "startIndex": 20,
              "endIndex": 27,
              "expected": [
                    "spelling",
                    "spewing",
                    "spieling"
              ],
              "auto_corrected": true
        }
  ],
  "auto_correct_text": "This sentence has a spelling mistake.",
  "_usage": {
        "input_tokens": 13,
        "output_tokens": 83,
        "inference_time_tokens": 1317,
        "total_tokens": 1413
  }
}

Use Cases

Content Quality Assurance

Automatically check spelling in articles, blogs, and other written content.

Educational Tools

Create learning applications that help students improve their spelling.

Form Validation

Enhance user experience by detecting spelling errors before form submission.

FAQ

How does the spell checker handle proper nouns?

The spell checker is designed to recognize common proper nouns like names, brands, and places. However, very new, uncommon, or industry-specific proper nouns might be flagged as misspellings. If your content contains many specialized terms, consider building a custom dictionary for your specific use case.

Does the spell checker recognize technical terminology?

The spell checker includes common terminology from various fields including technology, medicine, law, and science. For highly specialized content, it’s recommended to review corrections rather than applying them automatically.

Can I use the spell checker for languages other than English?

Yes, the spell checker supports multiple languages including Spanish, French, German, Italian, and Portuguese. Make sure to specify the correct language_code parameter for the language of your text to get accurate results.
Find more information on Spell Check API here