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:
32
klausur-service/backend/ocr/detect/syllable/detect.py
Normal file
32
klausur-service/backend/ocr/detect/syllable/detect.py
Normal file
@@ -0,0 +1,32 @@
|
||||
"""
|
||||
Syllable divider insertion for dictionary pages — barrel re-export.
|
||||
|
||||
All implementation split into:
|
||||
cv_syllable_core — hyphenator init, word validation, pipe autocorrect
|
||||
cv_syllable_merge — word gap merging, syllabification, divider insertion
|
||||
|
||||
Lizenz: Apache 2.0 (kommerziell nutzbar)
|
||||
DATENSCHUTZ: Alle Verarbeitung erfolgt lokal.
|
||||
"""
|
||||
|
||||
# Core: init, validation, autocorrect
|
||||
from cv_syllable_core import ( # noqa: F401
|
||||
_IPA_RE,
|
||||
_STOP_WORDS,
|
||||
_get_hyphenators,
|
||||
_get_spellchecker,
|
||||
_is_known_word,
|
||||
_is_real_word,
|
||||
_hyphenate_word,
|
||||
_autocorrect_piped_word,
|
||||
autocorrect_pipe_artifacts,
|
||||
)
|
||||
|
||||
# Merge: gap merging, syllabify, insert
|
||||
from cv_syllable_merge import ( # noqa: F401
|
||||
_try_merge_pipe_gaps,
|
||||
merge_word_gaps_in_zones,
|
||||
_try_merge_word_gaps,
|
||||
_syllabify_text,
|
||||
insert_syllable_dividers,
|
||||
)
|
||||
Reference in New Issue
Block a user