Skip to main content
Organized by category. Find your issue below and follow the solution. If your problem isn’t covered, see Getting More Help at the bottom.

Installation Issues

Issue: Cython compilation fails

Symptoms:
or
Cause: Missing C++ compiler for Cython extensions. Solution: Windows:
macOS:
Linux:
Alternative: Install without Cython (slower but works):

Issue: OpenMP not found on macOS

Symptoms:
Cause: macOS clang doesn’t include OpenMP by default. Solution:
Or install without OpenMP (parallel processing disabled):

Issue: pip install hangs

Symptoms: Installation appears to freeze during Cython compilation. Cause: Compiling large Cython files takes time, especially on slower systems. Solution:
  1. Wait longer (up to 10 minutes on slow systems)
  2. Check CPU usage to confirm compilation is active
  3. Try installing with verbose output:

Issue: Module not found after installation

Symptoms:
Cause: Wrong Python environment or failed installation. Solution:

Database Issues

Issue: Database not found

Symptoms:
Cause: Default database doesn’t exist or path is wrong. Solution:
  1. Build the database:
  2. Specify correct path:

Issue: Database locked

Symptoms:
Cause: Multiple processes accessing the same SQLite database. Solution:
  1. Use different database instances for each process
  2. Use Memory provider for multi-process scenarios:
  3. Increase SQLite timeout:

Issue: Database corrupted

Symptoms:
Cause: Interrupted write operation or disk error. Solution:

Performance Issues

Issue: Spell checking is slow

Symptoms: Checking takes >1 second for short text. Cause: Various factors affecting performance. Solutions:
  1. Check Cython compilation:
  2. Use faster validation level (per-check):
  3. Disable context checking:
  4. Use batch processing:
  5. Warm up the checker:

Issue: High memory usage

Symptoms: Application uses excessive RAM. Cause: Memory provider or large models loaded. Solutions:
  1. Use SQLite provider (default):
  2. Disable semantic checking:
  3. Use lighter POS tagger:

Issue: Batch processing crashes

Symptoms:
Cause: Trying to process too many texts at once. Solution:

Validation Issues

Issue: Valid word marked as error

Symptoms: Known correct words flagged as unknown. Cause: Word not in dictionary. Solutions:
  1. Check if word is in dictionary:
  2. Add to custom dictionary: Rebuild with expanded corpus
  3. Lower phonetic suggestion threshold:

Issue: Errors not detected

Symptoms: Misspelled words pass validation. Cause: Validation level too low or real-word error. Solutions:
  1. Enable context checking:
  2. Enable rule-based validation:

Issue: Wrong suggestions

Symptoms: Suggestions are irrelevant or incorrect. Cause: Edit distance too high or corpus mismatch. Solutions:
  1. Reduce max edit distance:
  2. Increase suggestion count:
  3. Build domain-specific dictionary: Use corpus matching your content type

Encoding Issues

Issue: Zawgyi text not detected

Symptoms: Zawgyi text processed as Unicode (garbled output). Cause: Detection confidence too low. Solutions:
  1. Lower detection threshold:
  2. Force Zawgyi conversion:

Issue: Unicode normalization problems

Symptoms: Same-looking text gives different results. Cause: Non-normalized Unicode text. Solution:

Issue: Mixed encoding in text

Symptoms: Partial garbled output. Cause: Text contains both Unicode and Zawgyi. Solution:

Model Issues

Issue: Semantic model fails to load

Symptoms:
Cause: Missing ONNX runtime or model file. Solutions:
  1. Install ONNX runtime:
  2. Check model file exists:
  3. Disable semantic checking:

Issue: Transformer model OOM

Symptoms:
Cause: GPU memory insufficient for transformer model. Solutions:
  1. Use CPU instead:
  2. Use smaller model or Viterbi tagger:

CLI Issues

Issue: Command not found

Symptoms:
Cause: CLI not in PATH. Solutions:
  1. Check installation:
  2. Use the CLI entry point directly:
    Alternatively, use python -m myspellchecker which is also supported.
  3. Add scripts to PATH:

Issue: Build command fails

Symptoms:
Cause: Incorrect file path or format. Solutions:
  1. Use absolute path:
  2. Check file format: Ensure UTF-8 encoding with Myanmar text
  3. Verify permissions:

Getting More Help

If your issue isn’t covered here:
  1. Enable debug logging:
  2. Check GitHub Issues: Search existing issues for similar problems
  3. Open a new issue with:
    • Python version
    • mySpellChecker version
    • Full error traceback
    • Minimal reproduction code
    • Expected vs actual behavior

See Also