Fix: Sidebar scrollable + add Eltern-Portal nav link
overflow-hidden → overflow-y-auto so all nav items are reachable. Added /parent (Eltern-Portal) link with people icon. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
35
klausur-service/backend/ocr/gutter/repair.py
Normal file
35
klausur-service/backend/ocr/gutter/repair.py
Normal file
@@ -0,0 +1,35 @@
|
||||
"""
|
||||
Gutter Repair — barrel re-export.
|
||||
|
||||
All implementation split into:
|
||||
cv_gutter_repair_core — spellchecker setup, data types, single-word repair
|
||||
cv_gutter_repair_grid — grid analysis, suggestion application
|
||||
|
||||
Lizenz: Apache 2.0 (kommerziell nutzbar)
|
||||
DATENSCHUTZ: Alle Verarbeitung erfolgt lokal.
|
||||
"""
|
||||
|
||||
# Core: spellchecker, data types, repair helpers
|
||||
from cv_gutter_repair_core import ( # noqa: F401
|
||||
_init_spellcheckers,
|
||||
_is_known,
|
||||
_spell_candidates,
|
||||
_MIN_WORD_LEN_SPELL,
|
||||
_MIN_WORD_LEN_HYPHEN,
|
||||
_GUTTER_EDGE_THRESHOLD,
|
||||
_STOPWORDS,
|
||||
_IPA_RE,
|
||||
_is_ipa_text,
|
||||
_word_is_at_gutter_edge,
|
||||
GutterSuggestion,
|
||||
_TRAILING_PUNCT_RE,
|
||||
_try_hyphen_join,
|
||||
_try_spell_fix,
|
||||
_edit_distance,
|
||||
)
|
||||
|
||||
# Grid: analysis and application
|
||||
from cv_gutter_repair_grid import ( # noqa: F401
|
||||
analyse_grid_for_gutter_repair,
|
||||
apply_gutter_suggestions,
|
||||
)
|
||||
Reference in New Issue
Block a user