Some checks failed
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-school (push) Successful in 28s
CI / test-go-edu-search (push) Successful in 28s
CI / test-python-klausur (push) Failing after 2m23s
CI / test-python-agent-core (push) Successful in 19s
CI / test-nodejs-website (push) Successful in 19s
ocr/spell/ (3): smart_spell, core, text upload/ (3): api, chunked, mobile crawler/ (3): github, github_core, github_parsers + unified_grid → grid/, tesseract_extractor → ocr/engines/, htr_api → ocr/pipeline/ 12 shims added. Only main.py, config.py, storage + RAG files remain at root. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
26 lines
632 B
Python
26 lines
632 B
Python
"""
|
|
SmartSpellChecker — barrel re-export.
|
|
|
|
All implementation split into:
|
|
smart_spell_core — init, data types, language detection, word correction
|
|
smart_spell_text — full text correction, boundary repair, context split
|
|
|
|
Lizenz: Apache 2.0 (kommerziell nutzbar)
|
|
"""
|
|
|
|
# Core: data types, lang detection (re-exported for tests)
|
|
from .core import ( # noqa: F401
|
|
_AVAILABLE,
|
|
_DIGIT_SUBS,
|
|
_SUSPICIOUS_CHARS,
|
|
_UMLAUT_MAP,
|
|
_TOKEN_RE,
|
|
_I_FOLLOWERS,
|
|
_A_FOLLOWERS,
|
|
CorrectionResult,
|
|
Lang,
|
|
)
|
|
|
|
# Text: SmartSpellChecker class (the main public API)
|
|
from .text import SmartSpellChecker # noqa: F401
|