Remove IPA:DE option — no German IPA dictionary available
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 25s
CI / test-go-edu-search (push) Successful in 26s
CI / test-python-klausur (push) Failing after 1m54s
CI / test-python-agent-core (push) Successful in 15s
CI / test-nodejs-website (push) Successful in 16s
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 25s
CI / test-go-edu-search (push) Successful in 26s
CI / test-python-klausur (push) Failing after 1m54s
CI / test-python-agent-core (push) Successful in 15s
CI / test-nodejs-website (push) Successful in 16s
Our IPA system only has English dictionaries (Britfone MIT, eng_to_ipa MIT). The "IPA: nur DE" option was useless at best and misleading. Removed from dropdown, type definition, and API validation. Syllable DE mode stays — pyphen has a German hyphenation dictionary. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -22,7 +22,6 @@ interface GridToolbarProps {
|
|||||||
const IPA_LABELS: Record<IpaMode, string> = {
|
const IPA_LABELS: Record<IpaMode, string> = {
|
||||||
auto: 'IPA: Auto',
|
auto: 'IPA: Auto',
|
||||||
en: 'IPA: nur EN',
|
en: 'IPA: nur EN',
|
||||||
de: 'IPA: nur DE',
|
|
||||||
all: 'IPA: Alle',
|
all: 'IPA: Alle',
|
||||||
none: 'IPA: Aus',
|
none: 'IPA: Aus',
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ export interface GridEditorState {
|
|||||||
selectedZone: number | null
|
selectedZone: number | null
|
||||||
}
|
}
|
||||||
|
|
||||||
export type IpaMode = 'auto' | 'all' | 'de' | 'en' | 'none'
|
export type IpaMode = 'auto' | 'all' | 'en' | 'none'
|
||||||
export type SyllableMode = 'auto' | 'all' | 'de' | 'en' | 'none'
|
export type SyllableMode = 'auto' | 'all' | 'de' | 'en' | 'none'
|
||||||
|
|
||||||
export function useGridEditor(sessionId: string | null) {
|
export function useGridEditor(sessionId: string | null) {
|
||||||
|
|||||||
@@ -1593,7 +1593,7 @@ async def _build_grid_core(
|
|||||||
@router.post("/sessions/{session_id}/build-grid")
|
@router.post("/sessions/{session_id}/build-grid")
|
||||||
async def build_grid(
|
async def build_grid(
|
||||||
session_id: str,
|
session_id: str,
|
||||||
ipa_mode: str = Query("auto", pattern="^(auto|all|de|en|none)$"),
|
ipa_mode: str = Query("auto", pattern="^(auto|all|en|none)$"),
|
||||||
syllable_mode: str = Query("auto", pattern="^(auto|all|de|en|none)$"),
|
syllable_mode: str = Query("auto", pattern="^(auto|all|de|en|none)$"),
|
||||||
):
|
):
|
||||||
"""Build a structured, zone-aware grid from existing Kombi word results.
|
"""Build a structured, zone-aware grid from existing Kombi word results.
|
||||||
|
|||||||
Reference in New Issue
Block a user