Installation Issues
Issue: Cython compilation fails
Symptoms:Issue: OpenMP not found on macOS
Symptoms:Issue: pip install hangs
Symptoms: Installation appears to freeze during Cython compilation. Cause: Compiling large Cython files takes time, especially on slower systems. Solution:- Wait longer (up to 10 minutes on slow systems)
- Check CPU usage to confirm compilation is active
- Try installing with verbose output:
Issue: Module not found after installation
Symptoms:Database Issues
Issue: Database not found
Symptoms:-
Build the database:
-
Specify correct path:
Issue: Database locked
Symptoms:- Use different database instances for each process
- Use Memory provider for multi-process scenarios:
- Increase SQLite timeout:
Issue: Database corrupted
Symptoms:Performance Issues
Issue: Spell checking is slow
Symptoms: Checking takes >1 second for short text. Cause: Various factors affecting performance. Solutions:-
Check Cython compilation:
-
Use faster validation level (per-check):
-
Disable context checking:
-
Use batch processing:
-
Warm up the checker:
Issue: High memory usage
Symptoms: Application uses excessive RAM. Cause: Memory provider or large models loaded. Solutions:-
Use SQLite provider (default):
-
Disable semantic checking:
-
Use lighter POS tagger:
Issue: Batch processing crashes
Symptoms:Validation Issues
Issue: Valid word marked as error
Symptoms: Known correct words flagged as unknown. Cause: Word not in dictionary. Solutions:-
Check if word is in dictionary:
- Add to custom dictionary: Rebuild with expanded corpus
-
Lower phonetic suggestion threshold:
Issue: Errors not detected
Symptoms: Misspelled words pass validation. Cause: Validation level too low or real-word error. Solutions:-
Enable context checking:
-
Enable rule-based validation:
Issue: Wrong suggestions
Symptoms: Suggestions are irrelevant or incorrect. Cause: Edit distance too high or corpus mismatch. Solutions:-
Reduce max edit distance:
-
Increase suggestion count:
- 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:-
Lower detection threshold:
-
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:-
Install ONNX runtime:
-
Check model file exists:
-
Disable semantic checking:
Issue: Transformer model OOM
Symptoms:-
Use CPU instead:
-
Use smaller model or Viterbi tagger:
CLI Issues
Issue: Command not found
Symptoms:-
Check installation:
-
Use the CLI entry point directly:
Alternatively, use
python -m myspellcheckerwhich is also supported. -
Add scripts to PATH:
Issue: Build command fails
Symptoms:-
Use absolute path:
- Check file format: Ensure UTF-8 encoding with Myanmar text
-
Verify permissions:
Getting More Help
If your issue isn’t covered here:-
Enable debug logging:
- Check GitHub Issues: Search existing issues for similar problems
-
Open a new issue with:
- Python version
- mySpellChecker version
- Full error traceback
- Minimal reproduction code
- Expected vs actual behavior
See Also
- FAQ - Frequently asked questions
- Error Codes - Error code reference
- Configuration - Configuration options